hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stack <st...@duboce.net>
Subject Re: Writing map output files to local file system
Date Mon, 10 Nov 2008 22:10:46 GMT
Try using fully-qualified paths; i.e. use "file:///blah/blah" instead of 
"/blah/blah".  Is RawLocalFileSytem right?  Maybe use 
FileSystem.getLocal(Configuration).
St.Ack



Yair Even-Zohar wrote:
> Can I write the output of the map processes directly to a local
> files-system without the need to use copyToLocal? 
>
> I'm trying the following but the map reduce still writes the output to
> the HDFS  path
>
>  
>
> RawLocalFileSystem rlfs = new RawLocalFileSystem();
>
> rlfs.setWorkingDirectory(new Path("/home/hadoop/test")); 
>
> FileOutputFormat.setOutputPath(c, rlfs.getWorkingDirectory());
>
>  
>
>  
>
> Identical to when I was using:
>
>  
>
> FileOutputFormat.setOutputPath(c, new Path("/home/hadoop/test"));
>
>  
>
>  
>
> Thanks
>
> -Yair
>
>
>   




Mime
View raw message