Hadoop Common
  1. Hadoop Common
  2. HADOOP-5314

needToSave incorrectly calculated in loadFSImage()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.19.0
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      FSImage.loadFSImage() incorrectly calculates the value of needToSave, which is always true and results in saving image at startup even if that is not necessary.

      1. HADOOP-5314.patch
        10 kB
        Jakob Homan
      2. HADOOP-5314.patch
        9 kB
        Jakob Homan
      3. HADOOP-5314.patch
        9 kB
        Jakob Homan

        Issue Links

          Activity

          Konstantin Shvachko created issue -
          Konstantin Shvachko made changes -
          Field Original Value New Value
          Component/s dfs [ 12310710 ]
          Konstantin Shvachko made changes -
          Description {{FSImage.loadFSImage()}} incorrectly calculates the value of {{needToSave }}, which is always true and results in saving image at startup even if that is not necessary. {{FSImage.loadFSImage()}} incorrectly calculates the value of {{needToSave}}, which is always true and results in saving image at startup even if that is not necessary.
          Jakob Homan made changes -
          Assignee Jakob Homan [ jghoman ]
          Jakob Homan made changes -
          Attachment HADOOP-5314.patch [ 12407641 ]
          Jakob Homan made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Jakob Homan made changes -
          Attachment HADOOP-5314.patch [ 12408209 ]
          Jakob Homan made changes -
          Attachment HADOOP-5314.patch [ 12408209 ]
          Jakob Homan made changes -
          Attachment HADOOP-5314.patch [ 12408210 ]
          Jakob Homan made changes -
          Attachment HADOOP-5314.patch [ 12408270 ]
          Konstantin Shvachko made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Fix Version/s 0.21.0 [ 12313563 ]
          Fix Version/s 0.19.2 [ 12313650 ]
          Resolution Fixed [ 1 ]
          Owen O'Malley made changes -
          Component/s dfs [ 12310710 ]
          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Todd Lipcon made changes -
          Link This issue is related to HDFS-1981 [ HDFS-1981 ]

            People

            • Assignee:
              Jakob Homan
              Reporter:
              Konstantin Shvachko
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development