Param file for Pig in Hue pig editor, how to set up?

10 views
Skip to first unread message

DiPa

unread,
Jul 17, 2017, 5:20:20 PM7/17/17
to Hue-Users

What should I put in pig editor in properties section to use file with my pig parameters?

there is a hint:

  • input /user/data

  • -param input=/user/data

  • -optimizer_off SplitFilter

  • -verbose

But how to use it for param file - not clear.

I tried to set in Pig parameters in :

Name field: -param_file Value field: /user/test/pig_parameters.param

Getting error:

[main] ERROR org.apache.pig.Main  - ERROR 2997: Encountered IOException. File /user/test/pig_parameters.param does not exist

what is the right syntax ? may be the path should be defined other way? Seems hue substitute -param key word during execution.

Reply all
Reply to author
Forward
0 new messages