On Wed, Aug 25, 2010 at 1:07 AM, lei liu <liulei...@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>