Github user tgravescs commented on a diff in the pull request:

    https://github.com/apache/spark/pull/7007#discussion_r33467275
  
    --- Diff: yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala ---
    @@ -1258,10 +1258,17 @@ object Client extends Logging {
             logDebug("Attempting to fetch HBase security token.")
     
             val hbaseConf = confCreate.invoke(null, conf)
    -        val token = obtainToken.invoke(null, 
hbaseConf).asInstanceOf[Token[TokenIdentifier]]
    -        credentials.addToken(token.getService, token)
    -
    -        logInfo("Added HBase security token to credentials.")
    +        val hbaseConfGet = (param: String) => Option(confClass
    +          .getMethod("get", classOf[java.lang.String])
    +          .invoke(hbaseConf, param))
    +        val zkQuorum = hbaseConfGet("hbase.zookeeper.quorum")
    --- End diff --
    
    Any particular reason to the zookeeper.quorum conf here?  I'm guessing you 
just chose one to try.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to