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

InodeTree.java has redundant check for vName while throwing exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 2.7.3, 3.0.0-alpha1
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      337	    if (!gotMountTableEntry) {
      338	      throw new IOException(
      339	          "ViewFs: Cannot initialize: Empty Mount table in config for " + 
      340	             vName == null ? "viewfs:///" : ("viewfs://" + vName + "/"));
      341	    }
      

      The vName is always non-null due to checks/assignments done prior to this code segment.

        Attachments

        1. HDFS-4280_trunk_1.patch
          1 kB
          Arup Malakar
        2. HDFS-4280_trunk.patch
          0.9 kB
          Arup Malakar

          Issue Links

            Activity

              People

              • Assignee:
                amalakar Arup Malakar
                Reporter:
                amalakar Arup Malakar
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: