Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA4C818A78 for ; Thu, 28 Apr 2016 21:29:13 +0000 (UTC) Received: (qmail 67373 invoked by uid 500); 28 Apr 2016 21:29:13 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 67291 invoked by uid 500); 28 Apr 2016 21:29:13 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 67269 invoked by uid 99); 28 Apr 2016 21:29:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2016 21:29:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0721F2C1F64 for ; Thu, 28 Apr 2016 21:29:13 +0000 (UTC) Date: Thu, 28 Apr 2016 21:29:13 +0000 (UTC) From: "Gunther Hagleitner (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-13621) compute stats in certain cases fails with NPE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-13621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15263052#comment-15263052 ] Gunther Hagleitner commented on HIVE-13621: ------------------------------------------- Should be able to use: {noformat} com.google.protobuf.ByteString.EMPTY {noformat} instead of your 1 byte array. > 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)