Enclosed ./bin/avro-tools gives an Exception when you run it, since version 0.7.0

29 views
Skip to first unread message

Peter Ruijter

unread,
May 22, 2018, 5:12:38 PM5/22/18
to divolte-collector
Hello, 

I've noticed that since Divolte 0.7.0 the enclosed ./bin/avro-tools executable gives an exception when you run it. 

./divolte-collector-0.7.0/bin/avro-tools 
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/avro/ipc/Responder
at org.apache.avro.tool.Main.<init>(Main.java:39)
at org.apache.avro.tool.Main.main(Main.java:76)
Caused by: java.lang.ClassNotFoundException: org.apache.avro.ipc.Responder
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 2 more

In the previous packaged Divolte distributions, this error message does not occur at the time you try to run it. It's not a huge problem for me, but I just wanted to let you know. 

Environment:  Ubuntu 16.04.4 LTS
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode) 

Also tested on OSX 10.13.4, with the same result. 
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)

Kind regards,

Peter

Friso van Vollenhoven

unread,
May 24, 2018, 10:00:20 AM5/24/18
to divolte-...@googlegroups.com
Hi Peter,

Apologies for not responding earlier.

I think you are running into this: https://github.com/divolte/divolte-collector/issues/204. There is a fix for it, but that's not included in a release yet. It shouldn't be long before 0.9 gets released and this will be resolved.

In the meantime, if you have trouble looking into the Avro files, here's a blog that outlines how to do it with the regular tool chain: http://www.michael-noll.com/blog/2013/03/17/reading-and-writing-avro-files-from-the-command-line/


HTH,
Friso


--
You received this message because you are subscribed to the Google Groups "divolte-collector" group.
To unsubscribe from this group and stop receiving emails from it, send an email to divolte-collec...@googlegroups.com.
To post to this group, send email to divolte-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/divolte-collector/b7ffbfb6-3205-4307-b780-d5f10bd48e51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Peter Ruijter

unread,
May 25, 2018, 4:49:12 AM5/25/18
to divolte-collector
Hi Friso,

Thanks for responding. I have indeed missed that GitHub issue, thank you for referring it to me. With the proposed fix in the issue I can move forward, but as indicated in my earlier post, I can also just use ./bin/avro-tools from a previous divolte-collector distro.
I look forward to version 0.9.

Kind regards,

Peter
Reply all
Reply to author
Forward
0 new messages