[
https://issues.apache.org/jira/browse/HIVE-13844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Svetozar Ivanov updated HIVE-13844:
-----------------------------------
Assignee: Svetozar Ivanov
> 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
> Assignee: Svetozar Ivanov
> Priority: Minor
> Fix For: 2.1.0
>
> 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)