-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Primary metastore does not have database #189
Comments
service start ok,bug can not run . hive error : |
Why do you have |
Try to set the
To simplify the config. |
@patduin cat waggle-dance-federation.yml org.apache.hadoop.hive.metastore.api.NoSuchObjectException: Primary metastore does not have database @hive#ad_test hive show databases: |
@massdosage cat waggle-dance-federation.yml I encountered the same error: org.apache.hadoop.hive.metastore.api.NoSuchObjectException: Primary metastore does not have database @hive#ad_test hive show databases: |
Also can you attach the full logs? |
@patduin set the waggle-dance-server.yml: database-resolution: PREFIXED
|
Can you run: |
@patduin The hive version is incorrect. I use hive3.1.2. I tried to compile mvn clean package .but error : What should I change to make it support hive3.1.2? |
Not sure I understand. Did the direct hive connection work? That said we haven't moved to Hive 3 yet. I guess like you show there will be some compile errors and lots of testing to make sure we can still talk to old servers as well. This sounds like a different issue though and not your original problem. |
I have the same problem in hive3.1.0: |
It seems that ThriftHiveMetastore would return @hive# format database name in hive3. I hope someone could give some advice to fix this. thanks ! |
Thanks @butaozhang for reporting. We haven't had time to look into Hive 3 support. It's in our roadmap but not actively worked on at this moment. Hopefully we'll be able to give an update or even a new version in the not too far future. |
If anyone would like to contribute support for Hive 3 we have a branch at https://github.com/HotelsDotCom/waggle-dance/tree/hive-3.x that has the Hive and Hadoop version numbers set to 3.x versions. Currently the code doesn't even compile but this could be a starting point for anyone who wants to get it working, we would happily review any pull requests against that branch that help get this all working. |
I'm going to close this issue as I've opened a new one which specifically mentions Hive 3 support - #197 |
when I run hive --hiveconf hive.metastore.uris=****
waggle-dance error :
this my conf:
The text was updated successfully, but these errors were encountered: