Skip to content
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

Unable to query the hive table in container from spark-shell running in Windows #68

Open
ZosBHAI opened this issue Jul 29, 2020 · 0 comments

Comments

@ZosBHAI
Copy link

ZosBHAI commented Jul 29, 2020

I was able to start the hive server and metastore service using this project(bde2020/hive)
in windows machine. And Spark shell which is running in Windows is able to connect this Hive metastore and display the hive tables.
spark.sharedState.externalCatalog.listTables("default")

I was unable to display the hive table content using spark.table("demo_sales97").show , due to Caused by: java.net.UnknownHostException: namenode

I tried adding hostname to the compose file.Unfortuantely , it seems not working.

I could find couple of threads related to java.net.UnknownHostException: namenode, but nothing specific to
connecting spark-shell running in Windows.

Please help on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant