You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2012/08/30 04:35:07 UTC
[jira] [Created] (HDFS-3870) QJM: add metrics to JournalNode
Todd Lipcon created HDFS-3870:
---------------------------------
Summary: QJM: add metrics to JournalNode
Key: HDFS-3870
URL: https://issues.apache.org/jira/browse/HDFS-3870
Project: Hadoop HDFS
Issue Type: Sub-task
Affects Versions: QuorumJournalManager (HDFS-3077)
Reporter: Todd Lipcon
Assignee: Todd Lipcon
The JournalNode should expose some basic metrics through the usual interface. In particular:
- the writer epoch, accepted epoch,
- the last written transaction ID and last committed txid (which may be newer in case that it's in the process of catching up)
- latency information for how long the syncs are taking
Please feel free to suggest others that come to mind.
--
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] [Resolved] (HDFS-3870) QJM: add metrics to JournalNode
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon resolved HDFS-3870.
-------------------------------
Resolution: Fixed
Fix Version/s: QuorumJournalManager (HDFS-3077)
Hadoop Flags: Reviewed
Committed to branch, thanks for the review.
> QJM: add metrics to JournalNode
> -------------------------------
>
> Key: HDFS-3870
> URL: https://issues.apache.org/jira/browse/HDFS-3870
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Affects Versions: QuorumJournalManager (HDFS-3077)
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: QuorumJournalManager (HDFS-3077)
>
> Attachments: hdfs-3870.txt
>
>
> The JournalNode should expose some basic metrics through the usual interface. In particular:
> - the writer epoch, accepted epoch,
> - the last written transaction ID and last committed txid (which may be newer in case that it's in the process of catching up)
> - latency information for how long the syncs are taking
> Please feel free to suggest others that come to mind.
--
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-3870) QJM: add metrics to JournalNode
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446854#comment-13446854 ]
Eli Collins commented on HDFS-3870:
-----------------------------------
+1 looks great. Sync and lag are IMO the most interesting. Only other useful metrics I can think of are additions to the NN's JN metrics (NN -> Journal latency and failed Journal operations) though those aren't QJM specific.
> QJM: add metrics to JournalNode
> -------------------------------
>
> Key: HDFS-3870
> URL: https://issues.apache.org/jira/browse/HDFS-3870
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Affects Versions: QuorumJournalManager (HDFS-3077)
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Attachments: hdfs-3870.txt
>
>
> The JournalNode should expose some basic metrics through the usual interface. In particular:
> - the writer epoch, accepted epoch,
> - the last written transaction ID and last committed txid (which may be newer in case that it's in the process of catching up)
> - latency information for how long the syncs are taking
> Please feel free to suggest others that come to mind.
--
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] [Updated] (HDFS-3870) QJM: add metrics to JournalNode
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated HDFS-3870:
------------------------------
Attachment: hdfs-3870.txt
> QJM: add metrics to JournalNode
> -------------------------------
>
> Key: HDFS-3870
> URL: https://issues.apache.org/jira/browse/HDFS-3870
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Affects Versions: QuorumJournalManager (HDFS-3077)
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Attachments: hdfs-3870.txt
>
>
> The JournalNode should expose some basic metrics through the usual interface. In particular:
> - the writer epoch, accepted epoch,
> - the last written transaction ID and last committed txid (which may be newer in case that it's in the process of catching up)
> - latency information for how long the syncs are taking
> Please feel free to suggest others that come to mind.
--
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-3870) QJM: add metrics to JournalNode
Posted by "Chao Shi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444971#comment-13444971 ]
Chao Shi commented on HDFS-3870:
--------------------------------
One more: How often a JN is lagging (by counting the number of log syncs whose last-commited-txid >= firstTxnId). This indicates the JN is running under poor condition.
> QJM: add metrics to JournalNode
> -------------------------------
>
> Key: HDFS-3870
> URL: https://issues.apache.org/jira/browse/HDFS-3870
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Affects Versions: QuorumJournalManager (HDFS-3077)
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
>
> The JournalNode should expose some basic metrics through the usual interface. In particular:
> - the writer epoch, accepted epoch,
> - the last written transaction ID and last committed txid (which may be newer in case that it's in the process of catching up)
> - latency information for how long the syncs are taking
> Please feel free to suggest others that come to mind.
--
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-3870) QJM: add metrics to JournalNode
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448460#comment-13448460 ]
Todd Lipcon commented on HDFS-3870:
-----------------------------------
Just realized I never commented to respond to Chao's suggestion. It was a good one, so it's included in the patch. Will commit momentarily.
> QJM: add metrics to JournalNode
> -------------------------------
>
> Key: HDFS-3870
> URL: https://issues.apache.org/jira/browse/HDFS-3870
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Affects Versions: QuorumJournalManager (HDFS-3077)
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Attachments: hdfs-3870.txt
>
>
> The JournalNode should expose some basic metrics through the usual interface. In particular:
> - the writer epoch, accepted epoch,
> - the last written transaction ID and last committed txid (which may be newer in case that it's in the process of catching up)
> - latency information for how long the syncs are taking
> Please feel free to suggest others that come to mind.
--
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