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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to