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

InodeTree.java has redundant check for vName while throwing exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 2.7.3, 3.0.0-alpha1
    • fs
    • None
    • 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

              amalakar Arup Malakar
              amalakar Arup Malakar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: