RE: need use ant jar -Dhadoopversion=23 to build, then e2e tests works?

2014-09-27 Thread Zhang, Liyun
Have filed jira PIG-4205 and made patch for it. Please review.

Best Regards
Zhang,Liyun



-Original Message-
From: Daniel Dai [mailto:da...@hortonworks.com] 
Sent: Saturday, September 27, 2014 2:50 AM
To: dev@pig.apache.org
Subject: Re: need use ant jar -Dhadoopversion=23 to build, then e2e tests 
works?

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 rohini.adi...@gmail.com 
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 liyun.zh...@intel.com
 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.


Re: need use ant jar -Dhadoopversion=23 to build, then e2e tests works?

2014-09-26 Thread Rohini Palaniswamy
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 liyun.zh...@intel.com
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




Re: need use ant jar -Dhadoopversion=23 to build, then e2e tests works?

2014-09-26 Thread Daniel Dai
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
rohini.adi...@gmail.com 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 liyun.zh...@intel.com
 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.


need use ant jar -Dhadoopversion=23 to build, then e2e tests works?

2014-09-25 Thread Zhang, Liyun
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