Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19786

Nimbus failed to start due to StringUtils ClassNotFound

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-metrics
    • None

    Description

      Nimbus failed to start with following exception:

      2017-01-30 15:23:11,732 INFO Preparing Storm Metrics Reporter
      2017-01-30 15:23:11,739 ERROR Error on initialization of server service-handler java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils at org.apache.hadoop.metrics2.sink.storm.StormTimelineMetricsReporter.prepare(StormTimelineMetricsReporter.java:112) at org.apache.storm.metric.ClusterMetricsConsumerExecutor.prepare(ClusterMetricsConsumerExecutor.java:46) 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 clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93) at clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java:313) at org.apache.storm.daemon.nimbus$fn__9770$exec_fn__3656__auto____9771.invoke(nimbus.clj:2425) at clojure.lang.AFn.applyToHelper(AFn.java:156) at clojure.lang.AFn.applyTo(AFn.java:144) at clojure.core$apply.invoke(core.clj:630) at org.apache.storm.daemon.nimbus$fn__9770$service_handler__9803.doInvoke(nimbus.clj:2402) at clojure.lang.RestFn.invoke(RestFn.java:421) at org.apache.storm.daemon.nimbus$launch_server_BANG_.invoke(nimbus.clj:2490) at org.apache.storm.daemon.nimbus$_launch.invoke(nimbus.clj:2523) at org.apache.storm.daemon.nimbus$_main.invoke(nimbus.clj:2546) at clojure.lang.AFn.applyToHelper(AFn.java:152) at clojure.lang.AFn.applyTo(AFn.java:144) at org.apache.storm.daemon.nimbus.main(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtils at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 20 more
      

      Attachments

        1. AMBARI-19786.patch
          4 kB
          Siddharth Wagle

        Activity

          People

            swagle Siddharth Wagle
            swagle Siddharth Wagle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: