You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/09/01 12:35:00 UTC

[jira] [Work logged] (HIVE-26511) Fix NoClassDefFoundError in HMS for HBaseConfiguration

     [ https://issues.apache.org/jira/browse/HIVE-26511?focusedWorklogId=805507&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-805507 ]

ASF GitHub Bot logged work on HIVE-26511:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Sep/22 12:34
            Start Date: 01/Sep/22 12:34
    Worklog Time Spent: 10m 
      Work Description: ayushtkn opened a new pull request, #3569:
URL: https://github.com/apache/hive/pull/3569

   ### What changes were proposed in this pull request?
   
   Adds Hbase Jars in HMS classpath
   
   ### How was this patch tested?
   
   Tested in actual env.
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 805507)
    Remaining Estimate: 0h
            Time Spent: 10m

> Fix NoClassDefFoundError in HMS for HBaseConfiguration
> ------------------------------------------------------
>
>                 Key: HIVE-26511
>                 URL: https://issues.apache.org/jira/browse/HIVE-26511
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> While accessing Hbase tables via PySpark, the query fails with NoClassDefFoundError due to missing Hbase Jars in Classpath
> {noformat}
> java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/HBaseConfiguration
> at org.apache.hadoop.hive.hbase.HBaseStorageHandler.setConf(HBaseStorageHandler.java:134)
> at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:77)
> at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:137)
> at org.apache.hadoop.hive.ql.security.authorization.plugin.metastore.events.AlterTableEvent.getOutputHObjs(AlterTableEvent.java:125)
> at org.apache.hadoop.hive.ql.security.authorization.plugin.metastore.events.AlterTableEvent.getAuthzContext(AlterTableEvent.java:63)
> at org.apache.hadoop.hive.ql.security.authorization.plugin.metastore.HiveMetaStoreAuthorizer.buildAuthzContext(HiveMetaStoreAuthorizer.java:454)
> at org.apache.hadoop.hive.ql.security.authorization.plugin.metastore.HiveMetaStoreAuthorizer.onEvent(HiveMetaStoreAuthorizer.java:105)
> at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.firePreEvent(HiveMetaStore.java:4008)
> at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.alter_table_core(HiveMetaStore.java:5904)
> at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.alter_table_req(HiveMetaStore.java:5850){noformat}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)