Most probably your HADOOP_HOME is not defined correctly. Do you have
"-Dharness.hadoop.home" in the command line?

On Fri, Sep 26, 2014 at 8:21 AM, Rohini Palaniswamy
<[email protected]> wrote:
> No. Seems like a bug introduced after breaking down the fat jar. Please
> file a jira.
>
> On Thu, Sep 25, 2014 at 10:56 PM, Zhang, Liyun <[email protected]>
> wrote:
>
>> Hi all,
>>   I'm using e2e test of pig(
>> https://cwiki.apache.org/confluence/display/PIG/HowToTest#HowToTest-HowtoRune2eTests).
>> My hadoop env is hadoop1.
>> Because I use hadoop-1 , I use "ant jar" to build .
>>
>> When I execute following command:
>>
>> ant -Dharness.old.pig=old_pig -Dharness.cluster.conf=hadoop_conf_dir
>> -Dharness.cluster.bin=hadoop_script test-e2e-deploy
>>
>> following error is found:
>> 67 Going to run /home/zly/prj/oss/pig/test/e2e/pig/../../../bin/pig -e
>> mkdir /user/pig/out/root-1411632015-nightly.conf/
>>     168 Cannot locate pig-core-h2.jar. do 'ant -Dhadoopversion=23 jar',
>> and try again
>>
>>
>> It seems that I need use "ant jar -Dhadoopversion=23" to build , the
>> test-e2e-deploy can success.
>>
>> Can anyone tell me my understanding is right?
>>
>>
>> Best Regards
>> Zhang,Liyun
>>
>>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to