欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

通过shell在linux上运行hadoop的真面目

程序员文章站 2024-01-21 15:37:34
...

<!-- @page { size: 21cm 29.7cm; margin: 2cm } P { margin-bottom: 0.21cm } -->


/usr/lib/jvm/java-6-sun/bin/java

-Xmx1000m

 

-Dhadoop.log.dir=/home/hadoop01/hadoop/hadoop-0.14.3/logs

-Dhadoop.log.file=hadoop.log

-Dhadoop.home.dir=/home/hadoop01/hadoop/hadoop-0.14.3

-Dhadoop.id.str=

-Dhadoop.root.logger=INFO,console -Djava.library.path=/home/hadoop01/hadoop/hadoop-0.14.3/lib/native/Linux-i386-32

 

-classpath

/home/hadoop01/hadoop/hadoop-0.14.3/bin/../conf:

/usr/lib/jvm/java-6-sun/lib/tools.jar:

/home/hadoop01/hadoop/hadoop-0.14.3:

/home/hadoop01/hadoop/hadoop-0.14.3/hadoop-0.14.3-core.jar:

/home/hadoop01/hadoop/hadoop-0.14.3/lib/commons-cli-2.0-SNAPSHOT.jar:

/home/hadoop01/hadoop/hadoop-0.14.3/lib/commons-codec-1.3.jar:

/home/hadoop01/hadoop/hadoop-0.14.3/lib/commons-httpclient-3.0.1.jar:

/home/hadoop01/hadoop/hadoop-0.14.3/lib/commons-logging-1.0.4.jar:

/home/hadoop01/hadoop/hadoop-0.14.3/lib/commons-logging-api-1.0.4.jar:

/home/hadoop01/hadoop/hadoop-0.14.3/lib/jets3t-0.5.0.jar:

/home/hadoop01/hadoop/hadoop-0.14.3/lib/jetty-5.1.4.jar:

/home/hadoop01/hadoop/hadoop-0.14.3/lib/junit-3.8.1.jar:

/home/hadoop01/hadoop/hadoop-0.14.3/lib/log4j-1.2.13.jar:

/home/hadoop01/hadoop/hadoop-0.14.3/lib/servlet-api.jar:

/home/hadoop01/hadoop/hadoop-0.14.3/lib/xmlenc-0.52.jar:

/home/hadoop01/hadoop/hadoop-0.14.3/lib/jetty-ext/ant.jar:

/home/hadoop01/hadoop/hadoop-0.14.3/lib/jetty-ext/commons-el.jar:

/home/hadoop01/hadoop/hadoop-0.14.3/lib/jetty-ext/jasper-compiler.jar:

/home/hadoop01/hadoop/hadoop-0.14.3/lib/jetty-ext/jasper-runtime.jar:

/home/hadoop01/hadoop/hadoop-0.14.3/lib/jetty-ext/jsp-api.jar

 

org.apache.hadoop.util.RunJar hadoop-0.14.3-examples.jar grep input output dfs[a-z.]+