[
https://issues.apache.org/jira/browse/HDFS-9413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15003365#comment-15003365
]
Ming Ma commented on HDFS-9413:
-------------------------------
Thanks [~brahmareddy]. You bring up an interesting point, why getContentSummary
is allowed on Standby NN when stale read is disabled. {{TestQuotasWithHA}}
actually calls {{HAUtil.setAllowStandbyReads(conf, true);}} first.
* Is {{waitForLoadingFSImage}} needed given {{NameNodeRpcServer}} has checked
via {{checkNNStartup}}?
* Maybe you can just modify {{TestQuotasWithHA}} instead for the test case.
Otherwise, it looks good.
> getContentSummary() on standby should throw StandbyException
> ------------------------------------------------------------
>
> Key: HDFS-9413
> URL: https://issues.apache.org/jira/browse/HDFS-9413
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Brahma Reddy Battula
> Assignee: Brahma Reddy Battula
> Priority: Critical
> Attachments: HDFS-9413.patch
>
>
> Currently when we call getContentSummary() on standby it will not throw
> StandbyException.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)