[ 
https://issues.apache.org/jira/browse/PIG-2881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486519#comment-13486519
 ] 

Joel Costigliola commented on PIG-2881:
---------------------------------------

No I did not set umask 0022 because it was not mentioned to do so in the 
contributor guide : https://cwiki.apache.org/PIG/howtocontribute.html.

TestStore failures :

{noformat}
Testcase: testStoreRemoteRel took 0.028 sec
        FAILED
expected:<...> but was:<hdfs://joe-desktop:43074...>

...

Testcase: testStoreRemoteRelScheme took 0.04 sec
        FAILED
expected:<...> but was:<hdfs://joe-desktop:43074...>
{noformat}


TestLoad failures :

{noformat}
Testcase: testLoadRemoteRel took 0.333 sec
        FAILED
expected:<[hdfs://joe-desktop:49682]/tmp/test> but was:<[]/tmp/test>
junit.framework.AssertionFailedError: 
expected:<[hdfs://joe-desktop:49682]/tmp/test> but was:<[]/tmp/test>
        at org.apache.pig.test.TestLoad.checkLoadPath(TestLoad.java:332)
        at org.apache.pig.test.TestLoad.checkLoadPath(TestLoad.java:300)
        at org.apache.pig.test.TestLoad.testLoadRemoteRel(TestLoad.java:122)

Testcase: testLoadRemoteAbs took 0.074 sec
Testcase: testLoadRemoteRelScheme took 0.03 sec
        FAILED
expected:<[hdfs://joe-desktop:49682]/tmp/test> but was:<[]/tmp/test>
junit.framework.AssertionFailedError: 
expected:<[hdfs://joe-desktop:49682]/tmp/test> but was:<[]/tmp/test>
        at org.apache.pig.test.TestLoad.checkLoadPath(TestLoad.java:332)
        at org.apache.pig.test.TestLoad.checkLoadPath(TestLoad.java:300)
        at 
org.apache.pig.test.TestLoad.testLoadRemoteRelScheme(TestLoad.java:139)

Testcase: testLoadRemoteAbsScheme took 27.36 sec
Testcase: testLoadRemoteAbsAuth took 0.083 sec
        FAILED
expected:<[hdfs://joe-desktop:49682]/test> but was:<[]/test>
junit.framework.AssertionFailedError: 
expected:<[hdfs://joe-desktop:49682]/test> but was:<[]/test>
        at org.apache.pig.test.TestLoad.checkLoadPath(TestLoad.java:332)
        at org.apache.pig.test.TestLoad.checkLoadPath(TestLoad.java:300)
        at org.apache.pig.test.TestLoad.testLoadRemoteAbsAuth(TestLoad.java:158)

Testcase: testLoadRemoteNormalize took 0.041 sec
Testcase: testGlobChars took 0.035 sec
        FAILED
expected:<[hdfs://joe-desktop:49682]/tmp/t?s*> but was:<[]/tmp/t?s*>
junit.framework.AssertionFailedError: 
expected:<[hdfs://joe-desktop:49682]/tmp/t?s*> but was:<[]/tmp/t?s*>
        at org.apache.pig.test.TestLoad.checkLoadPath(TestLoad.java:332)
        at org.apache.pig.test.TestLoad.checkLoadPath(TestLoad.java:300)
        at org.apache.pig.test.TestLoad.testGlobChars(TestLoad.java:174)

Testcase: testCommaSeparatedString took 0.031 sec
        FAILED
expected:<[hdfs://joe-desktop:49682/tmp/usr/pig/a,hdfs://joe-desktop:49682]/tmp/usr/pig/b>
 but was:<[/tmp/usr/pig/a,]/tmp/usr/pig/b>
junit.framework.AssertionFailedError: 
expected:<[hdfs://joe-desktop:49682/tmp/usr/pig/a,hdfs://joe-desktop:49682]/tmp/usr/pig/b>
 but was:<[/tmp/usr/pig/a,]/tmp/usr/pig/b>
        at org.apache.pig.test.TestLoad.checkLoadPath(TestLoad.java:332)
        at org.apache.pig.test.TestLoad.checkLoadPath(TestLoad.java:300)
        at 
org.apache.pig.test.TestLoad.testCommaSeparatedString(TestLoad.java:182)

Testcase: testCommaSeparatedString2 took 0.045 sec
        FAILED
expected:<[hdfs://joe-desktop:49682/tmp/t?s*,hdfs://joe-desktop:49682]/tmp/test>
 but was:<[/tmp/t?s*,]/tmp/test>
junit.framework.AssertionFailedError: 
expected:<[hdfs://joe-desktop:49682/tmp/t?s*,hdfs://joe-desktop:49682]/tmp/test>
 but was:<[/tmp/t?s*,]/tmp/test>
        at org.apache.pig.test.TestLoad.checkLoadPath(TestLoad.java:332)
        at org.apache.pig.test.TestLoad.checkLoadPath(TestLoad.java:300)
        at 
org.apache.pig.test.TestLoad.testCommaSeparatedString2(TestLoad.java:190)

Testcase: testCommaSeparatedString3 took 23.653 sec
Testcase: testCommaSeparatedString4 took 0.094 sec
        FAILED
expected:<[hdfs://joe-desktop:49682/tmp/usr/pig/{a,c},hdfs://joe-desktop:49682]/tmp/usr/pig/b>
 but was:<[/tmp/usr/pig/{a,c},]/tmp/usr/pig/b>
junit.framework.AssertionFailedError: 
expected:<[hdfs://joe-desktop:49682/tmp/usr/pig/{a,c},hdfs://joe-desktop:49682]/tmp/usr/pig/b>
 but was:<[/tmp/usr/pig/{a,c},]/tmp/usr/pig/b>
        at org.apache.pig.test.TestLoad.checkLoadPath(TestLoad.java:332)
        at org.apache.pig.test.TestLoad.checkLoadPath(TestLoad.java:300)
        at 
org.apache.pig.test.TestLoad.testCommaSeparatedString4(TestLoad.java:218)

Testcase: testCommaSeparatedString5 took 0.035 sec
        FAILED
expected:</usr/pig/{a,c},[hdfs://joe-desktop:49682]/tmp/usr/pig/b> but 
was:</usr/pig/{a,c},[]/tmp/usr/pig/b>
junit.framework.AssertionFailedError: 
expected:</usr/pig/{a,c},[hdfs://joe-desktop:49682]/tmp/usr/pig/b> but 
was:</usr/pig/{a,c},[]/tmp/usr/pig/b>
        at org.apache.pig.test.TestLoad.checkLoadPath(TestLoad.java:332)
        at org.apache.pig.test.TestLoad.checkLoadPath(TestLoad.java:300)
        at 
org.apache.pig.test.TestLoad.testCommaSeparatedString5(TestLoad.java:226)

Testcase: testCommaSeparatedString6 took 0.04 sec
        FAILED
expected:<[hdfs://joe-desktop:49682]/tmp/usr/pig/{a,c},/...> but 
was:<[]/tmp/usr/pig/{a,c},/...>
junit.framework.AssertionFailedError: 
expected:<[hdfs://joe-desktop:49682]/tmp/usr/pig/{a,c},/...> but 
was:<[]/tmp/usr/pig/{a,c},/...>
        at org.apache.pig.test.TestLoad.checkLoadPath(TestLoad.java:332)
        at org.apache.pig.test.TestLoad.checkLoadPath(TestLoad.java:300)
        at 
org.apache.pig.test.TestLoad.testCommaSeparatedString6(TestLoad.java:246)

Testcase: testNonDfsLocation took 0.06 sec
{noformat}

I can attach the log files if you want (note that TestStore.txt is 1.1MB large).
                
> Add SUBTRACT eval function
> --------------------------
>
>                 Key: PIG-2881
>                 URL: https://issues.apache.org/jira/browse/PIG-2881
>             Project: Pig
>          Issue Type: New Feature
>          Components: piggybank
>    Affects Versions: 0.10.0
>            Reporter: Joel Costigliola
>            Priority: Minor
>         Attachments: Subtract.java, SubtractTest.java
>
>
> Close to DIFF function but SUBTRACT(bag1, bag2) will subtract elements of 
> bag2 from bag1.
>   

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to