[ https://issues.apache.org/jira/browse/HBASE-20375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16435611#comment-16435611 ]
Hudson commented on HBASE-20375: -------------------------------- Results for branch master [build #295 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/master/295/]: (x) *{color:red}-1 overall{color}* ---- details (if available): (/) {color:green}+1 general checks{color} -- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/master/295//General_Nightly_Build_Report/] (/) {color:green}+1 jdk8 hadoop2 checks{color} -- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/master/295//JDK8_Nightly_Build_Report_(Hadoop2)/] (x) {color:red}-1 jdk8 hadoop3 checks{color} -- For more information [see jdk8 (hadoop3) report|https://builds.apache.org/job/HBase%20Nightly/job/master/295//JDK8_Nightly_Build_Report_(Hadoop3)/] (/) {color:green}+1 source release artifact{color} -- See build output for details. > Remove use of getCurrentUserCredentials in hbase-spark module > ------------------------------------------------------------- > > Key: HBASE-20375 > URL: https://issues.apache.org/jira/browse/HBASE-20375 > Project: HBase > Issue Type: Bug > Components: spark > Reporter: Ted Yu > Assignee: Ted Yu > Priority: Major > Fix For: 3.0.0 > > Attachments: 20375.v1.txt, 20375.v2.txt > > > When compiling hbase-spark module against Spark 2.3.0 release, we would get: > {code} > [ERROR] > /a/hbase/hbase-spark/src/main/scala/org/apache/hadoop/hbase/spark/HBaseContext.scala:68: > error: value getCurrentUserCredentials is not a member of > org.apache.spark.deploy. SparkHadoopUtil > [ERROR] @transient var credentials = > SparkHadoopUtil.get.getCurrentUserCredentials() > [ERROR] ^ > [ERROR] > /a/hbase/hbase-spark/src/main/scala/org/apache/hadoop/hbase/spark/HBaseContext.scala:236: > error: value getCurrentUserCredentials is not a member of > org.apache.spark.deploy. SparkHadoopUtil > [ERROR] credentials = SparkHadoopUtil.get.getCurrentUserCredentials() > [ERROR] ^ > [ERROR] two errors found > {code} > {{getCurrentUserCredentials}} was removed by SPARK-22372. > This issue is to replace the call to {{getCurrentUserCredentials}} with call > to {{UserGroupInformation.getCurrentUser().getCredentials()}} -- This message was sent by Atlassian JIRA (v7.6.3#76005)