Could not load org.apache.hadoop.util.ShutdownHookManager when shutdown tomcat server
问题 I have a simple web application run on tomcat. This web application read and write file to HDFS. The issue I am facing is each time when I stop the server by using ./bin/shutdown.sh . I am getting could not load hadoop shutdownHookManager exception. I am sure the hadoop-common (contains ShutDownManager) is in tomcat classpath. Can anyone help me out? Exception I got: Oct 14, 2013 5:57:54 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks SEVERE: The web application []