util.NativeCodeLoader:无法为您的平台加载native-hadoop库...使用适用的builtin-java类

时间:2017-05-23 04:45:25

标签: hadoop

我开始学习Hadoop。我按照本教程https://www.tutorialspoint.com/hadoop/hadoop_enviornment_setup.htm

进行了操作

当我尝试执行以下命令时

hadoop jar $HADOOP_HOME/share/hadoop/mapreduce/hadoop-mapreduceexamples-2.2.0.jar  wordcount input output

收到此错误

17/05/23 10:11:49 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
17/05/23 10:11:50 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
java.net.ConnectException: Call From LAPTOP-9BNLKT1E/192.168.1.11 to localhost:9000 failed on connection exception: java.net.ConnectException: Connection refused: no further information; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

帮助我在哪里做错了。

0 个答案:

没有答案