hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-14889) Suppress the fsnamesystem lock warning on nn startup
Date Wed, 20 Sep 2017 22:16:00 GMT
Ajay Kumar created HADOOP-14889:
-----------------------------------

             Summary: Suppress the fsnamesystem lock warning on nn startup
                 Key: HADOOP-14889
                 URL: https://issues.apache.org/jira/browse/HADOOP-14889
             Project: Hadoop Common
          Issue Type: Improvement
            Reporter: Ajay Kumar


If FsNameSystemLock is held for more than 10 seconds then we log stacktrace . We can suppress
this fsnamesystem lock warning on NameNode startup.
{code}
17/09/20 21:41:39 INFO namenode.FSNamesystem: FSNamesystem write lock held for 7159 ms via
java.lang.Thread.getStackTrace(Thread.java:1552)
org.apache.hadoop.util.StringUtils.getStackTrace(StringUtils.java:945)
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.writeUnlock(FSNamesystem.java:1659)
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1074)
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:703)
org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:688)
org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:752)
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:992)
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:976)
org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1701)
org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1769)
        Number of suppressed write-lock reports: 0
        Longest write-lock held interval: 7159
{code}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message