Want to build hadoop2 their installation last week and found that hadoop2 need to compile all the local library, because I can't networking, the virtual machine is downloaded from cloudera.com
http://archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/4.2.0/RPMS/x86_64/
Inside this download and I install hadoop2.0.0 cdh4.2.0 corresponding RPM file, and then extract the access to the inside of the native library, to join my hadoop installation package corresponding directory, but start hadoop2 namenode error is as follows:
The 2014-03-03 16:58:52 965 WARN org, apache hadoop. Ipc. Server: ipc Server handler on 9000, 2. Call org. Apache hadoop. HDFS. Server protocol. The DatanodeProtocol. VersionRequest from 192.168.192.191:35588: error: Java. Lang. UnsatisfiedLinkError: org.. Apache hadoop. Security. JniBasedUnixGroupsMapping. GetGroupForUser (Ljava/lang/String;) [Ljava/lang/String;
Java. Lang. UnsatisfiedLinkError: org. Apache. Hadoop. Security. JniBasedUnixGroupsMapping. GetGroupForUser (Ljava/lang/String;) [Ljava/lang/String;
At org, apache hadoop. Security. JniBasedUnixGroupsMapping. GetGroupForUser (Native Method)
At org, apache hadoop. Security. JniBasedUnixGroupsMapping. GetGroups (58) JniBasedUnixGroupsMapping. Java:
At org, apache hadoop. Security. JniBasedUnixGroupsMappingWithFallback. GetGroups (JniBasedUnixGroupsMappingWithFallback. Java: 50)
At org, apache hadoop. Security. Groups. GetGroups (89) Groups. Java:
At org, apache hadoop. Security. UserGroupInformation. GetGroupNames (UserGroupInformation. Java: 1292)
At org, apache hadoop. HDFS. Server. The namenode. FSPermissionChecker. & lt; init> (FSPermissionChecker. Java: 51)
At org, apache hadoop. HDFS. Server. The namenode. FSPermissionChecker. CheckSuperuserPrivilege (FSPermissionChecker. Java: 72)
At org, apache hadoop. HDFS. Server. The namenode. FSNamesystem. CheckSuperuserPrivilege (FSNamesystem. Java: 4621)
At org, apache hadoop. HDFS. Server. The namenode. NameNodeRpcServer. VersionRequest (NameNodeRpcServer. Java: 937)
At org, apache hadoop. HDFS. ProtocolPB. DatanodeProtocolServerSideTranslatorPB. VersionRequest (DatanodeProtocolServerSideTranslatorPB. Java: 206)
At org, apache hadoop. HDFS. Protocol. The proto. DatanodeProtocolProtos $DatanodeProtocolService $2. CallBlockingMethod (DatanodeProtocolProtos. Java: 20028)
At org, apache hadoop. Ipc. ProtobufRpcEngine $$ProtoBufRpcInvoker Server. Call (453) ProtobufRpcEngine. Java:
At org, apache hadoop. Ipc. RPC $Server. The call (RPC) Java: 1002)
At org, apache hadoop. Ipc. Server $Handler $1. The run (1695) Server. Java:
At org, apache hadoop. Ipc. Server $Handler $1. The run (1691) Server. Java:
The at Java. Security. The AccessController. DoPrivileged (Native Method)
At javax.mail. Security. Auth. Subject. The doAs (396) Subject. Java:
At org, apache hadoop. Security. UserGroupInformation. DoAs (UserGroupInformation. Java: 1408)
At org, apache hadoop. Ipc. Server $Handler. The run (1689) Server. Java:
The 2014-03-03 16:58:53 147 WARN org, apache hadoop. Ipc. Server: ipc Server handler 3 on 9000, call org.. Apache hadoop. HDFS. Server protocol. The DatanodeProtocol. VersionRequest from 192.168.192.196:36762: error: Java. Lang. UnsatisfiedLinkError: org.. Apache hadoop. Security. JniBasedUnixGroupsMapping. GetGroupForUser (Ljava/lang/String;) [Ljava/lang/String;
Java. Lang. UnsatisfiedLinkError: org. Apache. Hadoop. Security. JniBasedUnixGroupsMapping. GetGroupForUser (Ljava/lang/String;) [Ljava/lang/String;
At org, apache hadoop. Security. JniBasedUnixGroupsMapping. GetGroupForUser (Native Method)
At org, apache hadoop. Security. JniBasedUnixGroupsMapping. GetGroups (58) JniBasedUnixGroupsMapping. Java:
At org, apache hadoop. Security. JniBasedUnixGroupsMappingWithFallback. GetGroups (JniBasedUnixGroupsMappingWithFallback. Java: 50)
At org, apache hadoop. Security. Groups. GetGroups (89) Groups. Java:
At org, apache hadoop. Security. UserGroupInformation. GetGroupNames (UserGroupInformation. Java: 1292)
At org, apache hadoop. HDFS. Server. The namenode. FSPermissionChecker. & lt; init> (FSPermissionChecker. Java: 51)
At org, apache hadoop. HDFS. Server. The namenode. FSPermissionChecker. CheckSuperuserPrivilege (FSPermissionChecker. Java: 72)
At org, apache hadoop. HDFS. Server. The namenode. FSNamesystem. CheckSuperuserPrivilege (FSNamesystem. Java: 4621)
At org, apache hadoop. HDFS. Server. The namenode. NameNodeRpcServer. VersionRequest (NameNodeRpcServer. Java: 937)
At org, apache hadoop. HDFS. ProtocolPB. DatanodeProtocolServerSideTranslatorPB. VersionRequest (DatanodeProtocolServerSideTranslatorPB. Java: 206)
At org, apache hadoop. HDFS. Protocol. The proto. DatanodeProtocolProtos $DatanodeProtocolService $2. CallBlockingMethod (DatanodeProtocolProtos. Java: 20028)
At org, apache hadoop. Ipc. ProtobufRpcEngine $$ProtoBufRpcInvoker Server. Call (453) ProtobufRpcEngine. Java:
At org, apache hadoop. Ipc. RPC $Server. The call (RPC) Java: 1002)
At org, apache hadoop. Ipc. Server $Handler $1. The run (1695) Server. Java:
At org, apache hadoop. Ipc. Server $Handler $1. The run (1691) Server. Java:
The at Java. Security. The AccessController. DoPrivileged (Native Method)
At javax.mail. Security. Auth. Subject. The doAs (396) Subject. Java:
At org, apache hadoop. Security. UserGroupInformation. DoAs (UserGroupInformation. Java: 1408)
At org, apache hadoop. Ipc. Server $Handler. The run (1689) Server. Java:
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull