Home > database >  An error occurred while trying to start the hive
An error occurred while trying to start the hive

Time:10-25

The hive is the following error
The Exception in the thread "main" Java. Lang. RuntimeException: org.apache.hadoop.net.ConnectTimeoutException: Call From master/192.168.1.80 to 190.168.1.80:9000 failed on the socket timeout Exception: 20000 millis org.apache.hadoop.net.ConnectTimeoutException: timeout while waiting for the channel to be ready for the connect. Ch: Java nio. Channels. The SocketChannel [connection - pending remote=190.168.1.80/190.168.1.80:9000]. For more details see: http://wiki.apache.org/hadoop/SocketTimeout
At org, apache hadoop. Hive. Ql. Session. The SessionState. Start (SessionState. Java: 522)
At org, apache hadoop. Hive. Cli. CliDriver. Run (677) CliDriver. Java:
At org, apache hadoop. Hive. Cli. CliDriver. Main (621) CliDriver. Java:
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 (498) Method. The Java:
At org, apache hadoop. Util. RunJar. Run (221) RunJar. Java:
At org, apache hadoop. Util. RunJar. Main (136) RunJar. Java:
Under Caused by: org.apache.hadoop.net.ConnectTimeoutException: Call From master/192.168.1.80 to 190.168.1.80:9000 failed on the socket timeout exception: 20000 millis org.apache.hadoop.net.ConnectTimeoutException: timeout while waiting for the channel to be ready for the connect. Ch: Java nio. Channels. The SocketChannel [connection - pending remote=190.168.1.80/190.168.1.80:9000]. For more details see: http://wiki.apache.org/hadoop/SocketTimeout
At sun. Reflect. NativeConstructorAccessorImpl. NewInstance0 (Native Method)
At sun. Reflect. NativeConstructorAccessorImpl. NewInstance (NativeConstructorAccessorImpl. Java: 62)
At sun. Reflect. DelegatingConstructorAccessorImpl. NewInstance (DelegatingConstructorAccessorImpl. Java: 45)
The at Java. Lang. Reflect. Constructor. NewInstance (423) Constructor. Java:
At org.apache.hadoop.net.NetUtils.wrapWithMessage NetUtils. Java: (791)
At org.apache.hadoop.net.NetUtils.wrapException NetUtils. Java: (750)
At org, apache hadoop. Ipc. Client. Call (1472). The Client Java:
At org, apache hadoop. Ipc. Client. Call (1399). The Client Java:
At org, apache hadoop. Ipc. ProtobufRpcEngine $Invoker. Invoke (ProtobufRpcEngine. Java: 232)
At com. Sun. Proxy. $Proxy15. GetFileInfo (Unknown Source)
At org, apache hadoop. HDFS. ProtocolPB. ClientNamenodeProtocolTranslatorPB. GetFileInfo (ClientNamenodeProtocolTranslatorPB. Java: 752)
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 (498) Method. The Java:
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. $Proxy16. GetFileInfo (Unknown Source)
At org, apache hadoop. HDFS. DFSClient. GetFileInfo (DFSClient. Java: 1988)
At org, apache hadoop. HDFS. DistributedFileSystem $18. DoCall (DistributedFileSystem. Java: 1118)
At org, apache hadoop. HDFS. DistributedFileSystem $18. DoCall (DistributedFileSystem. Java: 1114)
At org, apache hadoop. Fs. FileSystemLinkResolver. Resolve (FileSystemLinkResolver. Java: 81)
At org, apache hadoop. HDFS. DistributedFileSystem. GetFileStatus (DistributedFileSystem. Java: 1114)
At org, apache hadoop. Fs. FileSystem. The exists (1400) FileSystem. Java:
At org, apache hadoop. Hive. Ql. Session. The SessionState. CreateRootHDFSDir (SessionState. Java: 596)
At org, apache hadoop. Hive. Ql. Session. The SessionState. CreateSessionDirs (SessionState. Java: 554)
At org, apache hadoop. Hive. Ql. Session. The SessionState. Start (SessionState. Java: 508)
. Eight more
Under Caused by: 20000 millis org.apache.hadoop.net.ConnectTimeoutException: timeout while waiting for the channel to be ready for the connect. Ch: Java nio. Channels. A SocketChannel [connection - pending remote=190.168.1.80/190.168.1.80:9000]
At org.apache.hadoop.net.NetUtils.connect NetUtils. Java: (533)
At org.apache.hadoop.net.NetUtils.connect NetUtils. Java: (494)
At org, apache hadoop. Ipc. Client $Connection. SetupConnection (607). The Client Java:
At org, apache hadoop. Ipc. Client $Connection. SetupIOstreams (705). The Client Java:
At org, apache hadoop. Ipc. Client $Connection. The access of $2800 (368). The Client Java:
At org, apache hadoop. Ipc. Client. GetConnection (1521). The Client Java:
At org, apache hadoop. Ipc. Client. Call (1438). The Client Java:
. 28 more
O bosses grant instruction
  • Related