[
https://issues.apache.org/jira/browse/HDFS-4621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13617361#comment-13617361
]
Hudson commented on HDFS-4621:
------------------------------
Integrated in Hadoop-Mapreduce-trunk #1386 (See
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1386/])
HDFS-4621. Additional logging to help diagnose slow QJM syncs. Contributed
by Todd Lipcon. (Revision 1461777)
Result = SUCCESS
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1461777
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/qjournal/client/IPCLoggerChannel.java
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/qjournal/client/QuorumCall.java
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/qjournal/server/Journal.java
> additional logging to help diagnose slow QJM logSync
> ----------------------------------------------------
>
> Key: HDFS-4621
> URL: https://issues.apache.org/jira/browse/HDFS-4621
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: ha, qjm
> Affects Versions: 2.0.3-alpha
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Priority: Minor
> Fix For: 3.0.0, 2.0.5-beta
>
> Attachments: hdfs-4621.txt
>
>
> I've been working on diagnosing an issue with a cluster which is seeing slow
> logSync calls occasionally to QJM. Adding a few more pieces of logging would
> help this:
> - in the warning messages on the client side leading up to a timeout, include
> which nodes have responded and which ones are still pending
> - on the server side, when we actually call FileChannel.force, log a warning
> if the sync takes longer than 1 second
--
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