Is there any document/reference available for the apis to be used within java code.

asked 08 Sep '11, 22:45

ghousia's gravatar image

ghousia
81161822
accept rate: 40%


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

link

answered 09 Sep '11, 00:12

Lohit's gravatar image

Lohit ♦♦
2.1k311
accept rate: 44%

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.

link

answered 09 Sep '11, 10:28

MC%20Srivas's gravatar image

MC Srivas ♦♦
2.6k1517
accept rate: 35%

edited 09 Sep '11, 10:32

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×37

Asked: 08 Sep '11, 22:45

Seen: 983 times

Last updated: 14 Sep '11, 01:12

powered by OSQA