Not right now... The ClassCastException occurs deeply inside Storm. I guess it is a Storm issue.
I just instantiate a (Storm)LocalCluster and it fails internally. > LocalCluster cluster = new LocalCluster(); Maybe I need to try it locally with Java 8 JDK to be able to debug it... I will pick up this thread again if I have more information. As a fall back, we might want to deactivate this test for Java 8 (if this is possible). -Matthias On 09/16/2015 12:34 PM, Stephan Ewen wrote: > Do you know between what classes the exception is? What is the original > class and what the cast target class? > > Are they both the same, and not castable because of different copies being > loaded from different classloaders, or are they really different types? > > On Wed, Sep 16, 2015 at 10:36 AM, Matthias J. Sax <mj...@apache.org> wrote: > >> Hi, >> >> I just hit a issue with Java 8 JDK. It occurs in a new test I added in a >> current PR. >> >>> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.793 >> sec <<< FAILURE! - in >> org.apache.flink.stormcompatibility.wrappers.StormWrapperSetupHelperTest >>> >> testCreateTopologyContext(org.apache.flink.stormcompatibility.wrappers.StormWrapperSetupHelperTest) >> Time elapsed: 6.087 sec <<< ERROR! >>> java.lang.ClassCastException: class sun.security.provider.ConfigFile >>> at java.lang.Class.asSubclass(Class.java:3396) >>> at >> javax.security.auth.login.Configuration$2.run(Configuration.java:254) >>> at >> javax.security.auth.login.Configuration$2.run(Configuration.java:247) >>> at java.security.AccessController.doPrivileged(Native Method) >>> at >> javax.security.auth.login.Configuration.getConfiguration(Configuration.java:246) >>> at >> org.apache.storm.zookeeper.server.ServerCnxnFactory.configureSaslLogin(ServerCnxnFactory.java:174) >>> at >> org.apache.storm.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:87) >>> at >> backtype.storm.zookeeper$mk_inprocess_zookeeper$fn__1697$fn__1699.invoke(zookeeper.clj:198) >>> at >> backtype.storm.zookeeper$mk_inprocess_zookeeper$fn__1697.invoke(zookeeper.clj:197) >>> at >> backtype.storm.zookeeper$mk_inprocess_zookeeper.doInvoke(zookeeper.clj:195) >>> at clojure.lang.RestFn.invoke(RestFn.java:410) >>> at >> backtype.storm.testing$mk_local_storm_cluster.doInvoke(testing.clj:123) >>> at clojure.lang.RestFn.invoke(RestFn.java:421) >>> at backtype.storm.LocalCluster$_init.invoke(LocalCluster.clj:28) >>> at backtype.storm.LocalCluster.<init>(Unknown Source) >>> at >> org.apache.flink.stormcompatibility.wrappers.StormWrapperSetupHelperTest.testCreateTopologyContext(StormWrapperSetupHelperTest.java:190) >> >> Please see here >> https://travis-ci.org/mjsax/flink/jobs/80576847 >> >> I have not clue what the problem might be. Searching on the Internet did >> not help... >> >> Does anyone have an idea what the problem might be? >> >> >> -Matthias >> >> >
signature.asc
Description: OpenPGP digital signature