hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hemanth Yamijala <yhema...@gmail.com>
Subject Re: MiniMRCluster still uses deprecated API JobConf
Date Mon, 12 Jul 2010 04:28:11 GMT
Matias,

> I'm using Hadoop 0.20.2 and try to do some unit testing. I already used
> mrunit, but now I wan't to use MiniMRCluster. Unfortunatelly, it still uses
> the old deprecated API like JobConf. Is there any newer version of
> MiniMRCluster? Or is there a successor, because 0.21 RC did not contain this
> class anymore.

I can see this class exists in the 0.21 branch. Please note that from
0.21, the project is split into 3: common, hdfs and mapreduce. The
MiniMRCluster is in the mapreduce project:
hadoop.apache.org/mapreduce. That said, the class is still using some
of the older classes like you mention. Please note that many of the
framework tests still rely on the MiniMRCluster.

Thanks
Hemanth

>
> If there is no successor or replacement, I can provide a patch. I already
> migrated MiniMRCluster.java, but not it's related classes like JobTracker.
>
> Is there any tutorial or documentation for the MiniClusters?
>
> --
> Kind regards,
> Mathias
>
>
>

Mime
View raw message