Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-10478

fullBlockData map value in MockDatanodeStorage should ideally hold ByteString

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • test
    • None

    Description

      Credit: weichiu

      fullBlockData map value in MockDatanodeStorage should ideally hold ByteString rather than String. The idea is that it should hold the same type as data:

        private final Map<BlockID, String> fullBlockData = new HashMap<>();
      
        private final Map<String, ChunkInfo> chunks = new HashMap<>();
      
        private final Map<String, ByteString> data = new HashMap<>();
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            smeng Siyao Meng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: