Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7661

FileSystem.getCanonicalServiceName throws NPE for any file system uri that doesn't have an authority.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.20.205.0
    • 0.20.205.0
    • None
    • None

    Description

      FileSystem.getCanonicalServiceName throws NPE for any file system uri that doesn't have an authority.

      ....
      java.lang.NullPointerException
      at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:138)
      at org.apache.hadoop.security.SecurityUtil.buildDTServiceName(SecurityUtil.java:261)
      at org.apache.hadoop.fs.FileSystem.getCanonicalServiceName(FileSystem.java:174)
      ....

      Attachments

        1. HADOOP-7661.20s.1.patch
          3 kB
          Jitendra Nath Pandey
        2. HADOOP-7661.20s.2.patch
          3 kB
          Jitendra Nath Pandey
        3. HADOOP-7661.20s.3.patch
          4 kB
          Jitendra Nath Pandey

        Activity

          People

            jnp Jitendra Nath Pandey
            jnp Jitendra Nath Pandey
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: