AnsweredAssumed Answered

log4j error on job, looking for host name from "MapR cofiguration"...what file?

Question asked by kevin on Sep 3, 2014
Latest reply on Sep 4, 2014 by kevin
log from trying to send a job to mapr cluster
What file is it trying to read when it says "obtaining host name from MapR configuration"
<pre>
log4j:ERROR Error obtaining host name from MapR configuration
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.apache.log4j.Logger.getLogger(Logger.java:118)
at com.mapr.baseutils.cldbutils.CLDBRpcCommonUtils.<clinit>(CLDBRpcCommonUtils.java:42)
at org.apache.hadoop.conf.MapRConf.<clinit>(MapRConf.java:40)
at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1347)
at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1284)
at org.apache.hadoop.conf.Configuration.get(Configuration.java:499)
at org.apache.hadoop.mapred.JobConf.checkAndWarnDeprecation(JobConf.java:2046)
at org.apache.hadoop.mapred.JobConf.<init>(JobConf.java:388)
at org.apache.hadoop.mapred.Child.main(Child.java:88)
Caused by: java.lang.NullPointerException
at org.apache.hadoop.conf.MapRConf.size(MapRConf.java:53)
at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1347)
at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1284)
at org.apache.hadoop.conf.Configuration.get(Configuration.java:499)
at org.apache.hadoop.fs.FileSystem.getDefaultUri(FileSystem.java:137)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:246)
at com.mapr.log4j.MaprfsLogAppender.activateOptions(MaprfsLogAppender.java:262)
at com.mapr.log4j.CentralTaskLogAppender.activateOptions(CentralTaskLogAppender.java:57)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:133)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:97)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:689)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:647)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:544)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:440)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:476)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:125)

Outcomes