ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aravindan Vijayan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-18911) Storm start is failing due to metrics initialization error
Date Wed, 16 Nov 2016 20:40:58 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-18911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aravindan Vijayan updated AMBARI-18911:
---------------------------------------
    Status: Patch Available  (was: In Progress)

> Storm start is failing due to metrics initialization error
> ----------------------------------------------------------
>
>                 Key: AMBARI-18911
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18911
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>            Priority: Blocker
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18911.patch
>
>
> {code}
> 2016-11-10 07:14:58.311 o.a.s.d.nimbus [ERROR] Error on initialization of server service-handler
> java.lang.RuntimeException: Could not instantiate a class listed in config under section
storm.cluster.metrics.consumer.register with fully qualified name org.apache.hadoop.metrics2.sink.storm.StormTimelineMetricsReporter
>         at org.apache.storm.metric.ClusterMetricsConsumerExecutor.prepare(ClusterMetricsConsumerExecutor.java:50)
>         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__11381$exec_fn__3535__auto____11382.invoke(nimbus.clj:2192)
>         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__11381$service_handler__11417.doInvoke(nimbus.clj:2169)
>         at clojure.lang.RestFn.invoke(RestFn.java:421)
>         at org.apache.storm.daemon.nimbus$launch_server_BANG_.invoke(nimbus.clj:2258)
>         at org.apache.storm.daemon.nimbus$_launch.invoke(nimbus.clj:2291)
>         at org.apache.storm.daemon.nimbus$_main.invoke(nimbus.clj:2314)
>         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.hadoop.metrics2.sink.storm.StormTimelineMetricsReporter
>         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)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:264)
>         at org.apache.storm.metric.ClusterMetricsConsumerExecutor.prepare(ClusterMetricsConsumerExecutor.java:48)
> {code}
> in some of the cluster we are seeing following error too:
> {code}
> 2016-11-10 07:56:06.674 o.a.s.zookeeper [INFO] Accepting leadership, all active topology
found localy.
> 2016-11-10 07:56:07.125 o.a.s.d.nimbus [ERROR] Error when processing event
> java.lang.NullPointerException
>         at clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java:301)
>         at org.apache.storm.daemon.nimbus$get_cluster_info$fn__11126.invoke(nimbus.clj:1385)
>         at org.apache.storm.daemon.nimbus$get_cluster_info.invoke(nimbus.clj:1384)
>         at org.apache.storm.daemon.nimbus$send_cluster_metrics_to_executors.invoke(nimbus.clj:1445)
>         at org.apache.storm.daemon.nimbus$fn__11381$exec_fn__3535__auto____11382$fn__11408.invoke(nimbus.clj:2244)
>         at org.apache.storm.timer$schedule_recurring$this__2162.invoke(timer.clj:105)
>         at org.apache.storm.timer$mk_timer$fn__2145$fn__2146.invoke(timer.clj:50)
>         at org.apache.storm.timer$mk_timer$fn__2145.invoke(timer.clj:42)
>         at clojure.lang.AFn.run(AFn.java:22)
>         at java.lang.Thread.run(Thread.java:745)
> 2016-11-10 07:56:07.128 o.a.s.util [ERROR] Halting process: ("Error when processing an
event")
> java.lang.RuntimeException: ("Error when processing an event")
>         at org.apache.storm.util$exit_process_BANG_.doInvoke(util.clj:341)
>         at clojure.lang.RestFn.invoke(RestFn.java:423)
>         at org.apache.storm.daemon.nimbus$nimbus_data$fn__10339.invoke(nimbus.clj:206)
>         at org.apache.storm.timer$mk_timer$fn__2145$fn__2146.invoke(timer.clj:71)
>         at org.apache.storm.timer$mk_timer$fn__2145.invoke(timer.clj:42)
>         at clojure.lang.AFn.run(AFn.java:22)
>         at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message