File System Application Requirements
The following tables include the minimal node requirements for building and running file system applications.
Node Requirement | Method(s) to Meet Requirement |
---|---|
A connection to the Data Fabric cluster. |
Select one of the following options:
For more information, see Connect to the Cluster. |
Include hadoop-common libraries as a dependency. |
When you compile the application, use the Maven Repository to determine the
dependencies.The POM file should include the Data Fabric Repository and the hadoop-common
dependency:
When you run the application, include the following in the application’s
classpath: For more information, see Compiling and Running a Java Application. |
NOTE
When you develop a Java application, you can use a dependency management
tool such as Maven to compile your application. However, it is recommended that you do the
following instead:
- Compile the Java application without including dependencies
- Specify the required classpath when you submit the application to the cluster
Node Requirement | Method(s) to Meet Requirement |
---|---|
A connection to the Data Fabric cluster. |
Select one of the following options:
For more information, see Connect to the Cluster. |
Include the libhdfs libraries and Data Fabric libraries when you compile the application. | The Data Fabric
libraries are available in the following location:
/opt/mapr/lib Link to the libhdfs libraries in the following
location: For more information, see Compiling and Running C Applications on File System Clients |