ajithme opened a new pull request #27041: [SPARK-25061] Spark SQL Thrift Server 
fails to not pick up hiveconf passing parameter
URL: https://github.com/apache/spark/pull/27041
 
 
   As per the documentation here, 
https://spark.apache.org/docs/latest/sql-distributed-sql-engine.html user can 
provide `--hiveconf` to override the hive configurations when using 
`start-thriftserver.sh` but as per the code, 
https://github.com/apache/spark/blob/master/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala#L182
 here, the hive-site properties (part of hadoopConf) will override the 
configuration done from command line which is not as per expectation
   
   ### What changes were proposed in this pull request?
   `hiveConf` need to take precedence when creating `HiveConf` 
   
   
   ### Why are the changes needed?
   Precedence to `--hiveconf` over `hive-site.xml`
   
   ### Does this PR introduce any user-facing change?
   No
   
   
   ### How was this patch tested?
   Tested this patch manually

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to