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

Unable to loadFSEdits due to a failure in readCachePoolInfo

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.9.0
    • 2.9.0, 3.0.0-alpha1
    • caching, namenode
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment