AnsweredAssumed Answered

MapR 5.1 oozie-setup.sh sharelib create failing

Question asked by seanc on Jun 15, 2016
Latest reply on Sep 2, 2016 by maprcommunity


Followed below:

http://maprdocs.mapr.com/51/index.html#AdministratorGuide/ZeroConfigurationFailover_28213426-d3e115.html

http://maprdocs.mapr.com/51/index.html#Oozie/InstallOozie.html

http://maprdocs.mapr.com/51/index.html#Oozie/User-Impersonation-for-Oo_30377523.html

http://maprdocs.mapr.com/51/index.html#Oozie/RunSparkJobswithOozie.html

 

And getting this:

${OOZIE_HOME}/bin/oozie-setup.sh sharelib create -fs maprfs:/// -locallib ${OOZIE_HOME}/share2
  setting CATALINA_OPTS="$CATALINA_OPTS -Xmx1024m"
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/mapr/oozie/oozie-4.2.0/lib/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/mapr/oozie/oozie-4.2.0/lib/slf4j-simple-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
the destination path for sharelib is: /oozie/share/lib/lib_20160615212242


Error: E0902: Exception occured: [failure to login: No LoginModules configured for hadoop_simple]

 

Stack trace for the error was (for debug purposes):

--------------------------------------

org.apache.oozie.service.HadoopAccessorException: E0902: Exception occured: [failure to login: No LoginModules configured for hadoop_simple]
  at org.apache.oozie.service.HadoopAccessorService.createFileSystem(HadoopAccessorService.java:511)
  at org.apache.oozie.tools.OozieSharelibCLI.run(OozieSharelibCLI.java:159)
  at org.apache.oozie.tools.OozieSharelibCLI.main(OozieSharelibCLI.java:57)
Caused by: java.io.IOException: failure to login: No LoginModules configured for hadoop_simple
  at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:751)
  at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:688)
  at org.apache.oozie.service.UserGroupInformationService.getProxyUser(UserGroupInformationService.java:55)
  at org.apache.oozie.service.HadoopAccessorService.getUGI(HadoopAccessorService.java:285)
  at org.apache.oozie.service.HadoopAccessorService.createFileSystem(HadoopAccessorService.java:500)
  ... 2 more
Caused by: javax.security.auth.login.LoginException: No LoginModules configured for hadoop_simple
  at javax.security.auth.login.LoginContext.init(LoginContext.java:264)
  at javax.security.auth.login.LoginContext.<init>(LoginContext.java:381)
  at org.apache.hadoop.security.UserGroupInformation.newLoginContext(UserGroupInformation.java:462)
  at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:723)
  ... 6 more

--------------------------------------

 

And running the sample spark job results in:

 

Error: E0902 : E0902: Exception occured: [No FileSystem for scheme: maprfs]

 

I've done the similar setup mapr 5.0 without this issue. What am I missing?

Outcomes