pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cheolsoo Park (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-3967) Grunt fail if we running more statement after first store
Date Thu, 29 May 2014 17:03:03 GMT

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

Cheolsoo Park commented on PIG-3967:

Actually, can you change {{output}} to something like {{tempDir/testGruntValidation}} in the
test case? The {{tempDir}} is deleted by {{TestPigServer.tearDown()}}, so this seems better
than create/delete {{output}} in the pwd.

When running the test more than one time, I found {{output}} doesn't get cleaned if the test
case fails. In fact, we should always clean it up.

> Grunt fail if we running more statement after first store
> ---------------------------------------------------------
>                 Key: PIG-3967
>                 URL: https://issues.apache.org/jira/browse/PIG-3967
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.13.0
>         Attachments: PIG-3967-1.patch, PIG-3967-2.patch
> We will hit output validation fail. The issue is caused by PIG-3545. We change PigServer.Graph.validateQuery()
to invoke LogicalPlan.validate(), which will do the output validation. In Grunt mode, even
after the first store, we will compile the entire statement cache, so the first store will
be in the logical plan, validate on output fail. 
> This makes datagenerator of Pigmix fail.

This message was sent by Atlassian JIRA

View raw message