

How to query external hive Metastore From Spark
source link: https://blog.knoldus.com/how-to-query-external-hive-metastore-from-spark/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.


How to query external hive Metastore From Spark
Reading Time: < 1 minute
In this Blog we will learn how can we access tables from hive metastore in spark,so now just lets get started
- start your hive metastore as as service with following command
- hive –service metastore by default it will start metastore on port 9083

- go to your spark client and tell driver to conncet to metastore listening on port 9083 when starting the hive thrift server with following command
- $SPARK_HOME/sbin/start-thriftserver.sh –driver-java-options “-Dhive.metastore.uris=thrift://localhost:9083”

i hope this blog will help
Recommend
-
46
Home Blog
-
3
桔妹导读: 在滴滴S QL任务从Hive迁移到Spark后,Spark SQ...
-
10
Hive & ldquo; Creating database tables Metastore Hive & rdquo; the command fails during installation 'Path A' using Cloudera Manager advertisements ...
-
12
数据分析知识补充:Hadoop、YARN、Spark、Hive 发表于 2020-12-11...
-
8
【spark, Hive, Hadoop, yarn】汇总 2018年03月27日 Author: Guofei 文章归类: 1-1-算法平台 ,文章编号: 153 版权声明:本文作者是郭飞。转载随...
-
6
Hive-Metastore : A Basic Introduction Reading Time: 3 minutesAs we know database is the most important and powerful part f...
-
5
Adaptive Query Execution (AQE) in Spark 3.0 Reading Time: 4 minutesThis blog pertains to Apache SPARK 3.x, where we will find out how Spark’s new feature named Adaptive Query Execution (AQE)
-
4
-
5
Hive说我变了,Spark说不你没变 原创 怀瑾握瑜的嘉与嘉 2022-03-29 09:22:28...
-
4
(You Gotta) Fight for Your Right (To Query !) – the easy way to use External Tables with CSV files Posted on
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK