Home > other >  HDFS upload files in the Call to localhost/127.0.0.1:9000 failed on local exception
HDFS upload files in the Call to localhost/127.0.0.1:9000 failed on local exception

Time:09-30

Job everyone a great god, and I am a novice Hadoop, in the uploaded file cannot be met a problem solving, to crazy
Environment is a virtual machine Ubuntu Hadoop2.02, 0 to add myeclipse8.5, want to write a Java web data management system, Hadoop should be no problem, you can see DFS Location inside the directory structure of a

But at the time of uploading, as long as a run to the FileSystem HDFS=FileSystem. Get (URI. The create (DST), the conf); This sentence, would be an error
Java. IO. IOException: Call to localhost/127.0.0.1:9000 failed on local exception: Java. IO. EOFException
At org, apache hadoop. Ipc. Client. WrapException (1107). The Client Java:
At org, apache hadoop. Ipc. Client. Call (1075). The Client Java:
At org, apache hadoop. Ipc. RPC $Invoker. Invoke (RPC) Java: 225)
The at $Proxy38. GetProtocolVersion (Unknown Source)
At org, apache hadoop. Ipc. RPC. GetProxy (RPC) Java: 396)
At org, apache hadoop. Ipc. RPC. GetProxy (RPC) Java: 379)
At org, apache hadoop. HDFS. DFSClient. CreateRPCNamenode (DFSClient. Java: 119)
At org, apache hadoop. HDFS. DFSClient. & lt; init> (DFSClient. Java: 238)
At org, apache hadoop. HDFS. DFSClient. & lt; init> (DFSClient. Java: 203)
At org, apache hadoop. HDFS. DistributedFileSystem. The initialize (DistributedFileSystem. Java: 89)
At org, apache hadoop. Fs. FileSystem. CreateFileSystem (1386) FileSystem. Java:
At org, apache hadoop. Fs. FileSystem. Access the $200 (66) FileSystem. Java:
At org, apache hadoop. Fs. $Cache FileSystem. Get (1404) FileSystem. Java:
At org, apache hadoop. Fs. FileSystem. Get (254) FileSystem. Java:
At org, apache hadoop. Fs. Path. GetFileSystem (187) Path. Java:
At com. Tool. HadoopOp. HadoopUpload (HadoopOp. Java: 42)
At com. Service. Imp. ResourceServiceImp. UploadFiles (43) ResourceServiceImp. Java:
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 39)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (DelegatingMethodAccessorImpl. Java: 25)
The at Java. Lang. Reflect. Method. Invoke (597) Method. The Java:
The at org. Springframework. Aop. Support. AopUtils. InvokeJoinpointUsingReflection (AopUtils. Java: 319)
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. InvokeJoinpoint (ReflectiveMethodInvocation. Java: 183)
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 150)
The at org. Springframework. Transaction. The interceptor. TransactionInterceptor. Invoke (TransactionInterceptor. Java: 110)
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 172)
The at org. Springframework. Aop. Interceptor. ExposeInvocationInterceptor. Invoke (ExposeInvocationInterceptor. Java: 90)
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 172)
The at org. Springframework. Aop. Framework. JdkDynamicAopProxy. Invoke (JdkDynamicAopProxy. Java: 202)
The at $Proxy7. UploadFiles (Unknown Source)
At com. Action. ResourceAction. Execute (ResourceAction. Java: 88)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 39)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (DelegatingMethodAccessorImpl. Java: 25)
The at Java. Lang. Reflect. Method. Invoke (597) Method. The Java:
At com. Opensymphony. Xwork2. DefaultActionInvocation. InvokeAction (DefaultActionInvocation. Java: 453)
At com. Opensymphony. Xwork2. DefaultActionInvocation. InvokeActionOnly (DefaultActionInvocation. Java: 292)
At com. Opensymphony. Xwork2. DefaultActionInvocation. Invoke (DefaultActionInvocation. Java: 255)
At org, apache struts 2) interceptor) was debugging. DebuggingInterceptor. Intercept (DebuggingInterceptor. Java: 256)
At com. Opensymphony. Xwork2. DefaultActionInvocation. Invoke (DefaultActionInvocation. Java: 249)
At com. Opensymphony. Xwork2. Interceptor. DefaultWorkflowInterceptor. DoIntercept (DefaultWorkflowInterceptor. Java: 176)
At com. Opensymphony. Xwork2. Interceptor. MethodFilterInterceptor. Intercept (MethodFilterInterceptor. Java: 98)
At com. Opensymphony. Xwork2. DefaultActionInvocation. Invoke (DefaultActionInvocation. Java: 249)
At com. Opensymphony. Xwork2. The validator. ValidationInterceptor. DoIntercept (ValidationInterceptor. Java: 265)
The at org, apache struts 2. Interceptor. Validation. AnnotationValidationInterceptor. DoIntercept (AnnotationValidationInterceptor. Java: 68)
At com. Opensymphony. Xwork2. Interceptor. MethodFilterInterceptor. Intercept (MethodFilterInterceptor. Java: 98)
At com. Opensymphony. Xwork2. DefaultActionInvocation. Invoke (DefaultActionInvocation. Java: 249)
At com. Opensymphony. Xwork2. Interceptor. ConversionErrorInterceptor. Intercept (ConversionErrorInterceptor. Java: 138)
At com. Opensymphony. Xwork2. DefaultActionInvocation. Invoke (DefaultActionInvocation. Java: 249)
At com. Opensymphony. Xwork2. Interceptor. ParametersInterceptor. DoIntercept (ParametersInterceptor. Java: 236)
At com. Opensymphony. Xwork2. Interceptor. MethodFilterInterceptor. Intercept (MethodFilterInterceptor. Java: 98)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related