kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaofeng SHI (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KYLIN-2853) Upgrade Curator dependency
Date Thu, 23 Nov 2017 03:30:00 GMT

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

Shaofeng SHI commented on KYLIN-2853:
-------------------------------------

I found simply changing the version in pom.xml doesn't work:

{code}
java.lang.NoClassDefFoundError: org/apache/curator/shaded/com/google/common/collect/ImmutableList

	at org.apache.curator.framework.CuratorFrameworkFactory$Builder.authorization(CuratorFrameworkFactory.java:187)
	at org.apache.kylin.storage.hbase.util.ZookeeperAclBuilder.setZKAclBuilder(ZookeeperAclBuilder.java:70)
	at org.apache.kylin.storage.hbase.util.ZookeeperAclBuilderTest.testAclEnabled(ZookeeperAclBuilderTest.java:76)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
	at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:51)
	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:237)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Caused by: java.lang.ClassNotFoundException: org.apache.curator.shaded.com.google.common.collect.ImmutableList
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	... 32 more
{code}

I have reverted the change. As Xu Yiming has already worked on this, change the assignee to
him. Thanks Yiming.

> Upgrade Curator dependency
> --------------------------
>
>                 Key: KYLIN-2853
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2853
>             Project: Kylin
>          Issue Type: Task
>            Reporter: Ted Yu
>            Assignee: Shaofeng SHI
>            Priority: Minor
>             Fix For: v2.3.0
>
>
> Currently we depend on Curator 2.7.1
> There have been some bug fixes in Curator. e.g.
> CURATOR-264
> that address potential leader election bugs.
> We should upgrade to Curator 2.12.0 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message