You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Patrick Hunt (Updated) (JIRA)" <ji...@apache.org> on 2012/01/17 21:11:40 UTC
[jira] [Updated] (PIG-2477) TestBuiltin testLFText/testSFPig
failing against 23 due to invalid test setup -- InvalidInputException
[ https://issues.apache.org/jira/browse/PIG-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated PIG-2477:
------------------------------
Status: Patch Available (was: Open)
> TestBuiltin testLFText/testSFPig failing against 23 due to invalid test setup -- InvalidInputException
> ------------------------------------------------------------------------------------------------------
>
> Key: PIG-2477
> URL: https://issues.apache.org/jira/browse/PIG-2477
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.9.2
> Environment: ubuntu, hadoop23
> Reporter: Patrick Hunt
> Attachments: PIG-2477.patch
>
>
> I see the following exception when running against hadoop 23: (all test-commit tests pass except for these two)
> {noformat}
> org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exist: file:/var/lib/hudson/workspace/CDH4-Pig-0.9.2-test-commit/testSFPig-output.txt
> at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.listStatus(FileInputFormat.java:243)
> at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigTextInputFormat.listStatus(PigTextInputFormat.java:36)
> at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.getSplits(FileInputFormat.java:269)
> at org.apache.pig.impl.io.ReadToEndLoader.init(ReadToEndLoader.java:154)
> at org.apache.pig.impl.io.ReadToEndLoader.<init>(ReadToEndLoader.java:116)
> at org.apache.pig.test.TestBuiltin.testSFPig(TestBuiltin.java:2177)
> {noformat}
> This happens in both testLFText/testSFPig.
> Looking at these two tests it seems that toConfiguration is being called improperly, I have a patch (momentarily) that will address this similar to:
> {noformat}
> - toConfiguration(new Properties()), "testLFTest-input1.txt", 0);
> + toConfiguration(cluster.getProperties()), "testLFTest-input1.txt", 0);
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira