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

Ted Malaska commented on HBASE-15184:
-------------------------------------

ok I'm back from vacation I will try to finish a patch by mid week.

[~asrabkin] the problem is really simple.  If a scan operation is the first 
operation you are doing in your spark context (you haven't done a map or 
foreach yet for example)  Then the readers will not have the kerberos creds 
applied yet and the scan will fail.  

In the Zip file and in https://github.com/tmalaska/SparkOnHBase I solved this 
in one way that required a extension of class that I shouldn't have extended.  
Sense the creation of this Jira I had a vacation and on that vacation I figured 
out how to implement this solution with out doing that extension that is a no 
no.

I have a busy week, but I will try to get this jira in.

Thx

> SparkSQL Scan operation doesn't work on kerberos cluster
> --------------------------------------------------------
>
>                 Key: HBASE-15184
>                 URL: https://issues.apache.org/jira/browse/HBASE-15184
>             Project: HBase
>          Issue Type: Bug
>          Components: spark
>            Reporter: Ted Malaska
>            Assignee: Ted Malaska
>            Priority: Critical
>             Fix For: 2.0.0
>
>         Attachments: HBaseSparkModule.zip
>
>
> I was using the HBase Spark Module at a client with Kerberos and I ran into 
> an issue with the Scan.  
> I made a fix for the client but we need to put it back into HBase.  I will 
> attach my solution, but it has a major problem.  I had to over ride a 
> protected class in spark.  I will need help to decover a better approach



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to