Re: 'logs/' dir in the accumulo package

2017-06-26 Thread Srikanth Viswanathan
Good to know. Thanks, Mike. On Jun 26, 2017 17:22, "Mike Walch" wrote: > For Accumulo 2.0, the logs/ does not exist in in the binary release but is > rather created by Accumulo when it is started. This is because users can > override ACCUMULO_LOG_DIR (which defaults to /logs/ in > accumulo-env.

Re: 'logs/' dir in the accumulo package

2017-06-26 Thread Mike Walch
For Accumulo 2.0, the logs/ does not exist in in the binary release but is rather created by Accumulo when it is started. This is because users can override ACCUMULO_LOG_DIR (which defaults to /logs/ in accumulo-env.sh) to be another directory. The directory is created at start up time as the pres

Re: 'logs/' dir in the accumulo package

2017-06-26 Thread Srikanth Viswanathan
Thanks all. I'll do that. Appreciate the quick responses. On Mon, Jun 26, 2017 at 4:54 PM, Keith Turner wrote: > On Mon, Jun 26, 2017 at 4:52 PM, Srikanth Viswanathan > wrote: > > Thanks, Josh and Mike. > > > > This isn't causing any issues per se. We wanted to `chmod` the dir to be > > publicl

Re: 'logs/' dir in the accumulo package

2017-06-26 Thread Keith Turner
On Mon, Jun 26, 2017 at 4:52 PM, Srikanth Viswanathan wrote: > Thanks, Josh and Mike. > > This isn't causing any issues per se. We wanted to `chmod` the dir to be > publicly readable (for log aggregation), so there were questions around > where exactly to put the `chmod` call. I was then surprised

Re: 'logs/' dir in the accumulo package

2017-06-26 Thread Josh Elser
Nope. Like we said, we aren't making any guarantees about that. Put a `mkdir -p` in your scripting :) On 6/26/17 4:52 PM, Srikanth Viswanathan wrote: Thanks, Josh and Mike. This isn't causing any issues per se. We wanted to `chmod` the dir to be publicly readable (for log aggregation), so the

Re: 'logs/' dir in the accumulo package

2017-06-26 Thread Srikanth Viswanathan
Thanks, Josh and Mike. This isn't causing any issues per se. We wanted to `chmod` the dir to be publicly readable (for log aggregation), so there were questions around where exactly to put the `chmod` call. I was then surprised to find that the directory already existed. Do you recommend we rely o

Re: 'logs/' dir in the accumulo package

2017-06-26 Thread Michael Wall
Srikanth, Like Josh said, I don't think we make that guarantee. But it is part of the maven assembly ( https://github.com/apache/accumulo/blob/rel/1.8.1/assemble/src/main/assemblies/component.xml#L91) so I would expect the directory to continue to be there. Is that causing you issues? On Mon,

Re: 'logs/' dir in the accumulo package

2017-06-26 Thread Josh Elser
Srikanth, I just checked 1.7.3 and 1.8.0, both of which have the logs/ directory included in the bin-tarball. It isn't a change in packaging -- it's been like this for some time. I don't expect that we would provide any guarantees about the presence of this directory (but I don't know why we

'logs/' dir in the accumulo package

2017-06-26 Thread Srikanth Viswanathan
Hi all, Kind of a silly question, but I noticed the `logs/` directory being packaged with the accumulo binary release. Do you mean to package this and do you guarantee this will be packaged in future releases? $ tar -tvf accumulo-1.8.1-bin.tar.gz |grep logs drwx-- mjwall/mjwall 0 2017-02-