Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive, mail # user - start hive2 error


Copy link to this message
-
start hive2 error
ch huang 2013-07-10, 07:37
i try start hiveserver2 ,buy error in log file ,why ? i use hive 0.10

2013-07-10 14:18:31,821 WARN  hive.metastore
(HiveMetaStoreClient.java:open(285)) - Failed to connect to the MetaStore
Server...
2013-07-10 14:18:32,830 ERROR service.CompositeService
(CompositeService.java:start(74)) - Error starting services HiveServer2
org.apache.hive.service.ServiceException: Unable to connect to MetaStore!
        at org.apache.hive.service.cli.CLIService.start(CLIService.java:87)
        at
org.apache.hive.service.CompositeService.start(CompositeService.java:70)
        at
org.apache.hive.service.server.HiveServer2.start(HiveServer2.java:61)
        at
org.apache.hive.service.server.HiveServer2.main(HiveServer2.java:87)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
Caused by: MetaException(message:Could not connect to meta store using any
of the URIs provided. Most recent failure:
org.apache.thrift.transport.TTransportException: java.net.ConnectException:
Connection refused
        at org.apache.thrift.transport.TSocket.open(TSocket.java:185)
        at
org.apache.hadoop.hive.metastore.HiveMetaStoreClient.open(HiveMetaStoreClient.java:277)
        at
org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:163)
        at
org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:103)
        at org.apache.hive.service.cli.CLIService.start(CLIService.java:84)
        at
org.apache.hive.service.CompositeService.start(CompositeService.java:70)
        at
org.apache.hive.service.server.HiveServer2.start(HiveServer2.java:61)
        at
org.apache.hive.service.server.HiveServer2.main(HiveServer2.java:87)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:529)
        at org.apache.thrift.transport.TSocket.open(TSocket.java:180)