You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Gunther Hagleitner (JIRA)" <ji...@apache.org> on 2016/04/28 23:23:12 UTC

[jira] [Commented] (HIVE-13621) compute stats in certain cases fails with NPE

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

Gunther Hagleitner commented on HIVE-13621:
-------------------------------------------

The explain plan in the test shows this:

{noformat}
        Select Operator [SEL_9] (rows=9223372036854775807 width=1)
{noformat}

This seems horribly wrong, no? (might be unrelated, but looks serious).

> compute stats in certain cases fails with NPE
> ---------------------------------------------
>
>                 Key: HIVE-13621
>                 URL: https://issues.apache.org/jira/browse/HIVE-13621
>             Project: Hive
>          Issue Type: Bug
>          Components: HBase Metastore, Metastore
>    Affects Versions: 2.1.0, 2.0.1
>            Reporter: Vikram Dixit K
>            Assignee: Vikram Dixit K
>         Attachments: HIVE-13621.1.patch
>
>
> {code}
> FAILED: NullPointerException null
> java.lang.NullPointerException
> 	at org.apache.hadoop.hive.ql.stats.StatsUtils.getColStatistics(StatsUtils.java:693)
> 	at org.apache.hadoop.hive.ql.stats.StatsUtils.convertColStats(StatsUtils.java:739)
> 	at org.apache.hadoop.hive.ql.stats.StatsUtils.getTableColumnStats(StatsUtils.java:728)
> 	at org.apache.hadoop.hive.ql.stats.StatsUtils.collectStatistics(StatsUtils.java:183)
> 	at org.apache.hadoop.hive.ql.stats.StatsUtils.collectStatistics(StatsUtils.java:136)
> 	at org.apache.hadoop.hive.ql.stats.StatsUtils.collectStatistics(StatsUtils.java:124){code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)