|
Is there any document/reference available for the apis to be used within java code. |
|
Can you tell which API you are looking for. If it is FileSystem API, then standard Hadoop API exposed via FileSystem and MapReduce would work. If you are looking for MapR specific command, then MapR exposes all commands via REST API. More information can be found here Thanks for the answer Lohit, Just to confirm, If I need to submit a job to MapR (from a java application), then should it be done by hadoop API's? Is this the only way or does Mapr have its own APIs to do this?
(09 Sep '11, 02:31)
ghousia
1
Job submission should be done using standard Hadoop APIs. MapR does not have a proprietary API for this but instead supports the standard API's.
(09 Sep '11, 02:54)
Vivek
Thanks Vivek
(14 Sep '11, 01:12)
ghousia
|
|
Please use the Hadoop APIS on how to submit Hadoop jobs, or access the FileSystem. In particular, this tutorial about word-count is a good example. MapR also supports NFS. Your can use the standard Java IO api's (InputStream, OutputStream, etc) to access data after you mount the MapR cluster via NFS. |