hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From welman Lu <welmanwe...@gmail.com>
Subject How can I copy a local disk file, and output it as bytesWritable
Date Tue, 16 Mar 2010 18:52:16 GMT
Hi, everyone!

The problem what I met is that, I want to transform a local disk file into
bytesWritable to output.

Now, all I found is only can use FileSystem.copyFromLocalFile to copy a file
from local disk to HDFS.

The first problem is that, will this file be distributed naturally?
And the other problem is that, I can't find methods can read the file into
bytesWritable.

Can anybody tell me what kind of class that I should use?
Thank you very much!

Best Regards
Jiamin Lu

Mime
View raw message