Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-4096

SSLFactory should pickup configs from incoming conf payload

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • None
    • None

    Description

      SSLFactory uses "String" instead of "Path" for adding "ssl-client.xml". When addResource is invoked with string, Configuration tries to find it in classloader and does not load the file correctly.

      https://github.com/apache/tez/blob/master/tez-runtime-library/src/main/java/org/apache/tez/http/SSLFactory.java#L107

      Conf: https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java#L3064

      This creates issue when ssl-client.xml is located in different path other than the classpath.

      Attachments

        1. TEZ-4096.3.patch
          4 kB
          Rajesh Balamohan
        2. TEZ-4096.2.patch
          2 kB
          Rajesh Balamohan
        3. TEZ-4096.1.patch
          1 kB
          Rajesh Balamohan

        Activity

          People

            rajesh.balamohan Rajesh Balamohan
            rajesh.balamohan Rajesh Balamohan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: