[jira] [Commented] (GEODE-5000) When initializing a client cache, we don't need to request/apply cluster configuration

2018-04-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/GEODE-5000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16440203#comment-16440203
 ] 

ASF subversion and git services commented on GEODE-5000:


Commit ad11ef0dd338eb0baf5f36a4d71899fe892ed0d0 in geode's branch 
refs/heads/feature/GEODE-4647 from [~jinmeiliao]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=ad11ef0 ]

GEODE-5000: fix logging message. (#1763)



> When initializing a client cache, we don't need to request/apply cluster 
> configuration
> --
>
> Key: GEODE-5000
> URL: https://issues.apache.org/jira/browse/GEODE-5000
> Project: Geode
>  Issue Type: Bug
>  Components: configuration
>Affects Versions: 1.4.0
>Reporter: Jinmei Liao
>Assignee: Jinmei Liao
>Priority: Major
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> The user running a gemfire client doesn't have write access to the local dirs 
> in the customer environment, and they get an stack trace in their logs. This 
> is caused by a client cache trying to request/apply cluster configuration.
> {noformat}
> [error 2018/02/12 17:52:13.899 EST  tid=0x12] Error 
> when attempting to deploy JAR files on load.
> java.io.IOException: Unable to write to deploy directory
> at 
> org.apache.geode.internal.JarDeployer.verifyWritableDeployDirectory(JarDeployer.java:626)
> at 
> org.apache.geode.internal.JarDeployer.loadPreviouslyDeployedJars(JarDeployer.java:74)
> at 
> org.apache.geode.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1242)
> at 
> org.apache.geode.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:794)
> at 
> org.apache.geode.internal.cache.GemFireCacheImpl.createClient(GemFireCacheImpl.java:767)
> at 
> org.apache.geode.cache.client.ClientCacheFactory.basicCreate(ClientCacheFactory.java:257)
> at 
> org.apache.geode.cache.client.ClientCacheFactory.create(ClientCacheFactory.java:207){noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (GEODE-5000) When initializing a client cache, we don't need to request/apply cluster configuration

2018-04-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/GEODE-5000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16440142#comment-16440142
 ] 

ASF subversion and git services commented on GEODE-5000:


Commit ad11ef0dd338eb0baf5f36a4d71899fe892ed0d0 in geode's branch 
refs/heads/develop from [~jinmeiliao]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=ad11ef0 ]

GEODE-5000: fix logging message. (#1763)



> When initializing a client cache, we don't need to request/apply cluster 
> configuration
> --
>
> Key: GEODE-5000
> URL: https://issues.apache.org/jira/browse/GEODE-5000
> Project: Geode
>  Issue Type: Bug
>  Components: configuration
>Affects Versions: 1.4.0
>Reporter: Jinmei Liao
>Assignee: Jinmei Liao
>Priority: Major
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> The user running a gemfire client doesn't have write access to the local dirs 
> in the customer environment, and they get an stack trace in their logs. This 
> is caused by a client cache trying to request/apply cluster configuration.
> {noformat}
> [error 2018/02/12 17:52:13.899 EST  tid=0x12] Error 
> when attempting to deploy JAR files on load.
> java.io.IOException: Unable to write to deploy directory
> at 
> org.apache.geode.internal.JarDeployer.verifyWritableDeployDirectory(JarDeployer.java:626)
> at 
> org.apache.geode.internal.JarDeployer.loadPreviouslyDeployedJars(JarDeployer.java:74)
> at 
> org.apache.geode.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1242)
> at 
> org.apache.geode.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:794)
> at 
> org.apache.geode.internal.cache.GemFireCacheImpl.createClient(GemFireCacheImpl.java:767)
> at 
> org.apache.geode.cache.client.ClientCacheFactory.basicCreate(ClientCacheFactory.java:257)
> at 
> org.apache.geode.cache.client.ClientCacheFactory.create(ClientCacheFactory.java:207){noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (GEODE-5000) When initializing a client cache, we don't need to request/apply cluster configuration

2018-04-06 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/GEODE-5000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16428455#comment-16428455
 ] 

ASF subversion and git services commented on GEODE-5000:


Commit 514b1d3f074421041e593a02bbfae831ab320ea8 in geode's branch 
refs/heads/develop from [~jinmeiliao]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=514b1d3 ]

GEODE-5000: do not request/apply cluster config when creating client … (#1739)

* do not request/apply cluster config when creating client cache.
* give client cache a no-op security service to avoid NPE.


> When initializing a client cache, we don't need to request/apply cluster 
> configuration
> --
>
> Key: GEODE-5000
> URL: https://issues.apache.org/jira/browse/GEODE-5000
> Project: Geode
>  Issue Type: Bug
>  Components: configuration
>Affects Versions: 1.4.0
>Reporter: Jinmei Liao
>Assignee: Jinmei Liao
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> The user running a gemfire client doesn't have write access to the local dirs 
> in the customer environment, and they get an stack trace in their logs. This 
> is caused by a client cache trying to request/apply cluster configuration.
> {noformat}
> [error 2018/02/12 17:52:13.899 EST  tid=0x12] Error 
> when attempting to deploy JAR files on load.
> java.io.IOException: Unable to write to deploy directory
> at 
> org.apache.geode.internal.JarDeployer.verifyWritableDeployDirectory(JarDeployer.java:626)
> at 
> org.apache.geode.internal.JarDeployer.loadPreviouslyDeployedJars(JarDeployer.java:74)
> at 
> org.apache.geode.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1242)
> at 
> org.apache.geode.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:794)
> at 
> org.apache.geode.internal.cache.GemFireCacheImpl.createClient(GemFireCacheImpl.java:767)
> at 
> org.apache.geode.cache.client.ClientCacheFactory.basicCreate(ClientCacheFactory.java:257)
> at 
> org.apache.geode.cache.client.ClientCacheFactory.create(ClientCacheFactory.java:207){noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)