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
