You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Erik Krogen (JIRA)" <ji...@apache.org> on 2017/10/20 18:17:00 UTC

[jira] [Created] (HADOOP-14970) MiniHadoopClusterManager doesn't respect lack of format option

Erik Krogen created HADOOP-14970:
------------------------------------

             Summary: MiniHadoopClusterManager doesn't respect lack of format option
                 Key: HADOOP-14970
                 URL: https://issues.apache.org/jira/browse/HADOOP-14970
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Erik Krogen
            Assignee: Erik Krogen
            Priority: Minor


The CLI MiniCluster, {{MiniHadoopClusterManager}}, says that by default it does not format its directories, and provides the {{-format}} option to specify that it should do so. However, it builds its {{MiniDFSCluster}} like:
{code}
      dfs = new MiniDFSCluster.Builder(conf).nameNodePort(nnPort)
          .nameNodeHttpPort(nnHttpPort).numDataNodes(numDataNodes)
          .startupOption(dfsOpts).build();
{code}
{{MiniDFSCluster.Builder}}, by default, sets {{format}} to true, so even though the {{startupOption}} is {{REGULAR}}, it will still format regardless of whether or not the flag is supplied.



--
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