hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ning Zhang <nzh...@facebook.com>
Subject Re: Why does the Hive CLI start a subprocess?
Date Thu, 10 Dec 2009 18:00:44 GMT
The cmdLine is calling the shell script hadoop, so I guess it is a better isolation from different
hadoop versions.  Just my thought. 

On Dec 10, 2009, at 9:51 AM, Philip Zeyliger wrote:

> Anyone?
> 
> On Wed, Dec 2, 2009 at 5:27 PM, Philip Zeyliger <philip@cloudera.com> wrote:
> 
>> Hi folks,
>> 
>> I notice that Hive's hive.ql.exec.MapRedTask calls out to a subprocess
>> ("executor = Runtime.getRuntime().exec(cmdLine);") to run MR tasks.
>> Out of curiosity, what's the motivation?  It seems (naively, I'm sure)
>> that you could start the MR from within the same JVM.
>> 
>> Thanks,
>> 
>> -- Philip
>> 


Mime
View raw message