You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dan Smith (JIRA)" <ji...@apache.org> on 2016/09/23 23:25:22 UTC

[jira] [Created] (GEODE-1934) Failure from RDDJoinRegionIntegrationTest

Dan Smith created GEODE-1934:
--------------------------------

             Summary: Failure from RDDJoinRegionIntegrationTest
                 Key: GEODE-1934
                 URL: https://issues.apache.org/jira/browse/GEODE-1934
             Project: Geode
          Issue Type: Bug
          Components: tests
            Reporter: Dan Smith


This test is failing in the nightly build for the spark integration.

It looks like the issue is that it's missing the StringUtils class, which is part of spring core:
{noformat}
sbt.ForkMain$ForkError: org/springframework/util/StringUtils
	at org.apache.geode.internal.net.SSLConfigurationFactory.configureSSLPropertiesFromSystemProperties(SSLConfigurationFactory.java:274)
	at org.apache.geode.internal.net.SSLConfigurationFactory.configureSSLPropertiesFromSystemProperties(SSLConfigurationFactory.java:270)
	at org.apache.geode.internal.net.SSLConfigurationFactory.createSSLConfigForComponent(SSLConfigurationFactory.java:138)
	at org.apache.geode.internal.net.SSLConfigurationFactory.getSSLConfigForComponent(SSLConfigurationFactory.java:67)
	at org.apache.geode.internal.net.SocketCreatorFactory.getSocketCreatorForComponent(SocketCreatorFactory.java:67)
	at org.apache.geode.distributed.internal.tcpserver.TcpClient.<init>(TcpClient.java:69)
	at org.apache.geode.cache.client.internal.AutoConnectionSourceImpl.<init>(AutoConnectionSourceImpl.java:114)
	at org.apache.geode.cache.client.internal.PoolImpl.getSourceImpl(PoolImpl.java:579)
	at org.apache.geode.cache.client.internal.PoolImpl.<init>(PoolImpl.java:219)
	at org.apache.geode.cache.client.internal.PoolImpl.create(PoolImpl.java:132)
	at org.apache.geode.internal.cache.PoolFactoryImpl.create(PoolFactoryImpl.java:319)
	at org.apache.geode.internal.cache.GemFireCacheImpl.determineDefaultPool(GemFireCacheImpl.java:2943)
	at org.apache.geode.internal.cache.GemFireCacheImpl.initializeDeclarativeCache(GemFireCacheImpl.java:1293)
	at org.apache.geode.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1124)
	at org.apache.geode.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:765)
	at org.apache.geode.internal.cache.GemFireCacheImpl.createClient(GemFireCacheImpl.java:740)
	at org.apache.geode.cache.client.ClientCacheFactory.basicCreate(ClientCacheFactory.java:235)
	at org.apache.geode.cache.client.ClientCacheFactory.create(ClientCacheFactory.java:189)
	at org.apache.geode.spark.connector.internal.DefaultGeodeConnection.initClientCache(DefaultGeodeConnection.scala:52)
	at org.apache.geode.spark.connector.internal.DefaultGeodeConnection.<init>(DefaultGeodeConnection.scala:43)
	at org.apache.geode.spark.connector.internal.DefaultGeodeConnectionFactory.newConnection(DefaultGeodeConnection.scala:162)
	at org.apache.geode.spark.connector.internal.DefaultGeodeConnectionManager$.getConnection(DefaultGeodeConnectionManager.scala:59)
	at org.apache.geode.spark.connector.internal.DefaultGeodeConnectionManager.getConnection(DefaultGeodeConnectionManager.scala:29)
	at org.apache.geode.spark.connector.GeodeConnectionConf.getConnection(GeodeConnectionConf.scala:39)
	at ittest.org.apache.geode.spark.connector.RDDJoinRegionIntegrationTest.verifyPairRDDJoinRegionWithSameKeyType(RDDJoinRegionIntegrationTest.scala:89)
	at ittest.org.apache.geode.spark.connector.RDDJoinRegionIntegrationTest$$anonfun$1.apply$mcV$sp(RDDJoinRegionIntegrationTest.scala:73)
	at ittest.org.apache.geode.spark.connector.RDDJoinRegionIntegrationTest$$anonfun$1.apply(RDDJoinRegionIntegrationTest.scala:73)
	at ittest.org.apache.geode.spark.connector.RDDJoinRegionIntegrationTest$$anonfun$1.apply(RDDJoinRegionIntegrationTest.scal
{noformat}

Looking at our pom.xml file for geode-core, this is not suprising because spring-core is marked as an optional dependency. I think the dependencies of geode-core are messed, either spring-core should not be marked optional or we should not be depending on it. These are the places that are using spring-core in geode-core:

{noformat}
./gradlew geode-core:findUsage -Djar.name=spring-core

Matches
========
org/apache/geode/management/internal/cli/shell/GfshExecutionStrategy.java
org/apache/geode/management/internal/cli/converters/DirConverter.java
org/apache/geode/management/internal/cli/util/CommentSkipHelper.java
org/apache/geode/management/internal/cli/multistep/CLIMultiStepHelper.java
org/apache/geode/management/internal/cli/remote/RemoteExecutionStrategy.java
org/apache/geode/management/internal/cli/parser/GfshMethodTarget.java
org/apache/geode/management/internal/configuration/domain/XmlEntity.java
org/apache/geode/management/internal/web/util/ConvertUtils.java
org/apache/geode/management/internal/web/io/MultipartFileResourceAdapter.java
org/apache/geode/management/internal/web/http/converter/SerializableObjectHttpMessageConverter.java
org/apache/geode/management/internal/web/http/ClientHttpRequest.java
org/apache/geode/pdx/internal/PdxInstanceImpl.java
org/apache/geode/internal/net/SocketCreator.java
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)