incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Pyeatt <john.pye...@singlewire.com>
Subject Re: Stack trace from a node during a repair
Date Tue, 03 Dec 2013 16:35:13 GMT
Both cassandra and nodetool are running as root.

also
ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 59450
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 65536
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 10240
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


On Tue, Dec 3, 2013 at 8:36 AM, Hannu Kröger <hkroger@gmail.com> wrote:

> Hi,
>
> Are you running nodetool or cassandra as root? I think it doesn't really
> matter what user is running the nodetool. Those directories should be
> writable by the user who is running the actual cassandra process.
>
> Hannu
>
>
> 2013/12/3 John Pyeatt <john.pyeatt@singlewire.com>
>
>> Then my issue must be the 0.000001% because
>>
>> 1) I'm running the repair as root.
>> 2) The directory exists and the permissions are appropriate. root:root 755
>> 3) The three times it occurred during the repair it always complained
>> about backups directories. But there are dozens other backups directories
>> that were created during the repair that caused no exceptions.
>>
>>
>> The biggest issue with this is that is shuts down gossip.
>>
>>
>>
>>
>> On Mon, Dec 2, 2013 at 5:56 PM, Robert Coli <rcoli@eventbrite.com> wrote:
>>
>>> On Mon, Dec 2, 2013 at 2:59 PM, John Pyeatt <john.pyeatt@singlewire.com>wrote:
>>>
>>>> Caused by: java.io.IOException: Unable to create directory
>>>> /data-1/cassandra/data/SinglewireSupport/Binaries/backups
>>>>
>>>
>>> This is an exception directly from a core java method. The cause is
>>> 99.99999% likely to be permissions.
>>>
>>> =Rob
>>>
>>
>>
>>
>> --
>> John Pyeatt
>> Singlewire Software, LLC
>> www.singlewire.com
>> ------------------
>> 608.661.1184
>> john.pyeatt@singlewire.com
>>
>
>


-- 
John Pyeatt
Singlewire Software, LLC
www.singlewire.com
------------------
608.661.1184
john.pyeatt@singlewire.com

Mime
View raw message