hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3396) hive.stats.reliable config causes FileSinkOperator to fail when writing empty file
Date Sat, 18 Aug 2012 15:07:38 GMT

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

Namit Jain commented on HIVE-3396:
----------------------------------

+1

Kevin, can you take care of committing this after running the tests etc.

                
> hive.stats.reliable config causes FileSinkOperator to fail when writing empty file
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-3396
>                 URL: https://issues.apache.org/jira/browse/HIVE-3396
>             Project: Hive
>          Issue Type: Bug
>          Components: Statistics
>    Affects Versions: 0.10.0
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>         Attachments: HIVE-3396.1.patch.txt
>
>
> With the configs hive.stats.reliable and hive.stats.autogather are set to true, and using
either the HBase or JDBC Stats Publishers, if a FileSinkOperator does not receive any rows,
and hence collects no stats, it will throw an exception.
> Related, if hive.stats.reliable is set to false it will still log a warning which seems
unnecessary.
> Repro:
> create table tmptable(key string, value string) partitioned by (part string);
> set hive.stats.autogather=true;
> set hive.stats.reliable=true;
> insert overwrite table tmptable partition (part = '1') select * from src where key =
'no_such_value';

--
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

        

Mime
View raw message