On Wed, Nov 30, 2011 at 3:25 PM, Zhang Xiaoyu <zhangxiaoyu...@gmail.com>wrote:

> Hello, Everyone:
> I am trying to run the Pig e2e test. I found the source from repo
> http://svn.apache.org/repos/asf/pig/branches/branch-0.9/test/e2e/
> And there is a post describes how to kick of the run
> https://cwiki.apache.org/confluence/display/PIG/HowToTest.
>
> However, the post is not clear to me, for example, which location should
>
In your PIG_HOME

> run the command ant -Dharness.old.pig=old_pig
> -Dharness.cluster.conf=hadoop_conf_dir -Dharness.cluster.bin=hadoop_script
> test-e2e-deploy-local ? Since under e2e/harness/, there is no such a file
> called "e2e-deploy-local".

It is an ant target. So use ant to run it

> The top level kick off script seems is
> test_harness.pl. I cannot kick off this script directly, seems need to
> create database, and table manually in advance, otherwise the script
> aborted.
>
ant will invoke test_harness.pl using the right parameters.

>
> Also, there are 4 configuration files under e2e/pig/conf/. Which one should
> I use, for different purpose?

test_harness.pl will use the right conf. Most time we use default.conf.

> like local mode, or cluster mode. Thanks for
> your help.
>
> Xiaoyu
>

Reply via email to