Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5893

HftpFileSystem.RangeHeaderUrlOpener uses the default URLConnectionFactory which does not import SSL certificates

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • None
    • None
    • Reviewed

    Description

      When HftpFileSystem tries to get the data, it create a RangeHeaderUrlOpener object to open a HTTP / HTTPS connection to the NN. However, HftpFileSystem.RangeHeaderUrlOpener uses the default URLConnectionFactory. It does not import the SSL certificates from ssl-client.xml. Therefore HsftpFileSystem fails.

      To fix this bug, HftpFileSystem.RangeHeaderUrlOpener needs to use the same URLConnectionFactory as the one used by HftpFileSystem.

      Attachments

        1. HDFS-5893.000.patch
          8 kB
          Haohui Mai

        Activity

          People

            wheat9 Haohui Mai
            yeshavora Yesha Vora
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: