postgresql - Running Hahoop hive would pop up "Unknown protocol" error -
i use cdh5 version 5.12.0 installed hadoop. using embedded database postgresql configed db. services start. but, when input command "hive". pop error message below
[root@hadoop-master ~]# /usr/bin/hive java hotspot(tm) 64-bit server vm warning: using incremental cms deprecated , removed in future release
logging initialized using configuration in file:/opt/cloudera/parcels/cdh- 5.12.0-1.cdh5.12.0.p0.29/etc/hive/conf.dist/hive-log4j.properties exception in thread "main" java.lang.runtimeexception: org.apache.hadoop.ipc.remoteexception(org.apache.hadoop.ipc.rpcnosuchprotocolexception): unknown protocol: org.apache.hadoop.hdfs.protocol.clientprotocol @ org.apache.hadoop.ipc.protobufrpcengine$server$protobufrpcinvoker.getprotocolimpl(protobufrpcengine.java:557) @ org.apache.hadoop.ipc.protobufrpcengine$server$protobufrpcinvoker.call(protobufrpcengine.java:596) @ org.apache.hadoop.ipc.rpc$server.call(rpc.java:1073) @ org.apache.hadoop.ipc.server$handler$1.run(server.java:2217) @ org.apache.hadoop.ipc.server$handler$1.run(server.java:2213) @ java.security.accesscontroller.doprivileged(native method) @ javax.security.auth.subject.doas(subject.java:415) @ org.apache.hadoop.security.usergroupinformation.doas(usergroupinformation.java:1917) @ org.apache.hadoop.ipc.server$handler.run(server.java:2211) @ org.apache.hadoop.hive.ql.session.sessionstate.start(sessionstate.java:571) @ org.apache.hadoop.hive.cli.clidriver.run(clidriver.java:689) @ org.apache.hadoop.hive.cli.clidriver.main(clidriver.java:628) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:498) @ org.apache.hadoop.util.runjar.run(runjar.java:221) @ org.apache.hadoop.util.runjar.main(runjar.java:136) caused by: org.apache.hadoop.ipc.remoteexception(org.apache.hadoop.ipc.rpcnosuchprotocolexception): unknown protocol: org.apache.hadoop.hdfs.protocol.clientprotocol @ org.apache.hadoop.ipc.protobufrpcengine$server$protobufrpcinvoker.getprotocolimpl(protobufrpcengine.java:557) @ org.apache.hadoop.ipc.protobufrpcengine$server$protobufrpcinvoker.call(protobufrpcengine.java:596) @ org.apache.hadoop.ipc.rpc$server.call(rpc.java:1073) @ org.apache.hadoop.ipc.server$handler$1.run(server.java:2217) @ org.apache.hadoop.ipc.server$handler$1.run(server.java:2213) @ java.security.accesscontroller.doprivileged(native method) @ javax.security.auth.subject.doas(subject.java:415) @ org.apache.hadoop.security.usergroupinformation.doas(usergroupinformation.java:1917) @ org.apache.hadoop.ipc.server$handler.run(server.java:2211) @ org.apache.hadoop.ipc.client.call(client.java:1502) @ org.apache.hadoop.ipc.client.call(client.java:1439) @ org.apache.hadoop.ipc.protobufrpcengine$invoker.invoke(protobufrpcengine.java:230) @ com.sun.proxy.$proxy11.getfileinfo(unknown source) @ org.apache.hadoop.hdfs.protocolpb.clientnamenodeprotocoltranslatorpb.getfileinfo(clientnamenodeprotocoltranslatorpb.java:771) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:498) @ org.apache.hadoop.io.retry.retryinvocationhandler.invokemethod(retryinvocationhandler.java:260) @ org.apache.hadoop.io.retry.retryinvocationhandler.invoke(retryinvocationhandler.java:104) @ com.sun.proxy.$proxy12.getfileinfo(unknown source) @ org.apache.hadoop.hdfs.dfsclient.getfileinfo(dfsclient.java:2126) @ org.apache.hadoop.hdfs.distributedfilesystem$20.docall(distributedfilesystem.java:1262) @ org.apache.hadoop.hdfs.distributedfilesystem$20.docall(distributedfilesystem.java:1258) @ org.apache.hadoop.fs.filesystemlinkresolver.resolve(filesystemlinkresolver.java:81) @ org.apache.hadoop.hdfs.distributedfilesystem.getfilestatus(distributedfilesystem.java:1258) @ org.apache.hadoop.fs.filesystem.exists(filesystem.java:1418) @ org.apache.hadoop.hive.ql.session.sessionstate.createroothdfsdir(sessionstate.java:658) @ `org.apache.hadoop.hive.ql.session.sessionstate.createsessiondirs(sessionstate.java:606)` @ org.apache.hadoop.hive.ql.session.sessionstate.start(sessionstate.java:547) ... 8 more
anyone give suggestions?
Comments
Post a Comment