[ https://issues.apache.org/jira/browse/HIVE-2872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-2872: ------------------------------ Attachment: HIVE-2872.D2337.1.patch kevinwilfong requested code review of "HIVE-2872 [jira] Store which configs the user has explicitly changed". Reviewers: JIRA https://issues.apache.org/jira/browse/HIVE-2872 Config variables which are set by System properties, the hiveconf option on the CLI, and the SET command within the CLI, are recorded by the SessionState in a new variable It would be useful to keep track of which config variables the user has explicitly changed from the values which are either default or loaded from hive-site.xml. These include config variables set using the hiveconf argument to the CLI, and via the SET command. This could be used to prevent Hive from changing a config variable which has been explicitly set by the user, and also potentially for logging to help with later debugging of failed queries. TEST PLAN EMPTY REVISION DETAIL https://reviews.facebook.net/D2337 AFFECTED FILES common/src/java/org/apache/hadoop/hive/conf/HiveConf.java cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java ql/src/test/results/clientpositive/overridden_confs.q.out ql/src/test/org/apache/hadoop/hive/ql/hooks/VerifyOverriddenConfigsHook.java ql/src/test/queries/clientpositive/overridden_confs.q ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java ql/src/java/org/apache/hadoop/hive/ql/processors/SetProcessor.java MANAGE HERALD DIFFERENTIAL RULES https://reviews.facebook.net/herald/view/differential/ WHY DID I GET THIS EMAIL? https://reviews.facebook.net/herald/transcript/5169/ Tip: use the X-Herald-Rules header to filter Herald messages in your client. > Store which configs the user has explicitly changed > --------------------------------------------------- > > Key: HIVE-2872 > URL: https://issues.apache.org/jira/browse/HIVE-2872 > Project: Hive > Issue Type: Improvement > Reporter: Kevin Wilfong > Assignee: Kevin Wilfong > Attachments: HIVE-2872.D2337.1.patch > > > It would be useful to keep track of which config variables the user has > explicitly changed from the values which are either default or loaded from > hive-site.xml. These include config variables set using the hiveconf > argument to the CLI, and via the SET command. This could be used to prevent > Hive from changing a config variable which has been explicitly set by the > user, and also potentially for logging to help with later debugging of failed > queries. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira