You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2022/03/09 11:15:00 UTC

[jira] [Commented] (HIVE-26015) HBase table with Ranger authentication fails; needs URLEncoding

    [ https://issues.apache.org/jira/browse/HIVE-26015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17503508#comment-17503508 ] 

Stamatis Zampetakis commented on HIVE-26015:
--------------------------------------------

[~scarlin] Can you please include the stacktrace to the description so that it is easier to correlate this jira with the problem when it appears?

> HBase table with Ranger authentication fails; needs URLEncoding
> ---------------------------------------------------------------
>
>                 Key: HIVE-26015
>                 URL: https://issues.apache.org/jira/browse/HIVE-26015
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Steve Carlin
>            Assignee: Steve Carlin
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> A Create table statement is failing for HBase going through Ranger.
> The stack trace shows a problem with the getURIForAuth method.
> The table is creating someting like this:
> CREATE EXTERNAL TABLE `mytesttbl`( `field1` string COMMENT 'from deserializer',`field2` string COMMENT 'from deserializer',`field3` string COMMENT 'from deserializer',`field4` string COMMENT 'from deserializer',`field5` string COMMENT 'from deserializer',`field6` int COMMENT 'from deserializer', `field7` string COMMENT 'from deserializer', `field8` int COMMENT 'from deserializer') ROW FORMAT SERDE   'org.apache.hadoop.hive.hbase.HBaseSerDe' STORED BY    'org.apache.hadoop.hive.hbase.HBaseStorageHandler'  WITH SERDEPROPERTIES (   'hbase.columns.mapping'=':key,field1,field2,field3,field4,field5#b,field6,cf:field7#b','serialization.format'='1')  TBLPROPERTIES (   'hbase.table.name'='mytesttbl');
> Essentially, the SERDEPROPERTIES contain hash tabs which is causing a problem when creating a URI



--
This message was sent by Atlassian Jira
(v8.20.1#820001)