Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11555

Fix typos in class OfflineImageReconstructor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.0.0-alpha2
    • 3.0.0-alpha4
    • None
    • None

    Description

      There are two typos in method OfflineImageReconstructor#readVersion.

      The relevant codes:

        private void readVersion() throws IOException {
          try {
            expectTag("version", false);
          } catch (IOException e) {
            // Handle the case where <version> does not exist.
            // Note: fsimage XML files which are missing <version> are also missing
            // many other fields that ovi needs to accurately reconstruct the
            // fsimage.
            throw new IOException("No <version> section found at the top of " +
                "the fsimage XML.  This XML file is too old to be processed " +
                "by ovi.", e);
          }
         ...
      }
      

      Here the tool name ovi should be oiv.

      Attachments

        1. HDFS-11555.001.patch
          1 kB
          Yiqun Lin

        Activity

          People

            linyiqun Yiqun Lin
            linyiqun Yiqun Lin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: