Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
2.2.0, 2.5.0, 2.4.1
-
None
-
None
-
x86_64, Ubuntu 14.04, OpenJDK 7
hadoop 2.5 tar file from: http://apache.mirrors.pair.com/hadoop/common/hadoop-2.5.0/
Description
Executing any mapreduce applications (i.e. PI) using community version of hadoop build from http://apache.mirrors.pair.com/hadoop/common/hadoop-2.5.0/ fails with below error message. Rebuilding from source on an Ubuntu system with flags "clean -Pnative" fixes the problem.
OpenJDK 64-Bit Server VM warning: You have loaded library /home/ubuntu/hadoop/hadoop-2.2.0/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
14/08/19 21:24:54 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
java.net.ConnectException: Call From node1.maas/127.0.1.1 to localhost:9000 failed on connection exception: java.net.ConnectException: Connection refused; 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)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:783)
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:730)