[jira] [Updated] (HDFS-16886) Fix documentation for StateStoreRecordOperations#get(Class ..., Query ...)
[ https://issues.apache.org/jira/browse/HDFS-16886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shilun Fan updated HDFS-16886: -- Component/s: documentation Hadoop Flags: Reviewed Target Version/s: 3.3.6, 3.4.0 Affects Version/s: 3.3.6 3.4.0 > 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 > Components: documentation >Affects Versions: 3.4.0, 3.3.6 >Reporter: Simbarashe Dzinamarira >Assignee: Simbarashe Dzinamarira >Priority: Trivial > Labels: pull-request-available > Fix For: 3.4.0, 3.3.6 > > > 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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-16886) Fix documentation for StateStoreRecordOperations#get(Class ..., Query ...)
[ https://issues.apache.org/jira/browse/HDFS-16886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Takanobu Asanuma updated HDFS-16886: Fix Version/s: 3.3.9 (was: 3.3.5) > 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 >Assignee: Simbarashe Dzinamarira >Priority: Trivial > Labels: pull-request-available > Fix For: 3.4.0, 3.3.9 > > > 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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-16886) Fix documentation for StateStoreRecordOperations#get(Class ..., Query ...)
[ https://issues.apache.org/jira/browse/HDFS-16886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated HDFS-16886: -- Labels: pull-request-available (was: ) > 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 >Assignee: Simbarashe Dzinamarira >Priority: Trivial > Labels: pull-request-available > > 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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org