[ 
https://issues.apache.org/jira/browse/HDFS-6693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063536#comment-14063536
 ] 

Yongjun Zhang commented on HDFS-6693:
-------------------------------------

The failure I reported in HDFS-6683 is on linux though, observed the following 
error ("Too many open files") in the log, it may be related to 
{quote}
2. miniDFSCluster is not shutdown after each test.
{quote}
reported here. 

{code}
/home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/trunk/hadoop-hdfs-project/hadoop-hdfs/target/test/data/dfs/data/data2/current...
2014-07-15 04:39:39,878 INFO  impl.FsDatasetImpl (FsVolumeList.java:run(216)) - 
Caught exception while scanning 
/home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/trunk/hadoop-hdfs-project/hadoop-hdfs/target/test/data/dfs/data/data2/current.
 Will throw later.
java.io.IOException: Cannot run program "du": java.io.IOException: error=24, 
Too many open files
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:470)
        at org.apache.hadoop.util.Shell.runCommand(Shell.java:485)
        at org.apache.hadoop.util.Shell.run(Shell.java:455)
        at org.apache.hadoop.fs.DU.run(DU.java:190)
        at org.apache.hadoop.fs.DU.<init>(DU.java:70)
        at org.apache.hadoop.fs.DU.<init>(DU.java:95)
        at 
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.BlockPoolSlice.<init>(BlockPoolSlice.java:114)
        at 
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeImpl.addBlockPool(FsVolumeImpl.java:258)
        at 
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeList$2.run(FsVolumeList.java:211)
Caused by: java.io.IOException: java.io.IOException: error=24, Too many open 
files
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
        ... 8 more
{code}


> TestDFSAdminWithHA fails on windows
> -----------------------------------
>
>                 Key: HDFS-6693
>                 URL: https://issues.apache.org/jira/browse/HDFS-6693
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>         Attachments: HDFS-6693.patch
>
>
> TestDFSAdminWithHA fails on windows due to multiple reasons.
> 1. Assertion fails due to using only ''\n" in expected, where as in windows 
> line separator is "\r\n". 
> 2. miniDFSCluster is not shutdown after each test.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to