Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Pig help in grunt shell or command-line user interface(CLI)

Pig help in grunt shell or command-line user interface(CLI)

New Contributor

When using grunt shell or command-line user interface(CLI), is there any way to have helps about PIG commands?

For example something similar to Ambari sandbox help you see in the screenshot below:

15863-pig-help.png

3 REPLIES 3
Highlighted

Re: Pig help in grunt shell or command-line user interface(CLI)

Expert Contributor

Not from within Ambari, but I always like to have the Pig documentation page open while I'm working with Pig.

http://pig.apache.org/docs/r0.16.0/basic.html

Re: Pig help in grunt shell or command-line user interface(CLI)

Expert Contributor

@Sadegh, you can use help command on the grunt shell to get help.

ex: $ pig -help

Re: Pig help in grunt shell or command-line user interface(CLI)

New Contributor

I cannot find help for commands like "FOREACH" with "pig -help" or "man pig". Can I?