Thank you, Filippo!

Look forward to your feedback.

- Sijie

On Mon, Sep 11, 2017 at 1:59 PM, Filippo Balicchia <fbalicc...@gmail.com>
wrote:

> Hi,
> thanks a lot for explanation.
> I' ll picking commit from your repo and  try it.
> In the next days I'll give you feedback.
>
> Thanks
>
> --Filippo
>
> 2017-09-11 18:43 GMT+02:00 Sijie Guo <guosi...@gmail.com>:
> > Hi Filippo,
> >
> > I think the problem was introduced by recent changes on upgrading
> bookkeeper
> > to 4.5.0 and using ByteBuf for better memory management.
> >
> > We shaded 'libthrift' in `distributedlog-core`. However for the
> sub-modules
> > which depend on `distributedlog-core still import `libthrift` (version
> 9),
> > the libthrift version is incompatible with the `libthrift` version used
> by
> > twitter finagle. so the conflict libthrift version causes the
> > IncompatibleClassChangeError problem.
> >
> > I have created a pull request to fix it -
> > https://github.com/apache/distributedlog/pull/187
> >
> > - Sijie
> >
> > On Sun, Sep 10, 2017 at 5:23 PM, Sijie Guo <guosi...@gmail.com> wrote:
> >>
> >> checking the scripts now. will get back to this email thread soon.
> >>
> >> - Sijie
> >>
> >> On Sun, Sep 10, 2017 at 8:02 AM, Filippo Balicchia <
> fbalicc...@gmail.com>
> >> wrote:
> >>>
> >>> Hi,
> >>>
> >>> I'm using master HEAD to try basic example 2 for use
> ConsoleProxyWriter.
> >>>
> >>>
> >>> I' ve launch proxy with this command
> >>> ./distributedlog-proxy-server/bin/dlog
> >>> org.apache.distributedlog.service.DistributedLogServerApp -p 8000
> >>> --shard-id 1 -sp 8001 -u
> >>> distributedlog://127.0.0.1:7000/messaging/distributedlog -mx
> >>>
> >>> DLOG_HOME => ./distributedlog-proxy-server/bin/..
> >>> ./distributedlog-proxy-server/bin/../logs
> >>> -XX:+CMSScavengeBeforeRemark -XX:GCLogFileSize=67108864
> >>> -XX:+HeapDumpOnOutOfMemoryError -XX:InitialHeapSize=2147483648
> >>> -XX:MaxDirectMemorySize=4294967296 -XX:MaxHeapSize=2147483648
> >>> -XX:MaxMetaspaceSize=134217728 -XX:MaxNewSize=348966912
> >>> -XX:MaxTenuringThreshold=6 -XX:MetaspaceSize=134217728
> >>> -XX:NewSize=348966912 -XX:NumberOfGCLogFiles=2 -XX:OldPLABSize=16
> >>> -XX:OldSize=697933824 -XX:ParallelGCThreads=4
> >>> -XX:+PrintCommandLineFlags -XX:+PrintGC -XX:+PrintGCCause
> >>> -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintGCTimeStamps
> >>> -XX:+PrintHeapAtGC -XX:+PrintPromotionFailure
> >>> -XX:+PrintTenuringDistribution -XX:TargetSurvivorRatio=90
> >>> -XX:+UseCompressedClassPointers -XX:+UseCompressedOops
> >>> -XX:+UseConcMarkSweepGC -XX:+UseGCLogFileRotation -XX:+UseParNewGC
> >>> Sep 10, 2017 4:05:11 PM com.twitter.finagle.Init$$anonfun$1
> apply$mcV$sp
> >>> INFO: Finagle version 6.34.0
> >>> (rev=44f444f606b10582c2da8d5770b7879ddd961211) built at
> >>> 20160310-155158
> >>> Sep 10, 2017 4:05:11 PM
> >>> com.twitter.common.zookeeper.ServerSetImpl$ServerSetWatcher
> >>> notifyServerSetChange
> >>> WARNING: server set empty for path /messaging/distributedlog/.
> write_proxy
> >>>
> >>>
> >>> Then when in try use ConsoleProxyWriter I retrive this exception
> >>>
> >>>
> >>> Sep 10, 2017 4:07:04 PM
> >>> com.twitter.finagle.netty3.channel.ChannelStatsHandler exceptionCaught
> >>> WARNING: ChannelStatsHandler caught an exception
> >>> java.lang.IncompatibleClassChangeError: Implementing class
> >>> at java.lang.ClassLoader.defineClass1(Native Method)
> >>> at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
> >>> at
> >>> java.security.SecureClassLoader.defineClass(
> SecureClassLoader.java:142)
> >>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
> >>> at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
> >>> at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
> >>> at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
> >>> at java.security.AccessController.doPrivileged(Native Method)
> >>> at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
> >>> 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
> >>> org.apache.distributedlog.thrift.service.DistributedLogService$
> ServiceToClient$2.apply(DistributedLogService.java:1111)
> >>> at
> >>> org.apache.distributedlog.thrift.service.DistributedLogService$
> ServiceToClient$2.apply(DistributedLogService.java:1106)
> >>>
> >>>
> >>>
> >>> Could you please tell me a tip to address  this problem ?
> >>>
> >>> Thanks for help.
> >>>
> >>> --Filippo
> >>
> >>
> >
>

Reply via email to