hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9413) getContentSummary() on standby should throw StandbyException
Date Fri, 13 Nov 2015 16:49:11 GMT

    [ https://issues.apache.org/jira/browse/HDFS-9413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15004271#comment-15004271
] 

Brahma Reddy Battula commented on HDFS-9413:
--------------------------------------------

[~mingma] thanks a lot for taking a look into this issue..

bq.Is waitForLoadingFSImage needed given NameNodeRpcServer has checked via checkNNStartup?

{{waitForLoadingFSImage}} Removed.. But I had seen some methods in FSNamesystem has.

Example:.
{code}
 private void closeFile(String path, INodeFile file) {
    assert hasWriteLock();
    waitForLoadingFSImage();
{code}

bq.Maybe you can just modify TestQuotasWithHA instead for the test case.

Updated.

Kindly Review..

> 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-002.patch, 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)

Mime
View raw message