spark-submit --master yarn --deploy-mode cluster --jars PATH_TO_APPJAR,path/hive-jdbc-1.2.1.spark2.hdp.1.jar --files /path/to/hive-site.xml --conf spark.yarn.maxAppAttempts=1 --conf spark.sql.hive.hiveserver2.jdbc.url="correct_jdbc_URL" --conf spark.datasource.hive.warehouse.metastoreUri="thrift://HOSTNAME:9083" --conf spark.hadoop.hive.llap.daemon.service.hosts="@llap0" --conf spark.hadoop.hive.zookeeper.quorum="HOSTNAME:PORT" --class CLASSNAME
SparkSession spark = SparkSession.builder() .appName("spark_practice") .config("spark.sql.warehouse.dir","PATHNAME") .enableHiveSupport() .getOrCreate();
<pre>org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient . . . Caused by: MetaException(message:Could not connect to meta store using any of the URIs provided. Most recent failure: org.apache.thrift.transport.TTransportException: Peer indicated failure: DIGEST-MD5: IO error acquiring password
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)