You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Surendra Singh Lilhore (JIRA)" <ji...@apache.org> on 2018/11/14 06:52:00 UTC

[jira] [Created] (HDFS-14076) NameNodeResourceChecker#isResourceAvailable() should check the linux filesystem inode usage.

Surendra Singh Lilhore created HDFS-14076:
---------------------------------------------

             Summary: NameNodeResourceChecker#isResourceAvailable() should check the linux filesystem inode usage.
                 Key: HDFS-14076
                 URL: https://issues.apache.org/jira/browse/HDFS-14076
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namenode
    Affects Versions: 3.1.1
            Reporter: Surendra Singh Lilhore
            Assignee: Surendra Singh Lilhore


Linux system gives the *"No space left on device"* exception in two cases.
 # Disk space is not available 
 # Linux inode limit is exceeded

NameNodeResourceChecker currently only checking the disk space, it should check the inode limit also.

We got *"No space left on device"* exception even disk space was there and roll edit operation is failed. After analysis we found that Inode usage for the system is 100%.
{noformat}
2018-11-10 18:59:37,913 ERROR org.apache.hadoop.hdfs.server.namenode.FSEditLog: Error: starting log segment 796xxxxxx failed for (journal JournalAndStream(mgr=FileJournalManager(root=/opt/xxxxxxxxxx), stream=null))
java.io.FileNotFoundException: /opt/xxxxxxx/edits_inprogress_0000000000007964819 (No space left on device)
 at java.io.RandomAccessFile.open0(Native Method)
 at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
 at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
 at org.apache.hadoop.hdfs.server.namenode.EditLogFileOutputStream.<init>(EditLogFileOutputStream.java:88){noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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