Hive 시작 metastore 오류 org.apache.thrift.transport.TTransportException

2343 단어 StudyNote
다음은 metastore를 시작할 때 나타나는 exception입니다.
[root@hadoop1 hadoop-1.2.1]# hive --service metastore &

[1] 3530

[root@hadoop1 hadoop-1.2.1]# Starting Hive Metastore Server

15/02/07 15:21:38 WARN conf.HiveConf: DEPRECATED: Configuration property hive.metastore.local no longer has any effect. Make sure to provide a valid value for hive.metastore.uris if you are connecting to a remote metastore.

15/02/07 15:21:38 WARN conf.HiveConf: DEPRECATED: hive.metastore.ds.retry.* no longer has any effect. Use hive.hmshandler.retry.* instead

org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:9083.
at org.apache.thrift.transport.TServerSocket.(TServerSocket.java:93)
at org.apache.thrift.transport.TServerSocket.(TServerSocket.java:75)
at org.apache.hadoop.hive.metastore.TServerSocketKeepAlive.(TServerSocketKeepAlive.java:34)
at org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:5141)
at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:5084)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.hadoop.util.RunJar.main(RunJar.java:160)

Exception in thread "main" org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:9083.
at org.apache.thrift.transport.TServerSocket.(TServerSocket.java:93)
at org.apache.thrift.transport.TServerSocket.(TServerSocket.java:75)
at org.apache.hadoop.hive.metastore.TServerSocketKeepAlive.(TServerSocketKeepAlive.java:34)
at org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:5141)
at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:5084)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.hadoop.util.RunJar.main(RunJar.java:160)​

원인:
metastore 재부팅,kill 후 재부팅하면 해결

좋은 웹페이지 즐겨찾기