You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Cheolsoo Park (JIRA)" <ji...@apache.org> on 2014/06/02 19:12:02 UTC

[jira] [Updated] (PIG-3974) E2E test data generation fails in cluster mode

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

Cheolsoo Park updated PIG-3974:
-------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed to trunk. Thank you Lorand!

> E2E test data generation fails in cluster mode
> ----------------------------------------------
>
>                 Key: PIG-3974
>                 URL: https://issues.apache.org/jira/browse/PIG-3974
>             Project: Pig
>          Issue Type: Bug
>          Components: e2e harness
>    Affects Versions: 0.12.0
>            Reporter: Lorand Bendig
>            Assignee: Lorand Bendig
>             Fix For: 0.14.0
>
>         Attachments: PIG-3974.patch
>
>
> When test-e2e-deploy target is called to generate data for e2e tests, Pig fails to execute fs -mkdir /user/pig/tests/data and returns with the following error:
> {quote}
> Failed to generate data for testing: <Failed running /home/my/pig/trunk/test/e2e/pig/../../../bin/pig -e fs -mkdir /user/pig/tests/data>
> {quote}
> This issue only happens if the parent directory {{/user/pig/tests}} doesn't exist. In this case org.apache.hadoop.fs.shell.Mkdir.processNonexistentPath() throws a PathNotFoundException in the background.
> I suspect, that the full parent directories should be created along the path. LocalDeployer.pm uses mkdir -p, but ExistingClusterDeployer.pm doesn't which leads to this issue.



--
This message was sent by Atlassian JIRA
(v6.2#6252)