Due to a bug in MapR, when multiple classloaders are used by an application, MapR might attempt to load their native libraries multiple times. This can result in various class errors such as the following:
Duplicate class definition for name: "com/mapr/fs/shim/LibraryLoader" ERROR: java.lang.ExceptionInitializerError
The workaround is to remove the java.library.path=mapr directory from the Java search path. This might allow the connection to work. It causes MapR 5.x to extract its native libraries from the JAR file into the /tmp directory on a per-user basis.
Additionally, this issue has been replicated outside of the SAS® System and reported as MapR case #00038839. MapR suggests that customers either contact MapR support at support@mapr.com or visit community.mapr.com. This second link is to the customer portal, which contains all the release announcements, bug fixes, and release notes. Once this issue is fixed, a description of the fix is in the release notes.