[ 
https://issues.apache.org/jira/browse/PIG-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cheolsoo Park updated PIG-3531:
-------------------------------

    Attachment: PIG-3531-4.patch

I had a minor bug in ant script. I fixed it in a new patch as follows:
{code:title=from}
+    <condition property="test.exec.type" value="mr">
+        <!-- By default, test.exec.type is mapreduce -->
+        <not>
+            <isset property="${exectype}"/> <--- THIS SHOULD BE exectype!
+        </not>
+    </condition>
{code}
{code:title=to}
+    <condition property="test.exec.type" value="${exectype}" else="tez">
+        <!-- By default, test.exec.type is tez -->
+        <isset property="exectype"/>
+    </condition>
{code}

I tested the patch on Ubuntu and Mac, and it works on both. I will commit it 
shortly.

> Add TezMiniCluster for unit tests
> ---------------------------------
>
>                 Key: PIG-3531
>                 URL: https://issues.apache.org/jira/browse/PIG-3531
>             Project: Pig
>          Issue Type: Sub-task
>          Components: tez
>    Affects Versions: tez-branch
>            Reporter: Cheolsoo Park
>            Assignee: Cheolsoo Park
>             Fix For: tez-branch
>
>         Attachments: PIG-3531-1.patch, PIG-3531-2.patch, PIG-3531-3.patch, 
> PIG-3531-4.patch
>
>
> We need to add TezMiniCluster to write unit tests.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to