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.<init>(TServerSocket.java:93)
at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:75)
at org.apache.hadoop.hive.metastore.TServerSocketKeepAlive.<init>(TServerSocketKeepAlive.java:34)
at org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:5706)
at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:5649)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
In this situation, we can not find the clue, because you started to run the Hive Metastore, input JPS
Then appear as follows:
The red line shows the process of Hive Metastore.
In order to restart, you need to kill this;
Kill-9 6006 (This is the process number of which program)
And then enter
Hive--service Metastore Boot
OK, start successfully.
Could not create serversocket on address 0.0.0.0/0.0.0.0:9083