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

Unable to loadFSEdits due to a failure in readCachePoolInfo

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: caching, namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Recently some tests are failing and unable to loadFSEdits due to a failure in readCachePoolInfo.
      Here in below code
      FSImageSerialization.java

        }
          if ((flags & ~0x2F) != 0) {
            throw new IOException("Unknown flag in CachePoolInfo: " + flags);
          }
      

      When all values of CachePool variable set to true, flags value & ~0x2F turns out to non zero value. So, this condition failing due to the addition of 0x20 and changing &ing value from ~0x1F to ~0x2F.
      May be to fix this issue, we may can change multiply value to ~0x3F

        Attachments

        1. HDFS-10555-00.patch
          0.8 kB
          Uma Maheswara Rao G

          Issue Links

            Activity

              People

              • Assignee:
                umamaheswararao Uma Maheswara Rao G
                Reporter:
                umamaheswararao Uma Maheswara Rao G
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: