You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/02/19 09:10:40 UTC

[GitHub] [spark] yaooqinn commented on issue #27041: [SPARK-25061][SQL] Precedence for ThriftServer hiveconf commandline parameter

yaooqinn commented on issue #27041: [SPARK-25061][SQL] Precedence for ThriftServer hiveconf commandline parameter
URL: https://github.com/apache/spark/pull/27041#issuecomment-588113516
 
 
   Thanks for pinging me @cloud-fan
   
   We can override hive configurations in many ways.
   
   Take `hive.metastore.uris` for an example, we can reset it via `--conf spark.hadoop.hive.metastore.uris=thrift://example.com:9083`, or `--conf spark.hive.hive.metastore.uris=thrift://example.com:9083` or `--hiveconf hive.metastore.uris=thrift://example.com:9083` or maybe(not sure) `--conf spark.driver.extraJavaOptions=-Dxxx`. 
   
   This PR seems to prefer `--hiveconf` than others.
   
   Personally, I prefer those spark configurations always have higher precedence than other type
   configurations including hive/hadoop/java/system, etc, as we are writing spark applicaitons.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org