[Discussion] RFC to make Geode's working directory configurable

2020-10-06 Thread Dale Emery
Hi all, I have submitted an RFC to make Geode’s working directory configurable: https://cwiki.apache.org/confluence/display/GEODE/Make+Geode%27s+Working+Directory+Configurable Please review it and comment by Oct 26. Cheers, Dale

Re: [Discussion] RFC to make Geode's working directory configurable

2020-10-06 Thread Dan Smith
ber 6, 2020 12:12 PM To: dev@geode.apache.org Subject: [Discussion] RFC to make Geode's working directory configurable Hi all, I have submitted an RFC to make Geode’s working directory configurable: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence

Re: [Discussion] RFC to make Geode's working directory configurable

2020-10-06 Thread Dale Emery
ectories. But having this option in the product doesn't seem like a bad idea. -Dan From: Dale Emery Sent: Tuesday, October 6, 2020 12:12 PM To: dev@geode.apache.org Subject: [Discussion] RFC to make Geode's working directory co

Re: [Discussion] RFC to make Geode's working directory configurable

2020-10-06 Thread Anthony Baker
t; >-Dan > >From: Dale Emery > Sent: Tuesday, October 6, 2020 12:12 PM >To: dev@geode.apache.org >Subject: [Discussion] RFC to make Geode's working directory configurable > >Hi all, > >I have sub

Re: [Discussion] RFC to make Geode's working directory configurable

2020-10-06 Thread Jacob Barrett
___ From: Dale Emery mailto:dem...@vmware.com>> Sent: Tuesday, October 6, 2020 12:12 PM To: dev@geode.apache.org<mailto:dev@geode.apache.org> mailto:dev@geode.apache.org>> Subject: [Discussion] RFC to make Geode's working directory configurable Hi a

Re: [Discussion] RFC to make Geode's working directory configurable

2020-10-06 Thread Jacob Barrett
Do we expect this to be used by production code or just test code? If this is going to be used by production code I am concerned with introducing another singleton class into the mix. We really want to be moving towards a non-singleton world where I can have more than one Cache in a JVM. For pr

Re: [Discussion] RFC to make Geode's working directory configurable

2020-10-07 Thread Anilkumar Gingade
Dale, I have few questions that I have added as comments to the RFC. On 10/6/20, 5:24 PM, "Jacob Barrett" wrote: Do we expect this to be used by production code or just test code? If this is going to be used by production code I am concerned with introducing another singleton class into t

Re: [Discussion] RFC to make Geode's working directory configurable

2020-10-07 Thread Dale Emery
Hi Jake, Production code will use it. In my initial (very cursory) scan of current uses of user.dir, it looked as if some uses were in places that didn't have ready access to a cache or other good source for this property. It may have been hasty for me to leap to a singleton. I will take a clo

Re: [Discussion] RFC to make Geode's working directory configurable

2020-10-13 Thread Dale Emery
Geode makes nearly 300 references to the JVM working directory. Tests make an additional 1200 references. Implementing this proposal requires changing nearly all of these references so that, instead of resolving relative pathnames against the JVM's working directory, they resolve against the co