Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-20059

HbaseCredentialProvider uses wrong classloader

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0, 2.2.0
    • Fix Version/s: 2.1.1, 2.2.0
    • Component/s: YARN
    • Labels:
      None

      Description

      HBaseCredentialProvider uses system classloader instead of child classloader, which will make HBase jars specified with --jars fail to work, so here we should use the right class loader.

      Besides in yarn cluster mode jars specified with --jars is not added into client's class path, which will make it fail to load HBase jars and issue tokens in our scenario. Also some customized credential provider cannot be registered into client.

      So here I will fix this two issues.

        Attachments

          Activity

            People

            • Assignee:
              jerryshao Saisai Shao
              Reporter:
              jerryshao Saisai Shao
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: