Re: exception when build Hive from source then start Hive CLI

2013-11-06 Thread Vaibhav Gumashta
Zhang, You can find instructions to build the tarball here: https://cwiki.apache.org/confluence/display/Hive/HiveDeveloperFAQ#HiveDeveloperFAQ-Howtogeneratetarball%3F --Vaibhav On Wed, Nov 6, 2013 at 5:45 PM, 金杰 wrote: > You can go to this page > https://cwiki.apache.org/confluence/display/Hi

Re: exception when build Hive from source then start Hive CLI

2013-11-06 Thread 金杰
You can go to this page https://cwiki.apache.org/confluence/display/Hive/HiveDeveloperFAQ for reference. Best Regards 金杰 (Jay Jin) On Thu, Nov 7, 2013 at 1:29 AM, Zhang Xiaoyu wrote: > Hi, Jay, > Thanks for your reply. Do you know the way to build a Hive tarball from > source? Hive recently mo

Re: exception when build Hive from source then start Hive CLI

2013-11-06 Thread Zhang Xiaoyu
Hi, Jay, Thanks for your reply. Do you know the way to build a Hive tarball from source? Hive recently move to maven from ant, but wiki still shows ant related command. Johnny On Wed, Nov 6, 2013 at 6:04 AM, 金杰 wrote: > Hi, Xiaoyu > > You may run hive cli using maven exec plugin > > For exampl

Re: exception when build Hive from source then start Hive CLI

2013-11-06 Thread 金杰
Hi, Xiaoyu You may run hive cli using maven exec plugin For example: jj@hellojinjie hive :) $ cd cli/ jj@hellojinjie cli :) $ mvn exec:java -Dexec.mainClass=org.apache.hadoop.hive.cli.CliDriver Best Regards 金杰 (Jay Jin) On Wed, Nov 6, 2013 at 11:11 AM, Zhang Xiaoyu wrote: > so looks like

Re: exception when build Hive from source then start Hive CLI

2013-11-05 Thread Zhang Xiaoyu
so looks like jline jar is maven dependency which is pulled to ~/.m2 folder. The question here is what is the right way to build a Hive tarball by maven command? looks like mvn clean install -DskipTests is not.. Thanks, Johnny On Tue, Nov 5, 2013 at 6:14 PM, Zhang Xiaoyu wrote: > Hi, all, >

exception when build Hive from source then start Hive CLI

2013-11-05 Thread Zhang Xiaoyu
Hi, all, I am trying to build hive from source and start CLI. What I did is (1) git clone the source (2) mvn clean install -DskipTests (3) cp */target/*.jar lib/ this step basically copy all jar files to lib (4) start cli by ./bin/hive I got exception ./bin/hive: line 80: [: /Users/admin/D