[jira] [Commented] (HDFS-3869) QJM: expose non-file journal manager details in web UI
[ https://issues.apache.org/jira/browse/HDFS-3869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13448392#comment-13448392 ] Eli Collins commented on HDFS-3869: --- +1 updated patch looks good QJM: expose non-file journal manager details in web UI -- Key: HDFS-3869 URL: https://issues.apache.org/jira/browse/HDFS-3869 Project: Hadoop HDFS Issue Type: Sub-task Components: name-node Affects Versions: QuorumJournalManager (HDFS-3077) Reporter: Todd Lipcon Assignee: Todd Lipcon Attachments: dir-failed.png, hdfs-3869.txt, hdfs-3869.txt, hdfs-3869.txt, hdfs-3869.txt, lagging-jn.png, open-for-read.png, open-for-write.png Currently, the NN web UI only contains NN storage directories on local disk. It should also include details about any non-file JournalManagers in use. This JIRA targets the QJM branch, but will be useful for BKJM as well. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3869) QJM: expose non-file journal manager details in web UI
[ https://issues.apache.org/jira/browse/HDFS-3869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13447426#comment-13447426 ] Todd Lipcon commented on HDFS-3869: --- Added the following comment: {code} + // COW implementation is necessary since some users (eg the web ui) call + // getAllJournalStreams() and then iterate. Since this is rarely + // mutated, there is no performance concern. private ListJournalAndStream journals = new CopyOnWriteArrayListJournalSet.JournalAndStream(); {code} I also realized that the method had a @VisibleForTesting annotation which was no longer true, so I removed that. Will commit momentarily with the above change. QJM: expose non-file journal manager details in web UI -- Key: HDFS-3869 URL: https://issues.apache.org/jira/browse/HDFS-3869 Project: Hadoop HDFS Issue Type: Sub-task Components: name-node Affects Versions: QuorumJournalManager (HDFS-3077) Reporter: Todd Lipcon Assignee: Todd Lipcon Attachments: dir-failed.png, hdfs-3869.txt, hdfs-3869.txt, lagging-jn.png, open-for-read.png, open-for-write.png Currently, the NN web UI only contains NN storage directories on local disk. It should also include details about any non-file JournalManagers in use. This JIRA targets the QJM branch, but will be useful for BKJM as well. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3869) QJM: expose non-file journal manager details in web UI
[ https://issues.apache.org/jira/browse/HDFS-3869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13446847#comment-13446847 ] Eli Collins commented on HDFS-3869: --- +1 looks great I'd consider mentioning in a comment above journals that is COW because even though FSEdit* is synchronized these uses may race with the Web UI (my understanding of why it is now a CopyOnWriteArrayList). QJM: expose non-file journal manager details in web UI -- Key: HDFS-3869 URL: https://issues.apache.org/jira/browse/HDFS-3869 Project: Hadoop HDFS Issue Type: Sub-task Components: name-node Affects Versions: QuorumJournalManager (HDFS-3077) Reporter: Todd Lipcon Assignee: Todd Lipcon Attachments: dir-failed.png, hdfs-3869.txt, hdfs-3869.txt, lagging-jn.png, open-for-read.png, open-for-write.png Currently, the NN web UI only contains NN storage directories on local disk. It should also include details about any non-file JournalManagers in use. This JIRA targets the QJM branch, but will be useful for BKJM as well. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira