Specifying parameters in pig editor using HUE

This topic contains 2 replies, has 2 voices, and was last updated by  Drew Nelson 10 months, 1 week ago.

  • Creator
  • #53190

    Jack Price

    I am trying to specify a parameter $INPUT for a pig script in hue’s pig editor. I am not sure how to do that.

    My script has this line:
    inputf = load ‘$INPUT';

    Below the pig script section there is a box for ‘pig arguments’. I entered
    -p Input=/user/hue/

    When I execute the script , it errors out with the error ‘ Undefined parameter : INPUT’.

    How or where do we specify the parameter in hue’s pig editor.

    Thanks for your help in advance.

Viewing 2 replies - 1 through 2 (of 2 total)

The forum ‘HDP 2.1 Technical Preview’ is closed to new topics and replies.

  • Author
  • #54155

    Drew Nelson

    You’ve probably already tried this, but have you fiddled with the capitalization of the parameter?


    Jack Price

    A correction.. the argument entered is -p input=/user/hue/teams.txt

Viewing 2 replies - 1 through 2 (of 2 total)
Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.