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

Dongjoon Hyun commented on SPARK-26432:
---------------------------------------

Thank you for reporting, [~S71955].
If you update the JIRA description with a reproducible example, that would be 
helpful. I have two questions.
- HBase 2.1 is the only one broken among HBase versions? Could you link the 
Apache HBase issue which removes that API here?
- Is it enough to make `HBaseDelegationTokenProvider` support HBase 2.1?

> Not able to connect Hbase 2.1 service Getting NoSuchMethodException while 
> trying to obtain token from Hbase 2.1 service.
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-26432
>                 URL: https://issues.apache.org/jira/browse/SPARK-26432
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.3.2, 2.4.0
>            Reporter: Sujith
>            Priority: Major
>         Attachments: hbase-dep-obtaintok.png
>
>
> Getting NoSuchMethodException :
> org.apache.hadoop.hbase.security.token.TokenUtil(org.apache.hadoop.conf.Configuration)
> while trying  connect hbase 2.1 service from spark.
> This is mainly happening because in spark uses  a deprecated hbase api 
> public static Token<AuthenticationTokenIdentifier> obtainToken(Configuration 
> conf)  
> for obtaining the token and the same has been removed from hbase 2.1 version.
>  
> Attached the snapshot of error logs



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to