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

Fix documentation for StateStoreRecordOperations#get(Class ..., Query ...)

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      For StateStoreRecordOperations#get(Class ..., Query ...), when multiple records match, the documentation says a null value should be returned and an IOException should be thrown. Both can't happen.

      I believe the intended behavior is that an IOException is thrown. This is the implementation inĀ StateStoreBaseImpl.

      Attachments

        Issue Links

          Activity

            People

              simbadzina Simbarashe Dzinamarira
              simbadzina Simbarashe Dzinamarira
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: