Namenode和Datanode没有以hadoop开头

时间:2015-10-02 15:30:24

标签: java ubuntu hadoop mapreduce makefile

我是hadoop map的新手。启动dfs时出现以下错误。

satya@satyaPC:/usr/local/hadoop_store/hdfs/namenode$ start-all.sh

Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar 
15/10/02 20:38:46 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

由于此警告,名称节点和数据节点未启动。这是jps命令的结果。

satya@satyaPC:/usr/local/hadoop_store/hdfs/namenode$ jps

Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar 

6113 Jps

5755 ResourceManager

6077 NodeManager

5592 SecondaryNameNode

我尝试使用以下链接修复它:http://www.csrdu.org/nauman/2014/01/23/geting-started-with-hadoop-2-2-0-building/ 但是这导致了以下错误。

satya@satyaPC:/usr/local/hadoop/protobuf-2.5.0$ make install

Making install in .

make[1]: Entering directory '/usr/local/hadoop/protobuf-2.5.0'

make[2]: Entering directory '/usr/local/hadoop/protobuf-2.5.0'

make[2]: Nothing to be done for 'install-exec-am'.

test -z "/usr/lib/pkgconfig" || /bin/mkdir -p "/usr/lib/pkgconfig"
 /usr/bin/install -c -m 644 protobuf.pc protobuf-lite.pc '/usr/lib/pkgconfig'

/usr/bin/install: cannot create regular file ‘/usr/lib/pkgconfig/protobuf.pc’: Permission denied

/usr/bin/install: cannot create regular file ‘/usr/lib/pkgconfig/protobuf-lite.pc’: Permission denied

Makefile:543: recipe for target 'install-pkgconfigDATA' failed

make[2]: *** [install-pkgconfigDATA] Error 1

make[2]: Leaving directory '/usr/local/hadoop/protobuf-2.5.0'

Makefile:901: recipe for target 'install-am' failed

make[1]: *** [install-am] Error 2

make[1]: Leaving directory '/usr/local/hadoop/protobuf-2.5.0'

Makefile:568: recipe for target 'install-recursive' failed

make: *** [install-recursive] Error 1

非常感谢任何修复错误的帮助。提前谢谢。

0 个答案:

没有答案