ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sumit Mohanty (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-13004) Fix Storm sink compile time deps with latest version updates
Date Thu, 03 Sep 2015 23:25:46 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-13004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14730022#comment-14730022
] 

Sumit Mohanty commented on AMBARI-13004:
----------------------------------------

LGTM, +1

> Fix Storm sink compile time deps with latest version updates
> ------------------------------------------------------------
>
>                 Key: AMBARI-13004
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13004
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-metrics
>    Affects Versions: 2.1.2
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>             Fix For: 2.1.2
>
>         Attachments: AMBARI-13004.patch
>
>
> Exception in storm logs due to dep changes in new version.
> {code}
> java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException
>         at org.apache.hadoop.metrics2.sink.relocated.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:220)
~[ambari-metrics-storm-sink-with-common-2.1.2.183.jar:?]
>         at org.apache.hadoop.metrics2.sink.relocated.commons.httpclient.methods.ExpectContinueMethod.<init>(ExpectContinueMethod.java:93)
~[ambari-metrics-storm-sink-with-common-2.1.2.183.jar:?]
>         at org.apache.hadoop.metrics2.sink.relocated.commons.httpclient.methods.EntityEnclosingMethod.<init>(EntityEnclosingMethod.java:119)
~[ambari-metrics-storm-sink-with-common-2.1.2.183.jar:?]
>         at org.apache.hadoop.metrics2.sink.relocated.commons.httpclient.methods.PostMethod.<init>(PostMethod.java:106)
~[ambari-metrics-storm-sink-with-common-2.1.2.183.jar:?]
>         at org.apache.hadoop.metrics2.sink.timeline.AbstractTimelineMetricsSink.emitMetrics(AbstractTimelineMetricsSink.java:68)
~[ambari-metrics-storm-sink-with-common-2.1.2.183.jar:?]
>         at org.apache.hadoop.metrics2.sink.storm.StormTimelineMetricsReporter.reportMetrics(StormTimelineMetricsReporter.java:139)
~[ambari-metrics-storm-sink-with-common-2.1.2.183.jar:?]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[?:1.8.0_40]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:1.8.0_40]
>         at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_40]
>         at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93) ~[clojure-1.6.0.jar:?]
>         at clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java:313) ~[clojure-1.6.0.jar:?]
>         at backtype.storm.ui.core$start_ganglia_reporter_BANG_$fn__10257.invoke(core.clj:1110)
~[storm-core-0.10.0.2.3.2.0-2766.jar:0.10.0.2.3.2.0-2766]
>         at backtype.storm.timer$schedule_recurring$this__4156.invoke(timer.clj:99) ~[storm-core-0.10.0.2.3.2.0-2766.jar:0.10.0.2.3.2.0-2766]
>         at backtype.storm.timer$mk_timer$fn__4139$fn__4140.invoke(timer.clj:50) ~[storm-core-0.10.0.2.3.2.0-2766.jar:0.10.0.2.3.2.0-2766]
>         at backtype.storm.timer$mk_timer$fn__4139.invoke(timer.clj:42) ~[storm-core-0.10.0.2.3.2.0-2766.jar:0.10.0.2.3.2.0-2766]
>         at clojure.lang.AFn.run(AFn.java:22) ~[clojure-1.6.0.jar:?]
>         at java.lang.Thread.run(Thread.java:745) [?:1.8.0_40]
> Caused by: java.lang.ClassNotFoundException: org.apache.commons.codec.DecoderException
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_40]
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_40]
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[?:1.8.0_40]
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_40]
>         ... 18 more
> {code}



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

Mime
View raw message