ClassNotFoundException is Thrown When Starting HTTPFS

(Doc ID 2295724.1)

Last updated on AUGUST 14, 2017

Applies to:

Big Data Appliance Integrated Software - Version 4.1.0 and later
Linux x86-64

Symptoms

ClassNotFoundException is thrown when starting HTTPFS.
The message is seen in stdout.log in /var/run/cloudera-scm-agent/process/**-hdfs-HTTPFS/logs.  The content of stdout.log looks like below:

Mon Jul 10 05:44:52 EDT 2017
JAVA_HOME=/usr/java/jdk1.8.0_131
using /usr/java/jdk1.8.0_131 as JAVA_HOME
using 5 as CDH_VERSION
using /var/run/cloudera-scm-agent/process/**-hdfs-HTTPFS as CONF_DIR
Using /usr/lib/hadoop-httpfs as CDH_HTTPFS_HOME
Using /usr/lib/bigtop-tomcat as TOMCAT_HOME

Setting HTTPFS_HOME: /usr/lib/hadoop-httpfs
Using HTTPFS_CONFIG: /var/run/cloudera-scm-agent/process/**-hdfs-HTTPFS
Using HTTPFS_LOG: /var/log/hadoop-httpfs
Using HTTPFS_TEMP: /var/run/cloudera-scm-agent/process/**-hdfs-HTTPFS/run/
Using HTTPFS_HTTP_PORT: 14000
Using HTTPFS_ADMIN_PORT: 14001
Setting HTTPFS_HTTP_HOSTNAME: bda.oracle.com
Setting HTTPFS_SSL_ENABLED: false
Setting HTTPFS_SSL_KEYSTORE_FILE: /var/lib/hadoop-httpfs/.keystore
Setting HTTPFS_SSL_KEYSTORE_PASS: password
Setting HTTPFS_MAX_HTTP_HEADER_SIZE: 65536
Using CATALINA_BASE: /var/lib/hadoop-httpfs/tomcat-deployment
Using HTTPFS_CATALINA_HOME: /usr/lib/bigtop-tomcat
Setting CATALINA_OUT: /var/log/hadoop-httpfs/httpfs-catalina.out
Using CATALINA_PID: /var/run/cloudera-scm-agent/process/**-hdfs-HTTPFS/run/hadoop-httpfs-httpfs.pid

Using CATALINA_OPTS: -Dhadoop.log.file=hadoop-cmf-hdfs-HTTPFS-bda.oracle.com.log.out -Dhadoop.root.logger=INFO,RFA -Djava.net.preferIPv4Stack=true -Xms268435456 -Xmx268435456 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/hdfs_hdfs-HTTPFS_pid<#>.hprof -XX:OnOutOfMemoryError=/usr/lib64/cmf/service/common/killparent.sh
Adding to CATALINA_OPTS: -Dhttpfs.home.dir=/usr/lib/hadoop-httpfs -Dhttpfs.config.dir=/var/run/cloudera-scm-agent/process/**-hdfs-HTTPFS -Dhttpfs.log.dir=/var/log/hadoop-httpfs -Dhttpfs.temp.dir=/var/run/cloudera-scm-agent/process/**-hdfs-HTTPFS/run/ -Dhttpfs.admin.port=14001 -Dhttpfs.http.port=14000 -Dhttpfs.http.hostname=bda.oracle.com
log4j:ERROR Could not instantiate class [com.cloudera.cmf.eventcatcher.client.logs.ExceptionForwarderAppender].
java.lang.ClassNotFoundException: com.cloudera.cmf.eventcatcher.client.logs.ExceptionForwarderAppender
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.apache.log4j.helpers.Loader.loadClass(Loader.java:198)
at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:327)
at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:124)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:785)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:395)
at org.apache.log4j.PropertyWatchdog.doOnChange(PropertyConfigurator.java:955)
at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:89)
at org.apache.log4j.helpers.FileWatchdog.<init>(FileWatchdog.java:58)
at org.apache.log4j.PropertyWatchdog.<init>(PropertyConfigurator.java:947)
at org.apache.log4j.PropertyConfigurator.configureAndWatch(PropertyConfigurator.java:473)
at org.apache.hadoop.lib.server.Server.initLog(Server.java:416)
at org.apache.hadoop.lib.server.Server.init(Server.java:357)
at org.apache.hadoop.fs.http.server.HttpFSServerWebApp.init(HttpFSServerWebApp.java:100)
at org.apache.hadoop.lib.servlet.ServerWebApp.contextInitialized(ServerWebApp.java:155)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4739)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:803)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:780)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1080)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1003)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:507)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:325)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1069)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
log4j:ERROR Could not instantiate appender named "EventCatcher".

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms