Re: Hive Full embedded for test

2014-10-07 Thread Yoel Benharrous
Hi,

I know this project. I want to know if it's possible to run locally without
setting hadoop home ...

2014-10-07 15:30 GMT+02:00 Edward Capriolo edlinuxg...@gmail.com:

 Check out.
 https://github.com/edwardcapriolo/hive_test

 On Tuesday, October 7, 2014, Yoel Benharrous yoel.benharr...@gmail.com
 wrote:

 Hi,

 I need to test hive request in a full local mode.

 For the metastore, no problem to start in an embedded mode.
 I'm using hive jdbc.

 My problem is that the ExecDriver try to launch /usr/bin/hadoop.

 is there a way to launch in a full embedded mode? (from a provided jar)










 --
 Sorry this was sent from mobile. Will do less grammar and spell check than
 usual.



Re: Hive Full embedded for test

2014-10-07 Thread Edward Capriolo
No. It is buried deep in hive's guts to fork bin/hadoop :)

On Tue, Oct 7, 2014 at 10:16 AM, Yoel Benharrous yoel.benharr...@gmail.com
wrote:

 Hi,

 I know this project. I want to know if it's possible to run locally
 without setting hadoop home ...

 2014-10-07 15:30 GMT+02:00 Edward Capriolo edlinuxg...@gmail.com:

 Check out.
 https://github.com/edwardcapriolo/hive_test

 On Tuesday, October 7, 2014, Yoel Benharrous yoel.benharr...@gmail.com
 wrote:

 Hi,

 I need to test hive request in a full local mode.

 For the metastore, no problem to start in an embedded mode.
 I'm using hive jdbc.

 My problem is that the ExecDriver try to launch /usr/bin/hadoop.

 is there a way to launch in a full embedded mode? (from a provided jar)










 --
 Sorry this was sent from mobile. Will do less grammar and spell check
 than usual.





Re: Hive Full embedded for test

2014-10-07 Thread Yoel Benharrous
It was my first feeling browsing the  source code ... :(
My Windows friends will be condemned to switch to Linux.

2014-10-07 16:54 GMT+02:00 Edward Capriolo edlinuxg...@gmail.com:

 No. It is buried deep in hive's guts to fork bin/hadoop :)

 On Tue, Oct 7, 2014 at 10:16 AM, Yoel Benharrous 
 yoel.benharr...@gmail.com wrote:

 Hi,

 I know this project. I want to know if it's possible to run locally
 without setting hadoop home ...

 2014-10-07 15:30 GMT+02:00 Edward Capriolo edlinuxg...@gmail.com:

 Check out.
 https://github.com/edwardcapriolo/hive_test

 On Tuesday, October 7, 2014, Yoel Benharrous yoel.benharr...@gmail.com
 wrote:

 Hi,

 I need to test hive request in a full local mode.

 For the metastore, no problem to start in an embedded mode.
 I'm using hive jdbc.

 My problem is that the ExecDriver try to launch /usr/bin/hadoop.

 is there a way to launch in a full embedded mode? (from a provided jar)










 --
 Sorry this was sent from mobile. Will do less grammar and spell check
 than usual.






Re: Hive Full embedded for test

2014-10-07 Thread Edward Capriolo
The only other way to accomplish this is building .q tests inside hive
source code. In the end I believe that still forks a hadoop but it does all
the hardwark of downloading etc. I made hive-test because running a hive q
tests takes way to long INHO.

On Tue, Oct 7, 2014 at 12:12 PM, Yoel Benharrous yoel.benharr...@gmail.com
wrote:

 It was my first feeling browsing the  source code ... :(
 My Windows friends will be condemned to switch to Linux.

 2014-10-07 16:54 GMT+02:00 Edward Capriolo edlinuxg...@gmail.com:

 No. It is buried deep in hive's guts to fork bin/hadoop :)

 On Tue, Oct 7, 2014 at 10:16 AM, Yoel Benharrous 
 yoel.benharr...@gmail.com wrote:

 Hi,

 I know this project. I want to know if it's possible to run locally
 without setting hadoop home ...

 2014-10-07 15:30 GMT+02:00 Edward Capriolo edlinuxg...@gmail.com:

 Check out.
 https://github.com/edwardcapriolo/hive_test

 On Tuesday, October 7, 2014, Yoel Benharrous yoel.benharr...@gmail.com
 wrote:

 Hi,

 I need to test hive request in a full local mode.

 For the metastore, no problem to start in an embedded mode.
 I'm using hive jdbc.

 My problem is that the ExecDriver try to launch /usr/bin/hadoop.

 is there a way to launch in a full embedded mode? (from a provided jar)










 --
 Sorry this was sent from mobile. Will do less grammar and spell check
 than usual.







Re: Hive Full embedded for test

2014-10-07 Thread Yoel Benharrous
Or perhaps to patch Hive to avoid the use of /usr/bin/hadoop when local
mode is selected.


2014-10-07 18:16 GMT+02:00 Edward Capriolo edlinuxg...@gmail.com:

 The only other way to accomplish this is building .q tests inside hive
 source code. In the end I believe that still forks a hadoop but it does all
 the hardwark of downloading etc. I made hive-test because running a hive q
 tests takes way to long INHO.

 On Tue, Oct 7, 2014 at 12:12 PM, Yoel Benharrous 
 yoel.benharr...@gmail.com wrote:

 It was my first feeling browsing the  source code ... :(
 My Windows friends will be condemned to switch to Linux.

 2014-10-07 16:54 GMT+02:00 Edward Capriolo edlinuxg...@gmail.com:

 No. It is buried deep in hive's guts to fork bin/hadoop :)

 On Tue, Oct 7, 2014 at 10:16 AM, Yoel Benharrous 
 yoel.benharr...@gmail.com wrote:

 Hi,

 I know this project. I want to know if it's possible to run locally
 without setting hadoop home ...

 2014-10-07 15:30 GMT+02:00 Edward Capriolo edlinuxg...@gmail.com:

 Check out.
 https://github.com/edwardcapriolo/hive_test

 On Tuesday, October 7, 2014, Yoel Benharrous 
 yoel.benharr...@gmail.com wrote:

 Hi,

 I need to test hive request in a full local mode.

 For the metastore, no problem to start in an embedded mode.
 I'm using hive jdbc.

 My problem is that the ExecDriver try to launch /usr/bin/hadoop.

 is there a way to launch in a full embedded mode? (from a provided
 jar)










 --
 Sorry this was sent from mobile. Will do less grammar and spell check
 than usual.