hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: MiniDFSCluster setup
Date Sat, 14 Dec 2013 23:55:16 GMT
If you search under hadoop-hdfs-project/hadoop-hdfs/src/test, you would see
a lot of tests which use MiniDFSCluster
e.g.
    cluster = new MiniDFSCluster.Builder(conf).numDataNodes(3).build();
hadoop-hdfs-project/hadoop-hdfs/src/test//java/org/apache/hadoop/hdfs/TestWriteRead.java

Cheers


On Sat, Dec 14, 2013 at 2:43 PM, Karim Awara <karim.awara@kaust.edu.sa>wrote:

> Hi,
>
> I read I can use MiniDFSCluster to set my own tests in case I modify hadop
> source code. I have built hadoop 2.2. However, I can't find any source on
> how to get the MiniDFSCluster working. Can someone point a link to me that
> helps?
>
> --
> Best Regards,
> Karim Ahmed Awara
>
> ------------------------------
> This message and its contents, including attachments are intended solely
> for the original recipient. If you are not the intended recipient or have
> received this message in error, please notify me immediately and delete
> this message from your computer system. Any unauthorized use or
> distribution is prohibited. Please consider the environment before printing
> this email.

Mime
View raw message