Home Forums HDP 2.1 Technical Preview Specifying parameters in pig editor using HUE

This topic contains 2 replies, has 2 voices, and was last updated by  Drew Nelson 3 months, 3 weeks ago.

  • Creator
    Topic
  • #53190

    Jack Price
    Participant

    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)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #54155

    Drew Nelson
    Participant

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

    Collapse
    #53191

    Jack Price
    Participant

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

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