You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (JIRA)" <ji...@apache.org> on 2010/07/20 21:09:49 UTC

[jira] Created: (HIVE-1474) Add '-s' option to SET command that forces substitution

Add '-s' option to SET command that forces substitution
-------------------------------------------------------

                 Key: HIVE-1474
                 URL: https://issues.apache.org/jira/browse/HIVE-1474
             Project: Hadoop Hive
          Issue Type: New Feature
          Components: CLI
            Reporter: Carl Steinbach


The 'set' and 'set -v' commands dump unsubstituted property values. I propose adding an additional '-s' switch that forces substitution of the properties.

{code}
hiveCLI> set
...
hadoop.tmp.dir=/tmp/hadoop-${user.name}
mapred.system.dir=${hadoop.tmp.dir}/mapred/system
...
hiveCLI> set -s
...
hadoop.tmp.dir=/tmp/hadoop-carl
mapred.system.dir=/tmp/hadoop-carl/mapred/system
...
hiveCLI>
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.