[ https://issues.apache.org/jira/browse/HADOOP-10988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14104818#comment-14104818
]
Wei Yan commented on HADOOP-10988:
----------------------------------
I tried the community built hadoop-2.5.0 in ubuntu 14.04, and the pi job can run correctly.
Here is the environment.
JDK
{code}
ubuntu@master:~/hadoop-2.5.0$ java -version
java version "1.7.0_55"
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
{code}
Ubuntu
{code}
ubuntu@master:~/hadoop-2.5.0$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty
{code}
>From your error message:
bq. 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.
why have hadoop-2.2.0 here?
> Community build Apache Hadoop 2.5 fails on Ubuntu 14.04
> -------------------------------------------------------
>
> Key: HADOOP-10988
> URL: https://issues.apache.org/jira/browse/HADOOP-10988
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 2.2.0, 2.5.0, 2.4.1
> Environment: x86_64, Ubuntu 14.04, OpenJDK 7
> hadoop 2.5 tar file from: http://apache.mirrors.pair.com/hadoop/common/hadoop-2.5.0/
> Reporter: Amir Sanjar
>
> 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)
--
This message was sent by Atlassian JIRA
(v6.2#6252)
|