Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14032 [libhdfs++] Phase 2 improvements
  3. HDFS-10411

libhdfs++: Incorrect parse of URIs from hdfs-site.xml

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      It looks like the URI class confuses the host and scheme if the original URI didn't have a scheme.

      Example from hdfs-site.xml. Config generated using the cloudera MC.

          <name>dfs.namenode.servicerpc-address.nameservice1.namenode86</name>
          <value>this-is-node-01.duder.com:8022</value>
      

      host = empty string
      port = unset optional
      scheme = this-is-node-01.duder.com

      Attachments

        Activity

          People

            Unassigned Unassigned
            James Clampffer James Clampffer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: