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

Sayed Mohammad Hossein Torabi commented on HDFS-15688:
------------------------------------------------------

The main idea that I created this issue is to create the default constructor 
for the Builder API. because in many cases the developer, the developer wants 
to create just a MiniDFSCluster and do not want to get involved with the Hadoop 
configuration. this situation that I described includes cases in the 
*Hadoop-HDFS* project. those contributors created the MiniDFS like this:
{code:java}
Configuration conf = new Configuration;
MiniDFSCluster cluster = MiniDFSCluster.Builder(conf);{code}
In addition, the most useful of the *MiniDFSCluster* is out of the Hadoop 
project like a spark, Storm, Flink, etc developer. Why we should involve them 
with the configuration? if they want a custom configuration they can use the 
current constructor else just create the cluster easily!

> Improve MiniDFSCluster by a adding a default constructor
> --------------------------------------------------------
>
>                 Key: HDFS-15688
>                 URL: https://issues.apache.org/jira/browse/HDFS-15688
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: test
>            Reporter: Sayed Mohammad Hossein Torabi
>            Priority: Minor
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to