You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2008/08/05 11:29:18 UTC
[Hadoop Wiki] Update of "HadoopDfsReadWriteExample" by SteveLoughran
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The following page has been changed by SteveLoughran:
http://wiki.apache.org/hadoop/HadoopDfsReadWriteExample
The comment on the change is:
move to HDFS
------------------------------------------------------------------------------
~+Simple Example to Read and Write files from Hadoop DFS+~
- Reading from and writing to Hadoop DFS is no different from how it is done with other file systems. The example attachment:HadoopDFSFileReadWrite.java reads a file from DFS and writes it to another file on DFS (copy command).
+ Reading from and writing to Hadoop DFS is no different from how it is done with other file systems. The example attachment:HadoopDFSFileReadWrite.java reads a file from HDFS and writes it to another file on HDFS (copy command).
Hadoop [http://hadoop.apache.org/core/api/org/apache/hadoop/fs/FileSystem.html FileSystem] API describes the methods available to user. Let us walk through the code to understand how it is done.