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.

Error Trying to get Basic Pig Syntax Running

Solved Go to solution

Error Trying to get Basic Pig Syntax Running

New Contributor

Recently installed a Pig instance on Ambari but continually getting IOException errors and commands unknown(dump, a =5, etc...). I've setup my own local cluster running Ubunt14.04LTS with 1 host and 2 slaves. Any ideas on what I can do? I've run the service check and it returned okay. When i ran the grunt shell and tried to execute the same basic commands it came up with the same errors.

I've tried the below commands(separately) and all have issues.

    a = 5;
    dump 5;
    UPPER('test');

I've tried them in the grunt shell and get the same errors(running pig -x local, or -x webHCat)

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Error Trying to get Basic Pig Syntax Running

Contributor

Please try to run this smoke test and provide complete command O/p if any error.

http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_command-line-installation/content/validat...

3 REPLIES 3

Re: Error Trying to get Basic Pig Syntax Running

Guru

Could you add the exact errors (copy-paste) as a comment to your question?

Re: Error Trying to get Basic Pig Syntax Running

Contributor

Please try to run this smoke test and provide complete command O/p if any error.

http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_command-line-installation/content/validat...

Re: Error Trying to get Basic Pig Syntax Running

New Contributor
@avoma

Thanks for the help, but it is because my commands weren't PigLatin compliant.... Thanks for the help and reply.

Don't have an account?
Coming from Hortonworks? Activate your account here