Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-11524

Ozone: Fix TestContainerPersistence failures

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • HDFS-7240
    • None
    • None
    • None

    Description

      testInvalidKeyRead/testDeleteKeyTwice/testDeleteKey expect the following exception from KeyManagerImpl.java.

      StorageContainerException("Unable to find the key.", NO_SUCH_KEY);
      

      The expected exception was caught and reinterpreted to a different StorageContainerException in Dispatcher#handleGetSmallFile() as below

       catch (IOException e) {
            throw new StorageContainerException("Unable to decode protobuf", e,
                GET_SMALL_FILE_ERROR);
          }
      

      Attachments

        Issue Links

          Activity

            People

              xyao Xiaoyu Yao
              xyao Xiaoyu Yao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: