You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/14 16:50:59 UTC
[jira] [Commented] (GEODE-2098) gfsh history should be stored in
~/.geode
[ https://issues.apache.org/jira/browse/GEODE-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15664393#comment-15664393 ]
ASF GitHub Bot commented on GEODE-2098:
---------------------------------------
GitHub user davinash opened a pull request:
https://github.com/apache/incubator-geode/pull/283
GEODE-2098: Moved gfsh history file location from .gemfire to .geode
Made the code changes and added a test for the same.
Following Test is failing with precheckin, but works fine when ran individually.
org.apache.geode.internal.statistics.DiskSpaceLimitIntegrationTest
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/davinash/incubator-geode feature/GEODE-2098
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-geode/pull/283.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #283
----
commit 6e1377a0f3f32aef279e9cbea3741c90aad95f30
Author: adongre <av...@ampool.io>
Date: 2016-11-13T14:11:44Z
GEODE-2098: Moved gfsh history file location from .gemfire to .geode
Made the code changes and added a test for the same.
----
> gfsh history should be stored in ~/.geode
> -----------------------------------------
>
> Key: GEODE-2098
> URL: https://issues.apache.org/jira/browse/GEODE-2098
> Project: Geode
> Issue Type: Improvement
> Components: gfsh
> Reporter: Anthony Baker
> Assignee: Avinash Dongre
>
> Currently gfsh stores history in the ~/.gemfire directory. We should change that to be ~/.geode.
> {code}
> private static String getHomeGemFireDirectory() {
> String userHome = System.getProperty("user.home");
> String homeDirPath = userHome + "/.gemfire";
> File alternateDir = new File(homeDirPath);
> if (!alternateDir.exists()) {
> if (!alternateDir.mkdirs()) {
> homeDirPath = ".";
> }
> }
> return homeDirPath;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)