hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley" <...@yahoo-inc.com>
Subject Re: unit testing with hadoop
Date Wed, 21 Nov 2007 18:55:09 GMT

On Nov 21, 2007, at 7:21 AM, Eugeny N Dzhurinsky wrote:

> For the tests we would like to have a hadoop filesystem up and  
> configured, so
> using stubs and some mocks of core interfaces we can test the  
> overall storage
> functionality we're about to develop (which would be a part of map/ 
> reduce jobs
> later).

The unit tests currently use the mini-dfs cluster and mini-mapreduce  
cluster to get this functionality. Look in the src/test subdirectory  
for MiniDFSCluster and MiniMRCluster. Each class creates a virtual  
cluster within the same process.

-- Owen

View raw message