[GitHub] [carbondata] BJangir opened a new pull request #3240: [CARBONDATA-3400] Support IndexSever for Spark-Shell for in secure Mode

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] BJangir opened a new pull request #3240: [CARBONDATA-3400] Support IndexSever for Spark-Shell for in secure Mode

GitBox
BJangir opened a new pull request #3240: [CARBONDATA-3400] Support IndexSever for Spark-Shell for in secure Mode
URL: https://github.com/apache/carbondata/pull/3240
 
 
   ### Problem
   In spark-shell OR Spark-Submit mode, Application user  and  IndexServer User are different .
   Application user is based on Kinit user OR based on spark.yarn.principle user whereas Indexserver user is based on spark.carbon.indexserver.principal . it is possible that both are different as Indexserver should have it's own authentication principle and should not depend on Application principle so that any application's Query(Thrifserver,Spark-shell,Spark-sql,Spark-Submit)  can be served from IndexServer.
   
   ### Solution
   Authenticate the IndexServer by it's own principle and keytab.
   keytab is required so that long run application (client and indexserver ) does not impacted on token expire.
   
   Note:- Spark-default.conf of Thriftserver (beeline), spark-submit ,spark-sql  should have both spark.carbon.indexserver.principal and spark.carbon.indexserver.keytab.  
   
   
   
   
   
   Be sure to do all of the following checklist to help us incorporate
   your contribution quickly and easily:
   
    - [ ] Any interfaces changed?
    NA
    - [ ] Any backward compatibility impacted?
    NA
    - [ ] Document update required?
   NA
    - [ ] Testing done
           Please provide details on
           - Whether new unit test cases have been added or why no new tests are required?
           - How it is tested? Please attach test report.
           - Is it a performance related change? Please attach the performance test report.
           - Any additional information to help reviewers in testing this change.
        Manually tested  
    - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
   NA
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services