2016-04-22 167 views
0
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文件,以使測試豬腳本。

我無法理解上面的這個程序,請詳細解釋一下

謝謝。

回答

0

要編譯PigUnit,請從Pig trunk中運行下面顯示的命令。編譯將創建pigunit.jar文件。

$pig_trunk ant pigunit-jar 

您可以在這裏參考PigUnit documentation