Created
October 25, 2016 21:08
-
-
Save natea/b6cff6d2ee316c59bac0c7bf60f2c5a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-bash-4.1# bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.0.jar grep input output 'dfs[a-z.]+' | |
16/10/25 17:07:32 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032 | |
java.net.ConnectException: Call From 3a452aa05d49/172.24.0.4 to 3a452aa05d49: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:792) | |
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:732) | |
at org.apache.hadoop.ipc.Client.call(Client.java:1480) | |
at org.apache.hadoop.ipc.Client.call(Client.java:1407) | |
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:229) | |
at com.sun.proxy.$Proxy9.delete(Unknown Source) | |
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.delete(ClientNamenodeProtocolTranslatorPB.java:540) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187) | |
at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102) | |
at com.sun.proxy.$Proxy10.delete(Unknown Source) | |
at org.apache.hadoop.hdfs.DFSClient.delete(DFSClient.java:2049) | |
at org.apache.hadoop.hdfs.DistributedFileSystem$14.doCall(DistributedFileSystem.java:707) | |
at org.apache.hadoop.hdfs.DistributedFileSystem$14.doCall(DistributedFileSystem.java:703) | |
at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) | |
at org.apache.hadoop.hdfs.DistributedFileSystem.delete(DistributedFileSystem.java:703) | |
at org.apache.hadoop.examples.Grep.run(Grep.java:97) | |
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) | |
at org.apache.hadoop.examples.Grep.main(Grep.java:103) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:71) | |
at org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:144) | |
at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:74) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at org.apache.hadoop.util.RunJar.run(RunJar.java:221) | |
at org.apache.hadoop.util.RunJar.main(RunJar.java:136) | |
Caused by: java.net.ConnectException: Connection refused | |
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) | |
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) | |
at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206) | |
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:531) | |
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:495) | |
at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:609) | |
at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:707) | |
at org.apache.hadoop.ipc.Client$Connection.access$2800(Client.java:370) | |
at org.apache.hadoop.ipc.Client.getConnection(Client.java:1529) | |
at org.apache.hadoop.ipc.Client.call(Client.java:1446) | |
... 32 more | |
-bash-4.1# bin/hdfs dfs -cat output/* | |
cat: Call From 3a452aa05d49/172.24.0.4 to 3a452aa05d49:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment