You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "mengbaba3316 (via GitHub)" <gi...@apache.org> on 2023/08/16 09:35:17 UTC

[GitHub] [doris] mengbaba3316 opened a new issue, #23059: [Bug] when i create hive catalog,the doris can not connection hive metastore

mengbaba3316 opened a new issue, #23059:
URL: https://github.com/apache/doris/issues/23059

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   the doris version is 1.2.4
   the hive version is 3.1.2
   
   ### What's Wrong?
   
   I use docker-compose buid a hadoop-cluster and hive。
   The cluster consists of four containers, including a mysql container for configuring hive metadata。
   And I configured a fixed ip for each container。
   An error occurred when I was looking at databases to create the directory using doris. Doris indicates that metastore cannot connect and the error should be a uri problem.
   I check hive metastore service, it is started. So I don't know what the problem is.
   Here is my create statement。
   `CREATE CATALOG hive PROPERTIES (
       'type'='hms',
       'hive.metastore.uris' = 'thrift://192.168.150.86:9083',
       'hadoop.username' = 'root'
   );`
   The error message is:
   `[HY000][1105] HMSClientException, msg: org.apache.hadoop.hive.metastore.api.MetaException: 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 (Connection refused) at org.apache.thrift.transport.TSocket.open(TSocket.java:226) at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.open(HiveMetaStoreClient.java:707) at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:415) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Meth ... `
   
   ### What You Expected?
   
   address this issue
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] mengbaba3316 closed issue #23059: [Bug] when i create hive catalog,the doris can not connection hive metastore

Posted by "mengbaba3316 (via GitHub)" <gi...@apache.org>.
mengbaba3316 closed issue #23059: [Bug] when i create hive catalog,the doris can not connection hive metastore
URL: https://github.com/apache/doris/issues/23059


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org