You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Simbarashe Dzinamarira (Jira)" <ji...@apache.org> on 2023/01/10 21:10:00 UTC

[jira] [Created] (HDFS-16886) Fix documentation for StateStoreRecordOperations#get(Class ..., Query ...)

Simbarashe Dzinamarira created HDFS-16886:
---------------------------------------------

             Summary: Fix documentation for StateStoreRecordOperations#get(Class ..., Query ...)
                 Key: HDFS-16886
                 URL: https://issues.apache.org/jira/browse/HDFS-16886
             Project: Hadoop HDFS
          Issue Type: Task
            Reporter: Simbarashe Dzinamarira


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{*}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org