hadoop在centos上编译的可以运行在ubuntu上么?
my-hadoop@sh-b0-sv0375:~/my-hadoop/hadoop-2.2.0/cluster_tools$ hadoop fs -ls /
15/02/12 15:18:55 DEBUG util.Shell: setsid exited with exit code 0
15/02/12 15:18:55 DEBUG lib.MutableMetricsFactory: field org.apache.hadoop.metrics2.lib.MutableRate org.apache.hadoop.security.UserGroupInformation$UgiMetrics.loginSuccess with annotation @org.apache.hadoop.metrics2.annotation.Metric(valueName=Time, about=, value=[Rate of successful kerberos logins and latency (milliseconds)], always=false, type=DEFAULT, sampleName=Ops)
15/02/12 15:18:55 DEBUG lib.MutableMetricsFactory: field org.apache.hadoop.metrics2.lib.MutableRate org.apache.hadoop.security.UserGroupInformation$UgiMetrics.loginFailure with annotation @org.apache.hadoop.metrics2.annotation.Metric(valueName=Time, about=, value=[Rate of failed kerberos logins and latency (milliseconds)], always=false, type=DEFAULT, sampleName=Ops)
15/02/12 15:18:55 DEBUG impl.MetricsSystemImpl: UgiMetrics, User and group related metrics
15/02/12 15:18:56 DEBUG util.KerberosName: Kerberos krb5 configuration not found, setting default realm to empty
15/02/12 15:18:56 DEBUG security.Groups: Creating new Groups object
15/02/12 15:18:56 DEBUG util.NativeCodeLoader: Trying to load the custom-built native-hadoop library...
15/02/12 15:18:56 DEBUG util.NativeCodeLoader: Failed to load native-hadoop with error: java.lang.UnsatisfiedLinkError: /home/my-hadoop/my-hadoop/hadoop-2.2.0/distribution/lib/native/libhadoop.so.1.0.0: /lib/libc.so.6: version `GLIBC_2.12' not found (required by /home/my-hadoop/my-hadoop/hadoop-2.2.0/distribution/lib/native/libhadoop.so.1.0.0)
15/02/12 15:18:56 DEBUG util.NativeCodeLoader: java.library.path=/home/my-hadoop/my-hadoop/hadoop-2.2.0/distribution/lib/native
15/02/12 15:18:56 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
|