[ https://issues.apache.org/jira/browse/HIVE-13844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Svetozar Ivanov updated HIVE-13844: ----------------------------------- Description: Class org.apache.hadoop.hive.ql.index.HiveIndex has invalid handler name 'org.apache.hadoop.hive.ql.AggregateIndexHandler'. The actual FQ class name is 'org.apache.hadoop.hive.ql.index.AggregateIndexHandler' {code} public static enum IndexType { AGGREGATE_TABLE("aggregate", "org.apache.hadoop.hive.ql.AggregateIndexHandler"), COMPACT_SUMMARY_TABLE("compact", "org.apache.hadoop.hive.ql.index.compact.CompactIndexHandler"), BITMAP_TABLE("bitmap","org.apache.hadoop.hive.ql.index.bitmap.BitmapIndexHandler"); private IndexType(String indexType, String className) { indexTypeName = indexType; this.handlerClsName = className; } private final String indexTypeName; private final String handlerClsName; public String getName() { return indexTypeName; } public String getHandlerClsName() { return handlerClsName; } } {code} Because all of the above statement like 'SHOW INDEXES ON MY_TABLE' doesn't work in case of configured 'org.apache.hadoop.hive.ql.index.AggregateIndexHandler' as index handler. In hive server log is observed java.lang.NullPointerException. was: Class org.apache.hadoop.hive.ql.index.HiveIndex has invalid handler name 'org.apache.hadoop.hive.ql.AggregateIndexHandler'. The actual FQ class name is 'org.apache.hadoop.hive.ql.index.AggregateIndexHandler' {code} public static enum IndexType { AGGREGATE_TABLE("aggregate", "org.apache.hadoop.hive.ql.AggregateIndexHandler"), COMPACT_SUMMARY_TABLE("compact", "org.apache.hadoop.hive.ql.index.compact.CompactIndexHandler"), BITMAP_TABLE("bitmap","org.apache.hadoop.hive.ql.index.bitmap.BitmapIndexHandler"); private IndexType(String indexType, String className) { indexTypeName = indexType; this.handlerClsName = className; } private final String indexTypeName; private final String handlerClsName; public String getName() { return indexTypeName; } public String getHandlerClsName() { return handlerClsName; } } {code} Because all of the above statement like 'SHOW INDEXES ON MY_TABLE' doesn't work as we got java.lang.NullPointerException. > Invalid index handler in org.apache.hadoop.hive.ql.index.HiveIndex class > ------------------------------------------------------------------------ > > Key: HIVE-13844 > URL: https://issues.apache.org/jira/browse/HIVE-13844 > Project: Hive > Issue Type: Bug > Components: Indexing > Affects Versions: 2.0.0 > Reporter: Svetozar Ivanov > Priority: Minor > Attachments: HIVE-13844.patch > > > Class org.apache.hadoop.hive.ql.index.HiveIndex has invalid handler name > 'org.apache.hadoop.hive.ql.AggregateIndexHandler'. The actual FQ class name > is 'org.apache.hadoop.hive.ql.index.AggregateIndexHandler' > {code} > public static enum IndexType { > AGGREGATE_TABLE("aggregate", > "org.apache.hadoop.hive.ql.AggregateIndexHandler"), > COMPACT_SUMMARY_TABLE("compact", > "org.apache.hadoop.hive.ql.index.compact.CompactIndexHandler"), > > BITMAP_TABLE("bitmap","org.apache.hadoop.hive.ql.index.bitmap.BitmapIndexHandler"); > private IndexType(String indexType, String className) { > indexTypeName = indexType; > this.handlerClsName = className; > } > private final String indexTypeName; > private final String handlerClsName; > public String getName() { > return indexTypeName; > } > public String getHandlerClsName() { > return handlerClsName; > } > } > > {code} > Because all of the above statement like 'SHOW INDEXES ON MY_TABLE' doesn't > work in case of configured > 'org.apache.hadoop.hive.ql.index.AggregateIndexHandler' as index handler. In > hive server log is observed java.lang.NullPointerException. -- This message was sent by Atlassian JIRA (v6.3.4#6332)