[ 
https://issues.apache.org/jira/browse/CASSANDRA-10833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15049680#comment-15049680
 ] 

Michael Shuler commented on CASSANDRA-10833:
--------------------------------------------

I think you have some sort of sysadmin/config_management interference going on 
here. A quick fresh installation of 3.0.1:
{noformat}
mshuler@hana:~$ sudo apt-get install cassandra -V
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
   cassandra-tools (3.0.1)
The following NEW packages will be installed:
   cassandra (3.0.1)
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 24.4 MB of archives.
After this operation, 33.1 MB of additional disk space will be used.
Get:1 http://www.apache.org/dist/cassandra/debian/ 30x/main cassandra all 3.0.1 
[24.4 MB]
Fetched 24.4 MB in 4s (5,422 kB/s)    
Selecting previously unselected package cassandra.
(Reading database ... 156570 files and directories currently installed.)
Preparing to unpack .../cassandra_3.0.1_all.deb ...
Unpacking cassandra (3.0.1) ...
Processing triggers for systemd (215-17+deb8u2) ...
Setting up cassandra (3.0.1) ...
vm.max_map_count = 1048575
net.ipv4.tcp_keepalive_time = 300
update-rc.d: warning: start and stop actions are no longer supported; falling 
back to defaults
Processing triggers for systemd (215-17+deb8u2) ...
Processing triggers for python-support (1.0.15) ...
mshuler@hana:~$ ls -la /var/lib/cassandra/
total 28
drwxr-xr-x  7 cassandra cassandra 4096 Dec  9 18:03 .
drwxr-xr-x 72 root      root      4096 Dec  9 18:02 ..
drwxr-xr-x  2 cassandra cassandra 4096 Dec  9 18:03 .oracle_jre_usage
drwxr-xr-x  2 cassandra cassandra 4096 Dec  9 18:03 commitlog
drwxr-xr-x  4 cassandra cassandra 4096 Dec  9 18:03 data
drwxr-xr-x  2 cassandra cassandra 4096 Dec  9 18:03 hints
drwxr-xr-x  2 cassandra cassandra 4096 Dec  9 18:03 saved_caches
mshuler@hana:~$ date
Wed Dec  9 18:03:13 CST 2015
mshuler@hana:~$
{noformat}

> Debian package does not create default hints directory
> ------------------------------------------------------
>
>                 Key: CASSANDRA-10833
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10833
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Stuart Bishop
>            Assignee: Michael Shuler
>            Priority: Minor
>
> The default hints directory is set to /var/lib/cassandra/hints, but this 
> directory is not created when the Debian package is installed. As 
> /var/lib/cassandra is owned by root, it cannot be created automatically on 
> startup and startup fails.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to