hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <>
Subject [jira] [Commented] (HIVE-10091) Generate Hbase execution plan for partition filter conditions in HbaseStore api calls - initial changes
Date Thu, 26 Mar 2015 16:21:54 GMT


Alan Gates commented on HIVE-10091:

When I run this against a real hbase instance I get:
Caused by: MetaException(message:java.lang.NullPointerException)
    at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.newMetaException(
    at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.rethrowException(
    at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.get_partitions_by_expr(
    at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.listPartitionsByExpr(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.apache.hadoop.hive.metastore.HiveMetaStoreClientTimingProxy.invoke(
    at com.sun.proxy.$Proxy14.listPartitionsByExpr(Unknown Source)
    at org.apache.hadoop.hive.ql.metadata.Hive.getPartitionsByExpr(
    at org.apache.hadoop.hive.ql.optimizer.ppr.PartitionPruner.getPartitionsFromServer(
    ... 48 more
Caused by: java.lang.NullPointerException
    at org.apache.hadoop.hive.metastore.hbase.HBaseFilterPlanUtil.getFilterPlan(
    at org.apache.hadoop.hive.metastore.hbase.HBaseStore.getPartitionsByExprInternal(
    at org.apache.hadoop.hive.metastore.hbase.HBaseStore.getPartitionsByExpr(
    at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.get_partitions_by_expr(

> Generate Hbase execution plan for partition filter conditions in HbaseStore api calls
- initial changes
> -------------------------------------------------------------------------------------------------------
>                 Key: HIVE-10091
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Metastore
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: hbase-metastore-branch
>         Attachments: HIVE-10091.1.patch, HIVE-10091.2.patch
> RawStore functions that support partition filtering are the following - 
> getPartitionsByExpr
> getPartitionsByFilter (takes filter string as argument, used from hcatalog)
> We need to generate a query execution plan in terms of Hbase scan api calls for a given
filter condition.

This message was sent by Atlassian JIRA

View raw message