Jeff Saremi created HDFS-12902:
----------------------------------

             Summary: IOException when running MiniDfsCluster on Windows: 
Failed to save in any storage directories while saving namespace
                 Key: HDFS-12902
                 URL: https://issues.apache.org/jira/browse/HDFS-12902
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.7.4
         Environment: Windows 10
            Reporter: Jeff Saremi


Error when running MiniDfsCluster on windows. I tried this first on 2.7.1. THen 
I noticed this ticket:
https://issues.apache.org/jira/browse/HDFS-11732
Hence I upgraded to 2.7.4. The same issue still persists.

ClassPath/Environment:

{{java.exe -classpath 
"share\hadoop\hdfs\hadoop-hdfs-2.7.4-tests.jar;share\hadoop\hdfs\hadoop-hdfs-2.7.4.jar;share\hadoop\common\hadoop-common-2.7.4.jar;share\hadoop\common\hadoop-common-2.7.4-tests.jar;share\hadoop\common\lib\commons-logging-1.1.3.jar;share\hadoop\common\lib\guava-11.0.2.jar;share\hadoop\common\lib\commons-collections-3.2.2.jar;share\hadoop\common\lib\commons-configuration-1.6.jar;share\hadoop\common\lib\commons-cli-1.2.jar;share\hadoop\common\lib\log4j-1.2.17.jar;share\hadoop\common\lib\slf4j-log4j12-1.7.10.jar;share\hadoop\common\lib\slf4j-api-1.7.10.jar;share\hadoop\common\lib\commons-lang-2.6.jar;share\hadoop\common\lib\hadoop-auth-2.7.4.jar;share\hadoop\common\lib\servlet-api-2.5.jar;share\hadoop\common\lib\jettison-1.1.jar;share\hadoop\common\lib\protobuf-java-2.5.0.jar;d:\;"
 MiniDfsRunner "d:/temp/hdfs2"}}

Code for MiniDfsRunner.java:

{{            Configuration conf = new Configuration();
            conf.set(MiniDFSCluster.HDFS_MINIDFS_BASEDIR, 
baseDir.getAbsolutePath());
            MiniDFSCluster.Builder builder = new MiniDFSCluster.Builder(conf);
            MiniDFSCluster hdfsCluster = builder.build();}}




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

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

Reply via email to