hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "HadoopDfsReadWriteExample" by AndyPavlo
Date Wed, 27 Feb 2008 20:06:05 GMT
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 AndyPavlo:
http://wiki.apache.org/hadoop/HadoopDfsReadWriteExample

The comment on the change is:
Added information about needing to set the environment paths

------------------------------------------------------------------------------
  
  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.
  
- Create a [http://hadoop.apache.org/core/api/org/apache/hadoop/fs/FileSystem.html FileSystem]
instance by passing a new Configuration object. 
+ Create a [http://hadoop.apache.org/core/api/org/apache/hadoop/fs/FileSystem.html FileSystem]
instance by passing a new Configuration object. Please note that the following example code
assumes that the Configuration object will automatically load the '''hadoop-default.xml'''
and '''hadoop-site.xml''' configuration files. You may need to explicitly add these resource
paths if you are not running inside of the Hadoop runtime environment.
  
  {{{
  Configuration conf = new Configuration();

Mime
View raw message