PIG installation



0
I am having difficulties installing pig on my PC with cloudera-quickstart-vm-4.4.0-1-vmware.

3 Answer(s)


0

Can you let me know the step where you are stuck with.

0

Here is terminal screen print....Hope this is helpful...!


[cloudera@localhost ~]$ pig
/usr/lib/hbase/bin/hbase: line 231: /usr/lib/jvm/java-6-sun-1.6.0.24/bin/java: No such file or directory
/usr/lib/hadoop/bin/hadoop: line 139: /usr/lib/jvm/java-6-sun-1.6.0.24/bin/java: No such file or directory
/usr/lib/hadoop/bin/hadoop: line 139: exec: /usr/lib/jvm/java-6-sun-1.6.0.24/bin/java: cannot execute: No such file or directory
[cloudera@localhost ~]$
[cloudera@localhost ~]$
[cloudera@localhost ~]$ hive
/usr/lib/hadoop/bin/hadoop: line 139: /usr/lib/jvm/java-6-sun-1.6.0.24/bin/java: No such file or directory
/usr/lib/hadoop/bin/hadoop: line 139: exec: /usr/lib/jvm/java-6-sun-1.6.0.24/bin/java: cannot execute: No such file or directory
Unable to determine Hadoop version information.
'hadoop version' returned:
/usr/lib/hadoop/bin/hadoop: line 139: /usr/lib/jvm/java-6-sun-1.6.0.24/bin/java: No such file or directory
/usr/lib/hadoop/bin/hadoop: line 139: exec: /usr/lib/jvm/java-6-sun-1.6.0.24/bin/java: cannot execute: No such file or directory

[cloudera@localhost ~]$

0

hi Srinivas,
You do not have to install Pig in Cloudera as PIG is already shipped. Just invoke Pig using
"Pig " on the terminal.

Looking at the errors seems like Java Path is mangled. I suggest that you recreate another VM from the downloaded cloudera.

Thanks

Your Answer

Click on this code-snippet-icon icon to add code snippet.

Upload Files (Maximum image file size - 1.5 MB, other file size - 10 MB, total size - not more than 50 MB)

Email
Password