You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by lei liu <li...@gmail.com> on 2010/08/25 07:07:03 UTC

hwo to hive add hive_exec.jar to hadoop

When hadoop one job which is submmited by hive,  hadoop need the
hive_exec.jar,  hwo to  hive add hive_exec.jar to hadoop?
Please tell me the where are codes in hive.

Thanks,

LiuLei

Re: hwo to hive add hive_exec.jar to hadoop

Posted by Edward Capriolo <ed...@gmail.com>.
On Wed, Aug 25, 2010 at 1:07 AM, lei liu <li...@gmail.com> wrote:
> When hadoop one job which is submmited by hive,  hadoop need the
> hive_exec.jar,  hwo to  hive add hive_exec.jar to hadoop?
> Please tell me the where are codes in hive.
>
> Thanks,
>
> LiuLei
>

I think what you are looking for is a job that requires both hadoop
and hive libs.

If so, hive has a service 'switch' to run a hybrid hadoop/ hive job.

# hive --service jar --help
Used for applications that require Hadoop and Hive classpath and environment.
./hive --service jar <yourjar> <yourclass> HIVE_OPTS <your_args>