Setting for OJAI Applications to Use Data Fabric Client Features

Describes how to set the classpath for OJAI applications to use data-fabric client features.

When you launch an OJAI application that needs to submit MapReduce or YARN applications, or to run hadoop fs or hadoop mfs commands, ensure that you prefix the classpath with /opt/mapr/conf:/opt/mapr/hadoop/hadoop-2.7.0/etc/hadoop. Alternatively, copy the core-site.xml file to the /src/main/resources/ folder.