You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/05/14 12:56:00 UTC
[jira] [Commented] (METRON-451) SerDeUtils -
java.lang.ClassNotFoundException:
org.apache.storm.shade.org.joda.time.DateTime
[ https://issues.apache.org/jira/browse/METRON-451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16474143#comment-16474143 ]
ASF GitHub Bot commented on METRON-451:
---------------------------------------
Github user Humbedooh closed the pull request at:
https://github.com/apache/metron/pull/278
> SerDeUtils - java.lang.ClassNotFoundException: org.apache.storm.shade.org.joda.time.DateTime
> --------------------------------------------------------------------------------------------
>
> Key: METRON-451
> URL: https://issues.apache.org/jira/browse/METRON-451
> Project: Metron
> Issue Type: Bug
> Reporter: Nick Allen
> Priority: Major
>
> Ran into this issue attempting to write profile data to HBase.
> {code}
> Exception in thread "main" java.lang.IllegalStateException: Unable to serialize 4790 because org/apache/storm/shade/org/joda/time/DateTime
> at org.apache.metron.common.utils.SerDeUtils.toBytes(SerDeUtils.java:233)
> at org.apache.metron.profiler.hbase.ValueOnlyColumnBuilder.columns(ValueOnlyColumnBuilder.java:52)
> at org.apache.metron.profiler.client.hbase.HBaseProfileWriter.write(HBaseProfileWriter.java:92)
> at org.apache.metron.profiler.client.hbase.HBaseProfileWriter.write(HBaseProfileWriter.java:80)
> at org.apache.metron.profiler.client.hbase.ProfilerWriterCLI.main(ProfilerWriterCLI.java:149)
> 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:497)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
> Caused by: java.lang.NoClassDefFoundError: org/apache/storm/shade/org/joda/time/DateTime
> at org.apache.metron.common.utils.SerDeUtils$1.initialValue(SerDeUtils.java:87)
> at org.apache.metron.common.utils.SerDeUtils$1.initialValue(SerDeUtils.java:63)
> at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:180)
> at java.lang.ThreadLocal.get(ThreadLocal.java:170)
> at org.apache.metron.common.utils.SerDeUtils.toBytes(SerDeUtils.java:226)
> ... 9 more
> Caused by: java.lang.ClassNotFoundException: org.apache.storm.shade.org.joda.time.DateTime
> 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)
> ... 14 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)