Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> start hive2 error


Copy link to this message
-
Re: start hive2 error
hello,
verify if  ZooKeeper is running on port 2181 (not on port 2281 like you
have in Hive-site.xml) if changing port don't work assure that your
Zookeeper quorum is listining on port 2281.
2013/7/10 ch huang <[EMAIL PROTECTED]>

> 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)
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB