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

HbaseCredentialProvider uses wrong classloader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0, 2.2.0
    • 2.1.1, 2.2.0
    • Spark Core, YARN
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: