You can specify the hive-site.xml in spark-submit command using --files
option to make sure that the Spark job is referring to the hive metastore
you are interested in
spark-submit --files /path/to/hive-site.xml
On Sat, Aug 18, 2018 at 1:59 AM Patrick Alwell
wrote:
> You probably need to take
You probably need to take a look at your hive-site.xml and see what the
location is for the Hive Metastore. As for beeline, you can explicitly use an
instance of Hive server by passing in the JDBC url to the hiveServer when you
launch the client; e.g. beeline –u “jdbc://example.com:5432”
Try ta