Thursday, 15 April 2010

command line - Cmd cant find Hadoop after Pig Install -


After pig, I can no longer call the hoop from the command line.

ex:

  C: \ USER \ Andrew \ Documents \ hadoop \ Karung> Thaup version 'Thaup' has internal or external commands, operator program or batch file.   

My path has a look at:

  c: \ Program Files (x86) \ Intel \ iCLS client \; C: \ Program Files \ Intel \ iCLS Client \;% SystemRoot% \ system32;% SystemRoot%;% SystemRoot% \ System32 \ Wbem;% SYSTEMROOT% \ System32 \ WindowsPowerShell \ v1.0 \: C: \ Program Files \ Intel \ Intel (R) Management Engine Component \ DAL; C: \ Program Files \ Intel \ Intel (R) Management Engine Component \ IPT; C: \ Program Files (x86) \ Intel \ Intel (R) Management Engine Component \ DAL; C: \ Program Files (x86) \ Intel Intel (R) Management Engine Component \ IPT; C: \ Program Files (x86) \ Windows Live \ Share; C: \ Program Files \ Intel \ WiFi \ Bin \ C: \ Program Files \ General Files \ Intel \ Wireless Commands \ C: \ Program Files (x86) \ Intel \ OpenCL SDK \ 2.0 \ Bin \ x86; C: \ Program Files (x86) \ Intel \ OpenCL SDK \ 2.0 \ Bin \ C: \ Python27 \ Scripts; C: \ Python27 \ Lib \ site-packages; C: \ Program Files (x86) \ Git \ cmd; C: \ Program Files (x86) \ Git \ bin \; C: \ Users \ Andrew \ Documents \ bat_files; C: \ Andrew \ Document \ Users \ Hadoop \ Hadoop-0.23.8 \ bin; C: \ Users \ Andrew \ Documents \ P Ig \ pig-0.11.1 \ bin   

In addition to this, I have headop, pig and Java installed variables such as:

HADOOP_INSTALL C: \ Users \ Andrew \ Documents \ Hadoop \ hadoop-0.23.8

PIG_INSTALL C : \ User \ Andrew \ Document \ Pig \ pig-0.11.1

JAVA_HOME C: \ Program Files \ Java \ jdk1.7.0_21 < / Code>

Everything is being setup correctly, they execute all the commands line when I run commands from their directories. Why can not you recognize AAP? Thanks!

short answer

hop < / Code> is a Bash script Windows Command Line does not know how to run it.

Long answer

If you want to run Hadop on Windows, you will need more setup. There are many tutorials, but honestly your best bet is to run it on Unix machine or VM.



No comments:

Post a Comment