我從後,更換mapred/HDFS /普通罐子打造 「無NameNode的停止」
http://svn.apache.org/repos/asf/hadoop/common
http://svn.apache.org/repos/asf/hadoop/hdfs
http://svn.apache.org/repos/asf/hadoop/mapreduce
,並得到 檢出源代碼hadoop-mapred-0.23.0-SNAPSHOT.jar hadoop-hdfs -0.23.0-SNAPSHOT.jar hadoop-common-0.23.0-SNAPSHOT.jar
但我失敗了這些罐子start-all.sh ...
的JobTracker和TaskTracker共同開始,只需5秒,並自動關機......
任何人都可以幫助嗎?
我想看看日誌
的TaskTracker說 2011-03-01 00:43:06242 ERROR org.apache.hadoop.io.nativeio.NativeIO:無法初始化NativeIO庫 的java.lang .UnsatisfiedLinkError:org.apache.hadoop.io.nativeio.NativeIO.initNative()V at org.apache.hadoop.io.nativeio.NativeIO.initNative(Native Method) at org.apache.hadoop.io.nativeio。 NativeIO。(NativeIO.java:55) at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:558) at org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:352) at org.apache.hadoop.mapred.TaskTracker.initialize(TaskTracker.java:698) at org.apache.hadoop.mapred。org.apache.hadoop.mapred.TaskController.setup(TaskController.java:90) TaskTracker。(TaskTracker.java:1391) at org.apache.hadoop.mapred.TaskTracker.main(TaskTracker.java:3619) 2011-03-01 00:43:12,983錯誤org.apache.hadoop.mapred.TaskTracker :無法啓動任務跟蹤器,因爲java.io.IOException:對本地異常的調用localhost/127.0.0.1:9001失敗:java.io.IOException:連接由對等端重置 at org.apache.hadoop.ipc.Client.wrapException (Client.java:1063) at org.apache.hadoop.ipc.Client.call(Client.java:1031) at org.apache.hadoop.ipc.WritableRpcEngine $ Invoker.invoke(WritableRpcEngine.java:197) 在org.apache .hadoop.mapred。$ Proxy4.getProtocolSignature(Unknown Source) at org.apache.hadoop.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:238) at org.apache.hadoop.ipc.RPC.getProtocolProxy(RPC.java :422) at org.apache.hadoop.ipc.RPC.waitForProtocolProxy(RPC.java:278) at org.apache.hadoop.ipc.RPC.waitForProtocolProxy(RPC.java:232) at org.apache.hadoop .ipc.RPC.waitForProtocolProxy(RPC.java:194) at org.apache.hadoop.ipc.RPC.waitForProxy(RPC.java:176) at org.apache.hadoop.mapred.TaskTracker $ 2.run(TaskTracker。 java:710) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:416) at org.apache.hadoop.security.UserGrou pInformation.doAs(UserGroupInformation.java:1142) at org.apache.hadoop.mapred.TaskTracker.initialize(TaskTracker.java:706) at org.apache.hadoop.mapred.TaskTracker。(TaskTracker.java:1391) 在org.apache.hadoop.mapred.TaskTracker.main(TaskTracker.java:3619) 由:java.io.IOException引起:在sun.nio.ch.FileDispatcher上由對端 重置連接。read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:251) at sun.nio.ch.IOUtil .read(IOUtil.java:224) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:254) at org.apache.hadoop.net.SocketInputStream $ Reader.performIO(SocketInputStream.java:59) 在org.apache.hadoop.net.SocketIOWithTimeout.doIO(SocketIOWithTimeout.java:142) 在org.apache.hadoop.net.SocketInputStream.read(SocketInputStream.java:159) 在org.apache.hadoop.net.SocketInputStream .read(SocketInputStream.java:132) 在java.io.FilterInputStream.read(FilterInputStream.java:133) 在org.apache.hadoop.ipc.Client $連接離子$ PingInputStream.read(Client.java:368) 在java.io.BufferedInputStream.fill(BufferedInputStream.java:235) 在java.io.BufferedInputStream.read(BufferedInputStream.java:254) 在java.io. DataInputStream.readInt(DataInputStream.java:387) 在org.apache.hadoop.ipc.Client $ Connection.receiveResponse(Client.java:760) 在org.apache.hadoop.ipc.Client $ Connection.run(客戶端。的java:698)
2011-03-01 00:43:12984 INFO org.apache.hadoop.mapred.TaskTracker:SHUTDOWN_MSG: /* ** * ** * * * * ** * ** * ** * ** * ** * ** * ** * *** SHUTDOWN_MSG:在關閉的TaskTracker VAIO-SZ65/127.0.1.1 * ** * ** * ** * ** * ** * ** * ** * ** * ** * ** * ***/