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'
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; } }
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.