You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2017/08/25 18:13:00 UTC

[jira] [Commented] (HIVE-17391) Compaction fails if there is an empty value in tblproperties

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