hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-hadoop Wiki] Update of "LibHDFS" by Arun C Murthy
Date Fri, 25 Aug 2006 06:32:35 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.

The following page has been changed by Arun C Murthy:
http://wiki.apache.org/lucene-hadoop/LibHDFS

The comment on the change is:
Added an 'Examples' section.

------------------------------------------------------------------------------
    a. [#FileSystemApis FileSystem Manipulation]
    b. [#FileApis File Manipulation]
    c. [#Threading Support for Threads]
+  4. [#Examples Examples]
-  4. [#Contact Assistance/Bugs]
+  5. [#Contact Assistance/Bugs]
-  5. [#Conclusion Conclusion]
+  6. [#Conclusion Conclusion]
  
- 
+ [[BR]]
  [[Anchor(Overview)]]
  ===== Overview =====
   [http://wiki.apache.org/lucene-hadoop/DFS Here] is an overview of Hadoop's DFS. The javadocs
for DFS are available [http://lucene.apache.org/hadoop/docs/api/org/apache/hadoop/fs/package-summary.html
here] and [http://lucene.apache.org/hadoop/docs/api/org/apache/hadoop/dfs/package-summary.html
here]. '''libdhfs''' is a simple JNI based C api for accessing and manipulating Hadoop's DFS
from native code. It offers a simple subset of the same functionality.
  
+ [[BR]]
  [[Anchor(Setup)]]
  ===== Setup =====
   It is necessary to setup Hadoop's DFS itself first. The information to setup Hadoop is
available [http://lucene.apache.org/hadoop/docs/api/overview-summary.html#overview_description
here]. Once you have a working setup, you will need to get into the '''src/c++/libhdfs'''
directory and use the Makefile to build libhdfs (in case of issues use [#Contact this]). Once
you have successfully built libhdfs you can link it into your programs and are good to go.
  
+ [[BR]]
  [[Anchor(Apis)]]
  ===== APIs =====
   This section describes the various apis provided by '''libhdfs''' to manipulate the DFS.
It is classified into apis which manipulate individual files and those which manipulate the
filesystem itself. (Please see the doxygen documentation [# here] for details of individual
apis.)
  
+ [[BR]]
  [[Anchor(FileSystemApis)]]
  ''!FileSystem APIs''
  [[BR]]
@@ -72, +76 @@

   libhdfs can be used in threaded applications using the !Posix !Threads. However to carefully
interact with JNI's global/local references the user has to explicitly call the ''hdfsConvertToGlobalRef''
/ ''hdfsDeleteGlobalRef'' apis.
  
  [[BR]]
+ [[Anchor(Examples)]]
+ ===== Examples =====
+ 
+   The [http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/c%2B%2B/libhdfs/hdfs_test.c
test cases] for libhdfs provide some good examples on how to use libhdfs.
+ 
+ [[BR]]
  [[Anchor(Contact)]]
  ===== Contact Information =====
  

Mime
View raw message