Home > other >  In implementing hadoop fs - mkdir -p/workcount/input, encountered an error
In implementing hadoop fs - mkdir -p/workcount/input, encountered an error

Time:09-19

[root @ localhost sbin] # hadoop fs - mkdir -p/workcount/input
18/03/22 14:00:21 WARN ipc. Client: Address change detected. The Old: localhost/192.168.200.200:9000 New: localhost/127.0.0.1:9000
18/03/22 14:00:21 WARN ipc. Client: Failed to connect to server: localhost/127.0.0.1:9000: try once and fail.
Java.net.ConnectException: rejected the connection
At sun. Nio. Ch. SocketChannelImpl. CheckConnect (Native Method)
At sun. Nio. Ch. SocketChannelImpl. FinishConnect (SocketChannelImpl. Java: 712)
At org.apache.hadoop.net.SocketIOWithTimeout.connect SocketIOWithTimeout. Java: (206)
At org.apache.hadoop.net.NetUtils.connect NetUtils. Java: (531)
At org, apache hadoop. Ipc. Client $Connection. SetupConnection (685). The Client Java:
At org, apache hadoop. Ipc. Client $Connection. SetupIOstreams (788). The Client Java:
At org, apache hadoop. Ipc. Client $Connection. The access of $3500 (410). The Client Java:
At org, apache hadoop. Ipc. Client. GetConnection (1550). The Client Java:
At org, apache hadoop. Ipc. Client. Call (1381). The Client Java:
At org, apache hadoop. Ipc. Client. Call (1345). The Client Java:
At org, apache hadoop. Ipc. ProtobufRpcEngine $Invoker. Invoke (ProtobufRpcEngine. Java: 227)
At org, apache hadoop. Ipc. ProtobufRpcEngine $Invoker. Invoke (ProtobufRpcEngine. Java: 116)
At com. Sun. Proxy. $Proxy10. GetFileInfo (Unknown Source)
At org, apache hadoop. HDFS. ProtocolPB. ClientNamenodeProtocolTranslatorPB. GetFileInfo (ClientNamenodeProtocolTranslatorPB. Java: 796)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (483) Method. The Java:
At org, apache hadoop. IO. Retry. RetryInvocationHandler. InvokeMethod (RetryInvocationHandler. Java: 409)
At org, apache hadoop. IO. Retry. RetryInvocationHandler $Call. InvokeMethod (RetryInvocationHandler. Java: 163)
At org, apache hadoop. IO. Retry. RetryInvocationHandler $Call. Invoke (RetryInvocationHandler. Java: 155)
At org, apache hadoop. IO. Retry. RetryInvocationHandler $Call. InvokeOnce (RetryInvocationHandler. Java: 95)
At org, apache hadoop. IO. Retry. RetryInvocationHandler. Invoke (RetryInvocationHandler. Java: 346)
At com. Sun. Proxy. $Proxy11. GetFileInfo (Unknown Source)
At org, apache hadoop. HDFS. DFSClient. GetFileInfo (DFSClient. Java: 1717)
At org, apache hadoop. HDFS. DistributedFileSystem $27 doCall (DistributedFileSystem. Java: 1437)
At org, apache hadoop. HDFS. DistributedFileSystem $27 doCall (DistributedFileSystem. Java: 1434)
At org, apache hadoop. Fs. FileSystemLinkResolver. Resolve (FileSystemLinkResolver. Java: 81)
At org, apache hadoop. HDFS. DistributedFileSystem. GetFileStatus (DistributedFileSystem. Java: 1449)
At org, apache hadoop. Fs. Globber. GetFileStatus (Globber. Java: 64)
At org, apache hadoop. Fs. Globber. DoGlob (Globber. Java: 269)
At org, apache hadoop. Fs. Globber. Glob (Globber. Java: 148)
At org, apache hadoop. Fs. FileSystem. GlobStatus (1686) FileSystem. Java:
At org, apache hadoop. Fs. Shell. PathData. ExpandAsGlob (PathData. Java: 326)
At org.apache.hadoop.fs.shell.Com, mand. ExpandArgument (245). The Command Java:
At org.apache.hadoop.fs.shell.Com, mand. ExpandArguments (228). The Command Java:
At org, apache hadoop. Fs. Shell. The FsCommand. ProcessRawArguments (FsCommand. Java: 103)
Mand at org.apache.hadoop.fs.shell.Com. The run (175). The Command Java:
At org, apache hadoop. Fs. FsShell. Run (315) FsShell. Java:
At org, apache hadoop. Util. ToolRunner. Run (76) ToolRunner. Java:
At org, apache hadoop. Util. ToolRunner. Run (90) ToolRunner. Java:
At org, apache hadoop. Fs. FsShell. Main (378) FsShell. Java:
The mkdir: Call the From localhost/127.0.0.1 to localhost: 9000 failed on connection exception: java.net.ConnectException: rejected the connection. For more details see: http://wiki.apache.org/hadoop/ConnectionRefused,
How have bosses how to return a responsibility?
  • Related