[JBoss JIRA] (ISPN-5059) JGroups subsystem doesn't support Vault
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-5059?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-5059:
-----------------------------------------------
Vojtech Juranek <vjuranek(a)redhat.com> changed the Status of [bug 1172038|https://bugzilla.redhat.com/show_bug.cgi?id=1172038] from ON_QA to VERIFIED
> JGroups subsystem doesn't support Vault
> ---------------------------------------
>
> Key: ISPN-5059
> URL: https://issues.jboss.org/browse/ISPN-5059
> Project: Infinispan
> Issue Type: Bug
> Components: Security, Server
> Affects Versions: 7.0.2.Final
> Reporter: Vojtech Juranek
> Assignee: Tristan Tarrant
> Fix For: 7.1.0.Beta1, 7.1.0.Final
>
>
> JGroups subsystem doesn't support passwords encrypted in Vault. E.g. when running [EncryptProtocolIT|https://github.com/infinispan/infinispan/blob/master/se...] with following configuration:
> {noformat}
> <protocol type="ENCRYPT">
> <property name="key_store_name">${jboss.server.config.dir}/server_jceks.keystore</property>
> <property name="store_password">${VAULT::keystore::password::1}</property>
> <property name="alias">memcached</property>
> </protocol>
> {noformat}
> i.e. it uses Vault-encrypted password for keystore, it fails with:
> {noformat}
> groups.channel.clustered: java.lang.Exception: Unable to load keystore infinispan/server/integration/testsuite/target/server/node2/standalone/configuration/server_jceks.keystore: java.io.IOException: Keystore was tampered with, or password was incorrect
> at org.jboss.as.clustering.jgroups.subsystem.ChannelService.start(ChannelService.java:74)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_55]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_55]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_55]
> Caused by: java.lang.Exception: Unable to load keystore infinispan/server/integration/testsuite/target/server/node2/standalone/configuration/server_jceks.keystore: java.io.IOException: Keystore was tampered with, or password was incorrect
> at org.jgroups.protocols.ENCRYPT.initConfiguredKey(ENCRYPT.java:309)
> at org.jgroups.protocols.ENCRYPT.init(ENCRYPT.java:250)
> at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:860)
> at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:481)
> at org.jgroups.JChannel.init(JChannel.java:848)
> at org.jgroups.JChannel.<init>(JChannel.java:159)
> at org.jboss.as.clustering.jgroups.JChannelFactory.createChannel(JChannelFactory.java:87)
> at org.jboss.as.clustering.jgroups.subsystem.ChannelService.start(ChannelService.java:69)
> {noformat}
> Vault record for {{keystore::password}} exists:
> {noformat}
> Task: Verify whether a secured attribute exists
> Enter Vault Block:keystore
> Enter Attribute Name:password
> A value exists for (keystore, password)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 3 months
[JBoss JIRA] (ISPN-5120) Expose EmbeddedCacheManager/Cache via JCacheManager/JCache unwrap(...) methods
by Paul Ferraro (JIRA)
[ https://issues.jboss.org/browse/ISPN-5120?page=com.atlassian.jira.plugin.... ]
Paul Ferraro reassigned ISPN-5120:
----------------------------------
Assignee: Galder Zamarreño
> Expose EmbeddedCacheManager/Cache via JCacheManager/JCache unwrap(...) methods
> ------------------------------------------------------------------------------
>
> Key: ISPN-5120
> URL: https://issues.jboss.org/browse/ISPN-5120
> Project: Infinispan
> Issue Type: Feature Request
> Components: JCache
> Affects Versions: 7.0.3.Final
> Reporter: Paul Ferraro
> Assignee: Galder Zamarreño
>
> The JSR-107 spec includes the CacheManager.unwrap(Class) and Cache.unwrap(Class) methods to allow access to underlying caching implementation. Currently, I can only unwrap the Cache/CacheManager instance to the concrete JCache/JCacheManager implementations. However, these classes do not expose the underlying infinispan Cache/EmbeddedCacheManager.
> Ideally, I should be able to do the following:
> {code}
> javax.cache.Cache<K, V> jcache = Caching.getCache("name", ...);
> org.infinispan.Cache<K, V> icache = jcache.unwrap(org.infinispan.Cache.class);
> {code}
> or
> {code}
> CacheManager jmanager = Caching.getCachingProvider().getCacheManager();
> EmbeddedCacheManager imanager = jmanager.unwrap(EmbeddedCacheManager.class);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 3 months
[JBoss JIRA] (ISPN-4359) Provide an annotation driven way of declaring protobuf metadata
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-4359?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-4359:
-----------------------------------------------
Martin Gencur <mgencur(a)redhat.com> changed the Status of [bug 1172646|https://bugzilla.redhat.com/show_bug.cgi?id=1172646] from ON_QA to ASSIGNED
> Provide an annotation driven way of declaring protobuf metadata
> ---------------------------------------------------------------
>
> Key: ISPN-4359
> URL: https://issues.jboss.org/browse/ISPN-4359
> Project: Infinispan
> Issue Type: Feature Request
> Components: Marshalling
> Affects Versions: 7.0.0.Alpha4
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Labels: jdg
> Fix For: 7.1.0.Beta1
>
>
> The main goal of this is to simply marshalling of java objects to protobuf using the Protostream library.
> Instead of providing a Protostream MessageMarshaller implementation and a proto schema file it would be nice to have an alternative way of just adding minimal annotations to a Java class (and its fields) to assist on the fly generation (via reflection) of the proto schema. The Protostream library should also infer the marshaller so it would not require a manually implemented one. The annotation should require minimal info (tag number) and the rest should be inferred based on common sense defaults (protobuf type, java collection type, collection element type ...) but should be possible to override. The auto-generated schema should be available to users and they should be able then to use it as reference if they need it to implement domain model classes and marshallers for other languages.
> The user should still be able to specify a manually created schema (besides the annotated classes) and in that case the Protostream library should check the auto-inferred schema against the provided one and ensure they match.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 3 months
[JBoss JIRA] (ISPN-5120) Expose EmbeddedCacheManager/Cache via JCacheManager/JCache unwrap(...) methods
by Paul Ferraro (JIRA)
Paul Ferraro created ISPN-5120:
----------------------------------
Summary: Expose EmbeddedCacheManager/Cache via JCacheManager/JCache unwrap(...) methods
Key: ISPN-5120
URL: https://issues.jboss.org/browse/ISPN-5120
Project: Infinispan
Issue Type: Feature Request
Components: JCache
Affects Versions: 7.0.3.Final
Reporter: Paul Ferraro
The JSR-107 spec includes the CacheManager.unwrap(Class) and Cache.unwrap(Class) methods to allow access to underlying caching implementation. Currently, I can only unwrap the Cache/CacheManager instance to the concrete JCache/JCacheManager implementations. However, these classes do not expose the underlying infinispan Cache/EmbeddedCacheManager.
Ideally, I should be able to do the following:
{code}
javax.cache.Cache<K, V> jcache = Caching.getCache("name", ...);
org.infinispan.Cache<K, V> icache = jcache.unwrap(org.infinispan.Cache.class);
{code}
or
{code}
CacheManager jmanager = Caching.getCachingProvider().getCacheManager();
EmbeddedCacheManager imanager = jmanager.unwrap(EmbeddedCacheManager.class);
{code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 3 months
[JBoss JIRA] (ISPN-4163) CacheAuthorizationTest.testAllCombinations always fails on JDK8
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-4163?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-4163:
-----------------------------------------------
Vojtech Juranek <vjuranek(a)redhat.com> changed the Status of [bug 1173645|https://bugzilla.redhat.com/show_bug.cgi?id=1173645] from ON_QA to VERIFIED
> CacheAuthorizationTest.testAllCombinations always fails on JDK8
> ---------------------------------------------------------------
>
> Key: ISPN-4163
> URL: https://issues.jboss.org/browse/ISPN-4163
> Project: Infinispan
> Issue Type: Bug
> Components: Security, Test Suite - Core
> Affects Versions: 7.0.0.Alpha1
> Reporter: Dan Berindei
> Assignee: Tristan Tarrant
> Labels: testsuite_stability
> Fix For: 7.0.0.Alpha5
>
>
> JDK8 added some new default methods to ConcurrentMap, and SecureCacheTestDriver doesn't cover them. This actually raises the question of whether we could provide our own implementations while still keeping compatibility with JDK6...
> {noformat}
> java.lang.Exception: Class org.infinispan.security.SecureCacheTestDriver needs to declare a method with the following signature: void testReplaceAll_BiFunction(SecureCache<String, String> cache) {}
> at org.infinispan.security.CacheAuthorizationTest.testAllCombinations(CacheAuthorizationTest.java:158)
> Caused by: java.lang.NoSuchMethodException: org.infinispan.security.SecureCacheTestDriver.testReplaceAll_BiFunction(org.infinispan.security.SecureCache)
> at java.lang.Class.getMethod(Class.java:1773)
> at org.infinispan.security.CacheAuthorizationTest.testAllCombinations(CacheAuthorizationTest.java:109) ... 20 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 3 months
[JBoss JIRA] (ISPN-4902) Unsupported Class Version Error when running testsuite with JDK6
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-4902?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-4902:
-----------------------------------------------
Vojtech Juranek <vjuranek(a)redhat.com> changed the Status of [bug 1158479|https://bugzilla.redhat.com/show_bug.cgi?id=1158479] from ON_QA to VERIFIED
> Unsupported Class Version Error when running testsuite with JDK6
> -----------------------------------------------------------------
>
> Key: ISPN-4902
> URL: https://issues.jboss.org/browse/ISPN-4902
> Project: Infinispan
> Issue Type: Bug
> Components: Build process, Documentation-Core
> Affects Versions: 7.0.0.CR2
> Reporter: Roman Macor
> Assignee: Ion Savin
> Priority: Critical
> Fix For: 7.0.1.Final
>
>
> Description of problem:
> Unsupported Class Version Error is thrown when running testsuite with JDK6.
> The main error messages:
> [ERROR] java.lang.UnsupportedClassVersionError: org/infinispan/protostream/sampledomain/User : Unsupported major.minor version 51.0
> [ERROR] java.lang.UnsupportedClassVersionError: org/ops4j/pax/exam/Option : Unsupported major.minor version 51.0
> Extracted logs:
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Infinispan BOM .................................... SUCCESS [10.406s]
> [INFO] Infinispan Common Parent .......................... SUCCESS [17.060s]
> [INFO] Infinispan Commons ................................ SUCCESS [26.115s]
> [INFO] Infinispan Core ................................... SUCCESS [1:03:33.709s]
> [INFO] Parent pom for server modules ..................... SUCCESS [3.556s]
> [INFO] Infinispan Server - Core Components ............... SUCCESS [1:07.008s]
> [INFO] Infinispan Query DSL API .......................... SUCCESS [3.722s]
> [INFO] Infinispan Object Filtering API ................... SUCCESS [8.841s]
> [INFO] Parent pom for cachestore modules ................. SUCCESS [1.038s]
> [INFO] Infinispan JDBC CacheStore ........................ SUCCESS [10:10.126s]
> [INFO] Parent pom for the Lucene integration modules ..... SUCCESS [1.188s]
> [INFO] Infinispan integration with Lucene v.3.x .......... SUCCESS [37.289s]
> [INFO] Infinispan Lucene Directory Implementation ........ SUCCESS [3.409s]
> [INFO] Infinispan Query API .............................. SUCCESS [5:25.030s]
> [INFO] Infinispan Tools .................................. SUCCESS [8.149s]
> [INFO] Infinispan Remote Query Client .................... SUCCESS [2.575s]
> [INFO] Infinispan Remote Query Server .................... FAILURE [1:09.702s]
> [INFO] Infinispan JPA CacheStore ......................... SUCCESS [4:35.809s]
> [INFO] Infinispan Hot Rod Server ......................... FAILURE [3:21.935s]
> [INFO] Infinispan Hot Rod Client ......................... FAILURE [11.828s]
> [INFO] Parent pom for compatibility modules .............. SUCCESS [0.697s]
> [INFO] infinispan-custom52x-store ........................ SUCCESS [25.898s]
> [INFO] infinispan-adaptor52x ............................. SUCCESS [3:59.482s]
> [INFO] Infinispan remote CacheStore ...................... SUCCESS [44.130s]
> [INFO] Infinispan LevelDB CacheStore ..................... SUCCESS [6:05.134s]
> [INFO] Infinispan REST Server ............................ SUCCESS [1:31.259s]
> [INFO] Infinispan REST CacheStore ........................ SUCCESS [15.390s]
> [INFO] Infinispan Memcached Server ....................... SUCCESS [1:34.134s]
> [INFO] Parent pom for uberjar modules .................... SUCCESS [0.037s]
> [INFO] Infinispan Embedded ............................... SUCCESS [31.958s]
> [INFO] Infinispan Embedded Query ......................... SUCCESS [40.679s]
> [INFO] Infinispan Remote Client .......................... FAILURE [4.012s]
> [INFO] Infinispan RHQ Plugin ............................. SUCCESS [37.664s]
> [INFO] Infinispan CLI Server ............................. SUCCESS [41.473s]
> [INFO] Infinispan CLI Client ............................. SUCCESS [11.122s]
> [INFO] Infinispan CDI support ............................ SUCCESS [1:34.483s]
> [INFO] Infinispan AS/EAP modules for library ............. SUCCESS [23.125s]
> [INFO] Infinispan AS/EAP modules for remote client ....... SUCCESS [1.783s]
> [INFO] Integration tests: Security Tests ................. SUCCESS [7:57.420s]
> [INFO] Integration tests: SecurityManager tests .......... SUCCESS [15.094s]
> [INFO] Integration tests: Karaf .......................... FAILURE [52.078s]
> [INFO] Integration tests: AS Module Integration Tests .... SUCCESS [1:35.135s]
> [INFO] Integration tests: AS Remote Client Module Integration Tests SUCCESS [52.983s]
> [INFO] Integration tests: Lucene Directory with Infinispan Query SUCCESS [13.914s]
> [INFO] Integration tests: Infinispan compatibility mode .. SUCCESS [25.802s]
> [INFO] Infinispan Embedded Integration Tests ............. SUCCESS [5.941s]
> [INFO] Infinispan Embedded Query Integration Tests ....... SUCCESS [4.319s]
> [INFO] Infinispan Remote Client Integration Tests ........ FAILURE [0.080s]
> [INFO] Infinispan Distribution ........................... SUCCESS [0.708s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2:03:47.228s
> [INFO] Finished at: Fri Oct 24 07:33:04 EDT 2014
> [INFO] Final Memory: 145M/446M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on project infinispan-remote-query-server: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
> [ERROR] Command was/bin/sh -c cd /mnt/hudson_workspace/workspace/edg-60-ispn-testsuite-rhel/6a814865/infinispan/remote-query/remote-query-server && /qa/tools/opt/amd64/jdk1.6.0_last/bin/java -Xmx1536m -XX:MaxPermSize=384m -Dsun.nio.ch.bugLevel -jar /mnt/hudson_workspace/workspace/edg-60-ispn-testsuite-rhel/6a814865/infinispan/remote-query/remote-query-server/target/surefire/surefirebooter1225172043033571111.jar /mnt/hudson_workspace/workspace/edg-60-ispn-testsuite-rhel/6a814865/infinispan/remote-query/remote-query-server/target/surefire/surefire4460884784028612739tmp /mnt/hudson_workspace/workspace/edg-60-ispn-testsuite-rhel/6a814865/infinispan/remote-query/remote-query-server/target/surefire/surefire_61815997041197751408tmp
> [ERROR] -> [Help 1]
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on project infinispan-server-hotrod: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
> [ERROR] Command was/bin/sh -c cd /mnt/hudson_workspace/workspace/edg-60-ispn-testsuite-rhel/6a814865/infinispan/server/hotrod && /qa/tools/opt/amd64/jdk1.6.0_last/bin/java -Xmx1536m -XX:MaxPermSize=384m -Dsun.nio.ch.bugLevel -jar /mnt/hudson_workspace/workspace/edg-60-ispn-testsuite-rhel/6a814865/infinispan/server/hotrod/target/surefire/surefirebooter8896904403305648242.jar /mnt/hudson_workspace/workspace/edg-60-ispn-testsuite-rhel/6a814865/infinispan/server/hotrod/target/surefire/surefire878622548590911280tmp /mnt/hudson_workspace/workspace/edg-60-ispn-testsuite-rhel/6a814865/infinispan/server/hotrod/target/surefire/surefire_86027626310850569139tmp
> [ERROR] -> [Help 1]
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on project infinispan-client-hotrod: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test failed: There was an error in the forked process
> [ERROR] java.lang.UnsupportedClassVersionError: org/infinispan/protostream/sampledomain/User : Unsupported major.minor version 51.0
> [ERROR] at java.lang.ClassLoader.defineClass1(Native Method)
> [ERROR] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
> [ERROR] at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
> [ERROR] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
> [ERROR] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
> [ERROR] at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
> [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
> [ERROR] at java.security.AccessController.doPrivileged(Native Method)
> [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> [ERROR] at java.lang.Class.getDeclaredMethods0(Native Method)
> [ERROR] at java.lang.Class.privateGetDeclaredMethods(Class.java:2436)
> [ERROR] at java.lang.Class.getDeclaredMethods(Class.java:1793)
> [ERROR] at org.testng.internal.annotations.AnnotationHelper.findMethodsWithAnnotation(AnnotationHelper.java:214)
> [ERROR] at org.testng.internal.TestNGMethodFinder.getTestMethods(TestNGMethodFinder.java:49)
> [ERROR] at org.testng.TestClass.initMethods(TestClass.java:123)
> [ERROR] at org.testng.TestClass.init(TestClass.java:86)
> [ERROR] at org.testng.TestClass.<init>(TestClass.java:45)
> [ERROR] at org.testng.TestRunner.initMethods(TestRunner.java:427)
> [ERROR] at org.testng.TestRunner.init(TestRunner.java:235)
> [ERROR] at org.testng.TestRunner.init(TestRunner.java:205)
> [ERROR] at org.testng.TestRunner.<init>(TestRunner.java:153)
> [ERROR] at org.testng.SuiteRunner$DefaultTestRunnerFactory.newTestRunner(SuiteRunner.java:522)
> [ERROR] at org.testng.SuiteRunner.init(SuiteRunner.java:157)
> [ERROR] at org.testng.SuiteRunner.<init>(SuiteRunner.java:111)
> [ERROR] at org.testng.TestNG.createSuiteRunner(TestNG.java:1273)
> [ERROR] at org.testng.TestNG.createSuiteRunners(TestNG.java:1260)
> [ERROR] at org.testng.TestNG.runSuitesLocally(TestNG.java:1114)
> [ERROR] at org.testng.TestNG.run(TestNG.java:1031)
> [ERROR] at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77)
> [ERROR] at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:189)
> [ERROR] at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:105)
> [ERROR] at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:117)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
> [ERROR] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
> [ERROR] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:159)
> [ERROR] at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:87)
> [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
> [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
> [ERROR] -> [Help 1]
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:2.3:shade (default) on project infinispan-remote: Error creating shaded jar: /mnt/hudson_workspace/workspace/edg-60-ispn-testsuite-rhel/6a814865/infinispan/client/hotrod-client/target/classes (Is a directory) -> [Help 2]
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on project integrationtests-osgi: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test failed: There was an error in the forked process
> [ERROR] java.lang.UnsupportedClassVersionError: org/ops4j/pax/exam/Option : Unsupported major.minor version 51.0
> [ERROR] at java.lang.ClassLoader.defineClass1(Native Method)
> [ERROR] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
> [ERROR] at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
> [ERROR] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
> [ERROR] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
> [ERROR] at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
> [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
> [ERROR] at java.security.AccessController.doPrivileged(Native Method)
> [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> [ERROR] at java.lang.Class.getDeclaredMethods0(Native Method)
> [ERROR] at java.lang.Class.privateGetDeclaredMethods(Class.java:2436)
> [ERROR] at java.lang.Class.getMethod0(Class.java:2679)
> [ERROR] at java.lang.Class.getMethod(Class.java:1605)
> [ERROR] at org.apache.maven.surefire.util.ReflectionUtils.tryGetMethod(ReflectionUtils.java:57)
> [ERROR] at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isSuiteOnly(JUnit3TestChecker.java:64)
> [ERROR] at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isValidJUnit3Test(JUnit3TestChecker.java:59)
> [ERROR] at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.accept(JUnit3TestChecker.java:54)
> [ERROR] at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.accept(JUnit4TestChecker.java:51)
> [ERROR] at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:97)
> [ERROR] at org.apache.maven.surefire.junitcore.JUnitCoreProvider.scanClassPath(JUnitCoreProvider.java:179)
> [ERROR] at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:132)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
> [ERROR] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
> [ERROR] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:159)
> [ERROR] at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:87)
> [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
> [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
> [ERROR] -> [Help 1]
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 3 months
[JBoss JIRA] (ISPN-4851) Make SyncConsistentHashFactory the default CH factory
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-4851?page=com.atlassian.jira.plugin.... ]
Work on ISPN-4851 started by Dan Berindei.
------------------------------------------
> Make SyncConsistentHashFactory the default CH factory
> -----------------------------------------------------
>
> Key: ISPN-4851
> URL: https://issues.jboss.org/browse/ISPN-4851
> Project: Infinispan
> Issue Type: Feature Request
> Components: Configuration, Core
> Affects Versions: 7.0.0.CR1
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 7.1.0.Beta1
>
>
> With ISPN-4682 fixed, SyncConsistentHashFactory should be good enough to be the default. It still allows for more variation in the number of owned segments per node (+/-10% owned segments and +/-20% for primary-owned segments), but that should be acceptable for most purposes.
> The major advantage of SCHF is that it depends only on the cache members and not on the order they joined. Users expect a key to map to the same node in all caches (as long as the caches have the same members).
> One downside of SCHF, especially for testing, is that the segment ownership differs between test runs (being based on the random address assigned to each node). However, most tests that depend on key ownership should use {{ControlledConsistentHashFactory}} anyway.
> We also need to verify that the number of segments moved by SCHF is comparable to the number of segments moved by DefaultConsistentHashFactory (ISPN-3729).
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 3 months