Re: --hiveconf vs -hiveconf

2014-08-10 Thread Lefty Leverenz
All occurrences of -hiveconf in the wiki have been changed to --hiveconf except for one new sentence in the CLI command line options https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Cli#LanguageManualCli-HiveCommandLineOptions section, which says it's also supported. The list of

Re: --hiveconf vs -hiveconf

2014-03-08 Thread Edward Capriolo
Great thanks for following up. THere might be a number of etl processes in the wild saying -hiveconf which is why it is important to keep around for the cli at least. On Sat, Mar 8, 2014 at 1:56 AM, Xuefu Zhang xzh...@cloudera.com wrote: This is just getting more and more interesting. I never

Re: --hiveconf vs -hiveconf

2014-03-08 Thread Lefty Leverenz
What's the difference between double-dash options and single-dash options? -- Lefty On Sat, Mar 8, 2014 at 9:40 AM, Edward Capriolo edlinuxg...@gmail.comwrote: Great thanks for following up. THere might be a number of etl processes in the wild saying -hiveconf which is why it is important to

--hiveconf vs -hiveconf

2014-03-07 Thread Lefty Leverenz
Xuefu just fixed the AdminManual Configuration wikihttps://cwiki.apache.org/confluence/display/Hive/AdminManual+Configuration, changing bin/hive -hiveconf ... to --hiveconf, so I grepped the wiki archive and found many more cases of single-dash hiveconf than double-dash: grep -i '\-\-hiveconf' *

Re: --hiveconf vs -hiveconf

2014-03-07 Thread Edward Capriolo
I was not around when this change was made but I think we should have kept the old - dash version. We should consider adding it back. On Fri, Mar 7, 2014 at 8:56 PM, Lefty Leverenz leftylever...@gmail.comwrote: Xuefu just fixed the AdminManual Configuration wiki

Re: --hiveconf vs -hiveconf

2014-03-07 Thread Xuefu Zhang
I didn't know that -hiveconf is supported. However, from hive -H, double dashes are seen. -h hostnameconnecting to Hive Server on remote host --hiveconf property=value Use value for given property --hivevar key=value Variable subsitution to apply to hive

Re: --hiveconf vs -hiveconf

2014-03-07 Thread Thejas Nair
OK, so just one of the pages in wiki has changed, and hive behavior has not changed ? (I have been using -hiveconf, but i haven't verified that with the tip of the trunk as of now). On Fri, Mar 7, 2014 at 6:19 PM, Xuefu Zhang xzh...@cloudera.com wrote: I didn't know that -hiveconf is supported.

Re: --hiveconf vs -hiveconf

2014-03-07 Thread Lefty Leverenz
OK, so just one of the pages in wiki has changed, and hive behavior has not changed That's right, and a closer look at the wiki shows that all the examples are -hiveconf except the new change. The only place --hiveconf appears is in duplications of help messages for the hive command, the old

Re: --hiveconf vs -hiveconf

2014-03-07 Thread Xuefu Zhang
This is just getting more and more interesting. I never thought of -hiveconf option, and always assumed it was a typo of --hiveconf. (That's why I edited the one, which triggered the discovery.) I just checked and found that both work, which is out of my surprise. With this assumption, Beeline