如何测试猪脚本
问题描述:
I am new to Hadoop i need to testing the pig scripts could you please tell how to testing the pig scripts in pigunit testing.
我尝试下面的cmds。如何测试猪脚本
蚂蚁罐子pigunit-JAR从猪回家路
它不给任何jar文件,以使测试猪脚本。
我无法理解上面的这个程序,请详细解释一下
谢谢。
答
要编译PigUnit,请从Pig trunk中运行下面显示的命令。编译将创建pigunit.jar文件。
$pig_trunk ant pigunit-jar
您可以在这里参考PigUnit documentation。