hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-17391) Compaction fails if there is an empty value in tblproperties
Date Fri, 25 Aug 2017 18:13:00 GMT

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

Ashutosh Chauhan commented on HIVE-17391:
-----------------------------------------

Stacktrace
{code}
Exception running child : java.lang.NullPointerException
  at java.util.Hashtable.put(Hashtable.java:459)
  at java.util.Hashtable.putAll(Hashtable.java:523)
  at org.apache.hadoop.hive.common.StringableMap.toProperties(StringableMap.java:77)
  at org.apache.hadoop.hive.ql.txn.compactor.CompactorMR$CompactorMap.getWriter(CompactorMR.java:660)
  at org.apache.hadoop.hive.ql.txn.compactor.CompactorMR$CompactorMap.map(CompactorMR.java:636)
  at org.apache.hadoop.hive.ql.txn.compactor.CompactorMR$CompactorMap.map(CompactorMR.java:610)
{code}


> Compaction fails if there is an empty value in tblproperties
> ------------------------------------------------------------
>
>                 Key: HIVE-17391
>                 URL: https://issues.apache.org/jira/browse/HIVE-17391
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore, Transactions
>    Affects Versions: 2.2.0, 2.3.0
>            Reporter: Ashutosh Chauhan
>
> create table t1 (a int) tblproperties ('serialization.null.format'='');
> alter table t1 compact 'major';
> fails



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message