Hadoop Common
  1. Hadoop Common
  2. HADOOP-7661

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

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.20.205.0
    • Fix Version/s: 0.20.205.0
    • Component/s: None
    • Labels:
      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)
      ....

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jitendra Nath Pandey
            Reporter:
            Jitendra Nath Pandey
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:

              Development