hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Yang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-953) script_broken_pipe3.q broken
Date Mon, 30 Nov 2009 23:26:20 GMT

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

Paul Yang updated HIVE-953:

    Attachment: HIVE-953.2.patch

Sorry for the confusion - there were changes to the open source repository that weren't propagated
to the FB repository.

Anyway, the problem is that there was a change to ScriptOperator that broke the test. The
change always reported the exit value of the script as 0, meaning that it was always successful.
Since the test was expecting the script to fail with an error code, the negative test broke.
Removing 'set hive.exec.script.allow.partial.consumption = true' allowed the negative test
to pass as disallowing partial consumption would result in a broken pipe exception and masked
the fact that the error code was incorrect.

In the 2nd patch, I fixed this and included the modifications for the other two tests as well.

> script_broken_pipe3.q broken
> ----------------------------
>                 Key: HIVE-953
>                 URL: https://issues.apache.org/jira/browse/HIVE-953
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>         Attachments: HIVE-953.1.patch, HIVE-953.2.patch, script_broken_pipe3_output.txt
> The negative test script_broken_pipe3.q is broken if we allow partial consumption.
> For now, I have disabled partial consumption. Can you take a look ?

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message