[jira] [Updated] (CASSANDRA-14972) Provide a script or method to generate the entire website at the push of a button

2019-03-08 Thread mck (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mck updated CASSANDRA-14972:

Resolution: Fixed
Status: Resolved  (was: Patch Available)

Committed as r1855094.
Thanks [~Anthony Grasso]!

> Provide a script or method to generate the entire website at the push of a 
> button
> -
>
> Key: CASSANDRA-14972
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14972
> Project: Cassandra
>  Issue Type: Task
>  Components: Documentation/Website
>Reporter: Anthony Grasso
>Assignee: Anthony Grasso
>Priority: Major
> Attachments: 14972_Dockerfile_v2, 14972_Dockerfile_v3, 
> 14972_README_v1, 14972_README_v2, 14972_docker-compose.yml_v2, 
> 14972_docker-entrypoint-jekyll-serve.sh_v1, 14972_docker-entrypoint.sh_v2, 
> Dockerfile, docker-compose.yml, docker-entrypoint.sh
>
>
> The process involved to generate the website involves two repositories (Git 
> and SVN), a range of tools, and a number of steps.
> It would be good to have a script or something similar which we run and it 
> will generate the entire website for us which is ready to commit back into 
> SVN for publication.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



svn commit: r1855094 - in /cassandra/site: Dockerfile README docker-compose.yml docker-entrypoint-jekyll-serve.sh docker-entrypoint.sh

2019-03-08 Thread mck
Author: mck
Date: Sat Mar  9 07:10:27 2019
New Revision: 1855094

URL: http://svn.apache.org/viewvc?rev=1855094&view=rev
Log:
Dockerise generation of the entire website

 patch by Anthony Grasso; reviewed by Mick Semb Wever for CASSANDRA-14972

Added:
cassandra/site/Dockerfile
cassandra/site/README
cassandra/site/docker-compose.yml
cassandra/site/docker-entrypoint-jekyll-serve.sh   (with props)
cassandra/site/docker-entrypoint.sh   (with props)

Added: cassandra/site/Dockerfile
URL: 
http://svn.apache.org/viewvc/cassandra/site/Dockerfile?rev=1855094&view=auto
==
--- cassandra/site/Dockerfile (added)
+++ cassandra/site/Dockerfile Sat Mar  9 07:10:27 2019
@@ -0,0 +1,51 @@
+FROM debian:latest
+
+# Install Java
+RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select 
true | debconf-set-selections && \
+apt-get update && \
+apt-get install -y \
+software-properties-common \
+gpg && \
+add-apt-repository -y ppa:webupd8team/java && \
+apt-get update && \
+apt-get install -y --allow-unauthenticated oracle-java8-installer && \
+rm -rf /var/lib/apt/lists/* && \
+rm -rf /var/cache/oracle-jdk8-installer
+
+# Install other tools
+RUN apt-get update && \
+apt-get install -y \
+git \
+python2.7 \
+python-pip \
+ruby-full \
+make \
+ant \
+ant-optional \
+maven
+
+# Install Sphinx for generating Cassandra docs
+RUN pip install --no-cache-dir \
+sphinx \
+sphinx_rtd_theme
+
+COPY ./src/Gemfile /
+COPY ./src/Gemfile.lock /
+
+RUN gem install bundler && \
+bundle install && \
+rm /Gemfile /Gemfile.lock
+
+ENV CASSANDRA_DIR="/usr/src/cassandra"
+
+# Setup repositories to building the docs
+RUN mkdir -p /usr/src/cassandra-site && \
+git clone https://gitbox.apache.org/repos/asf/cassandra.git 
${CASSANDRA_DIR}
+
+EXPOSE 4000/tcp
+
+COPY docker-entrypoint.sh /
+RUN chmod +x /docker-entrypoint.sh
+ENTRYPOINT ["/docker-entrypoint.sh"]
+
+CMD [""]

Added: cassandra/site/README
URL: http://svn.apache.org/viewvc/cassandra/site/README?rev=1855094&view=auto
==
--- cassandra/site/README (added)
+++ cassandra/site/README Sat Mar  9 07:10:27 2019
@@ -0,0 +1,45 @@
+Apache Cassandra website builder
+
+
+Building the Apache Cassandra website takes a number of steps. To make things 
easier we have provided a Docker container which can build the full website in 
two simple commands and have it ready to commit via SVN. If you are interested 
in the process head over to the [README](./src/README) in _src_ directory.
+
+Prerequisite
+
+
+To build and run the Docker container you will need `Docker` version 2.0.0.0 
or greater. If you need a copy of the site code you will need `SVN` as well.
+
+
+Building the site
+-
+
+If you need a copy of the site code run this command:
+
+```bash
+$ svn co http://svn.apache.org/repos/asf/cassandra/site/ ./cassandra-site
+$ cd ./cassandra-site
+
+```
+
+To build the website run the following commands from within the 
_./cassandra-site_ directory (assuming you used the above checkout commands):
+
+```bash
+$ docker-compose build cassandra-website
+$ docker-compose run cassandra-website
+```
+
+Go make yourself a cup of coffee, this will take a while...
+
+Once building has completed, the site content will be in the 
_./cassandra-site/publish_ directory ready to be committed.
+
+
+Previewing the site
+---
+
+If you want to preview the site as you are editing it run this command:
+
+```bash
+$ docker-compose build cassandra-website
+$ docker-compose up cassandra-website-serve
+```
+
+For information about the site layout see the **Layout** section of 
[README](src/README#layout) in the _src_ directory.
\ No newline at end of file

Added: cassandra/site/docker-compose.yml
URL: 
http://svn.apache.org/viewvc/cassandra/site/docker-compose.yml?rev=1855094&view=auto
==
--- cassandra/site/docker-compose.yml (added)
+++ cassandra/site/docker-compose.yml Sat Mar  9 07:10:27 2019
@@ -0,0 +1,20 @@
+version: '2.4'
+
+services:
+  cassandra-website:
+build: .
+image: cassandra-website:latest
+volumes:
+  - ./src:/usr/src/cassandra-site/src
+  - ./publish:/usr/src/cassandra-site/publish
+
+  cassandra-website-serve:
+build: .
+image: cassandra-website:latest
+entrypoint: /docker-entrypoint-jekyll-serve.sh
+ports:
+  - 4000:4000
+volumes:
+  - ./src:/usr/src/cassandra-site/src
+  - ./publish:/usr/src/cassandra-site/publish
+  - ./docker-entrypoint-jekyll-serve.sh:/docker-entrypoint-jekyll-serve.sh
\ No newline at end of file

Added: cassandra/site/docker-entrypoint-jekyll-serve.sh
URL: 
http://svn.ap

[jira] [Assigned] (CASSANDRA-14972) Provide a script or method to generate the entire website at the push of a button

2019-03-08 Thread mck (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mck reassigned CASSANDRA-14972:
---

Assignee: Anthony Grasso  (was: Nate McCall)

> Provide a script or method to generate the entire website at the push of a 
> button
> -
>
> Key: CASSANDRA-14972
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14972
> Project: Cassandra
>  Issue Type: Task
>  Components: Documentation/Website
>Reporter: Anthony Grasso
>Assignee: Anthony Grasso
>Priority: Major
> Attachments: 14972_Dockerfile_v2, 14972_Dockerfile_v3, 
> 14972_README_v1, 14972_README_v2, 14972_docker-compose.yml_v2, 
> 14972_docker-entrypoint-jekyll-serve.sh_v1, 14972_docker-entrypoint.sh_v2, 
> Dockerfile, docker-compose.yml, docker-entrypoint.sh
>
>
> The process involved to generate the website involves two repositories (Git 
> and SVN), a range of tools, and a number of steps.
> It would be good to have a script or something similar which we run and it 
> will generate the entire website for us which is ready to commit back into 
> SVN for publication.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-14298) cqlshlib tests broken on b.a.o

2019-03-08 Thread Dinesh Joshi (JIRA)


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

Dinesh Joshi commented on CASSANDRA-14298:
--

So [~ptbannister] and I went back and forth on the tests. He finally fixed all 
issues. We got the cqlsh tests green – 
https://circleci.com/workflow-run/d782f4e9-63dd-4f8f-b3e3-d008a1e4d5da I am 
going to run a full test suite. If everything looks good, [~spo...@gmail.com] 
could you please look over it once?

> cqlshlib tests broken on b.a.o
> --
>
> Key: CASSANDRA-14298
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14298
> Project: Cassandra
>  Issue Type: Bug
>  Components: Build, Legacy/Testing
>Reporter: Stefan Podkowinski
>Assignee: Patrick Bannister
>Priority: Major
>  Labels: cqlsh, dtest, pull-request-available
> Attachments: CASSANDRA-14298-blogposts-and-ratefile-workarounds.txt, 
> CASSANDRA-14298.txt, cqlsh_tests_notes.md
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> It appears that cqlsh-tests on builds.apache.org on all branches stopped 
> working since we removed nosetests from the system environment. See e.g. 
> [here|https://builds.apache.org/view/A-D/view/Cassandra/job/Cassandra-trunk-cqlsh-tests/458/cython=no,jdk=JDK%201.8%20(latest),label=cassandra/console].
>  Looks like we either have to make nosetests available again or migrate to 
> pytest as we did with dtests. Giving pytest a quick try resulted in many 
> errors locally, but I haven't inspected them in detail yet. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Comment Edited] (CASSANDRA-15047) Slow Query Logger in Cassandra 3.11.4

2019-03-08 Thread RAVI KIRAN REDDY MADIREDDY (JIRA)


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

RAVI KIRAN REDDY MADIREDDY edited comment on CASSANDRA-15047 at 3/8/19 10:25 PM:
-

[~cnlwsu] : here is the requested info, i have lot of queries which are 
eligible to get logged as slow queries
{code:java}
 root@cassandra-1-1znef:/var/log/cassandra# nodetool proxyhistograms

proxy histograms

Percentile       Read Latency      Write Latency      Range Latency   CAS Read 
Latency  CAS Write Latency View Write Latency

                     (micros)           (micros)           (micros)           
(micros)           (micros)           (micros)

50%                    654.95             943.13             454.83             
  0.00               0.00               0.00

75%                    785.94            1955.67             943.13             
  0.00               0.00               0.00

95%                   2346.80            5839.59            5839.59             
  0.00               0.00               0.00

98%                   4866.32            8409.01           17436.92             
  0.00               0.00               0.00

99%                   7007.51           10090.81           17436.92             
  0.00               0.00               0.00

Min                     51.01             263.21             182.79             
  0.00               0.00               0.00

Max                  89970.66           74975.55           17436.92             
  0.00               0.00               0.00

 
root@cassandra-1-1znef:/var/log/cassandra# cassandra -v

3.11.4

root@cassandra-1-1znef:/var/log/cassandra# nodetool getlogginglevels

Logger Name                                        Log Level

ROOT                                                    INFO

com.thinkaurelius.thrift                               ERROR

org.apache.cassandra                                   DEBUG

org.apache.cassandra.db                                DEBUG

org.apache.cassandra.db.monitoring                     DEBUG

root@cassandra-1-1znef:/var/log/cassandra#{code}


was (Author: rmadireddy):
 
{code:java}
 root@cassandra-1-1znef:/var/log/cassandra# nodetool proxyhistograms

proxy histograms

Percentile       Read Latency      Write Latency      Range Latency   CAS Read 
Latency  CAS Write Latency View Write Latency

                     (micros)           (micros)           (micros)           
(micros)           (micros)           (micros)

50%                    654.95             943.13             454.83             
  0.00               0.00               0.00

75%                    785.94            1955.67             943.13             
  0.00               0.00               0.00

95%                   2346.80            5839.59            5839.59             
  0.00               0.00               0.00

98%                   4866.32            8409.01           17436.92             
  0.00               0.00               0.00

99%                   7007.51           10090.81           17436.92             
  0.00               0.00               0.00

Min                     51.01             263.21             182.79             
  0.00               0.00               0.00

Max                  89970.66           74975.55           17436.92             
  0.00               0.00               0.00

 
root@cassandra-1-1znef:/var/log/cassandra# cassandra -v

3.11.4

root@cassandra-1-1znef:/var/log/cassandra# nodetool getlogginglevels

Logger Name                                        Log Level

ROOT                                                    INFO

com.thinkaurelius.thrift                               ERROR

org.apache.cassandra                                   DEBUG

org.apache.cassandra.db                                DEBUG

org.apache.cassandra.db.monitoring                     DEBUG

root@cassandra-1-1znef:/var/log/cassandra#{code}

> Slow Query Logger  in Cassandra 3.11.4
> --
>
> Key: CASSANDRA-15047
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15047
> Project: Cassandra
>  Issue Type: Bug
>  Components: Legacy/Observability
>Reporter: RAVI KIRAN REDDY MADIREDDY
>Priority: Minor
> Fix For: 3.11.4
>
> Attachments: logback.xml
>
>
> As per
>  https://issues.apache.org/jira/browse/CASSANDRA-12403
> I tried to enable slow query logging with below steps on Cassandra 3.11.4 , 
> but not able to log slow query's .seems its merged in 3.10 not sure if 
> anything changed in 3.11.4 
> there was dicussion in renaming 
> {code:java}
>  nodetool getlogginglevels
>  Logger NameLog Level
>  ROOTINFO

[jira] [Comment Edited] (CASSANDRA-15047) Slow Query Logger in Cassandra 3.11.4

2019-03-08 Thread RAVI KIRAN REDDY MADIREDDY (JIRA)


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

RAVI KIRAN REDDY MADIREDDY edited comment on CASSANDRA-15047 at 3/8/19 10:13 PM:
-

 
{code:java}
 root@cassandra-1-1znef:/var/log/cassandra# nodetool proxyhistograms

proxy histograms

Percentile       Read Latency      Write Latency      Range Latency   CAS Read 
Latency  CAS Write Latency View Write Latency

                     (micros)           (micros)           (micros)           
(micros)           (micros)           (micros)

50%                    654.95             943.13             454.83             
  0.00               0.00               0.00

75%                    785.94            1955.67             943.13             
  0.00               0.00               0.00

95%                   2346.80            5839.59            5839.59             
  0.00               0.00               0.00

98%                   4866.32            8409.01           17436.92             
  0.00               0.00               0.00

99%                   7007.51           10090.81           17436.92             
  0.00               0.00               0.00

Min                     51.01             263.21             182.79             
  0.00               0.00               0.00

Max                  89970.66           74975.55           17436.92             
  0.00               0.00               0.00

 
root@cassandra-1-1znef:/var/log/cassandra# cassandra -v

3.11.4

root@cassandra-1-1znef:/var/log/cassandra# nodetool getlogginglevels

Logger Name                                        Log Level

ROOT                                                    INFO

com.thinkaurelius.thrift                               ERROR

org.apache.cassandra                                   DEBUG

org.apache.cassandra.db                                DEBUG

org.apache.cassandra.db.monitoring                     DEBUG

root@cassandra-1-1znef:/var/log/cassandra#{code}


was (Author: rmadireddy):
{code 

root@cassandra-1-1znef:/var/log/cassandra# nodetool proxyhistograms

proxy histograms

Percentile       Read Latency      Write Latency      Range Latency   CAS Read 
Latency  CAS Write Latency View Write Latency

                     (micros)           (micros)           (micros)           
(micros)           (micros)           (micros)

50%                    654.95             943.13             454.83             
  0.00               0.00               0.00

75%                    785.94            1955.67             943.13             
  0.00               0.00               0.00

95%                   2346.80            5839.59            5839.59             
  0.00               0.00               0.00

98%                   4866.32            8409.01           17436.92             
  0.00               0.00               0.00

99%                   7007.51           10090.81           17436.92             
  0.00               0.00               0.00

Min                     51.01             263.21             182.79             
  0.00               0.00               0.00

Max                  89970.66           74975.55           17436.92             
  0.00               0.00               0.00

 

root@cassandra-1-1znef:/var/log/cassandra# cassandra -v

3.11.4

root@cassandra-1-1znef:/var/log/cassandra# nodetool getlogginglevels

 

Logger Name                                        Log Level

ROOT                                                    INFO

com.thinkaurelius.thrift                               ERROR

org.apache.cassandra                                   DEBUG

org.apache.cassandra.db                                DEBUG

org.apache.cassandra.db.monitoring                     DEBUG

root@cassandra-1-1znef:/var/log/cassandra# 
{code:java}
 {code}

> Slow Query Logger  in Cassandra 3.11.4
> --
>
> Key: CASSANDRA-15047
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15047
> Project: Cassandra
>  Issue Type: Bug
>  Components: Legacy/Observability
>Reporter: RAVI KIRAN REDDY MADIREDDY
>Priority: Minor
> Fix For: 3.11.4
>
> Attachments: logback.xml
>
>
> As per
>  https://issues.apache.org/jira/browse/CASSANDRA-12403
> I tried to enable slow query logging with below steps on Cassandra 3.11.4 , 
> but not able to log slow query's .seems its merged in 3.10 not sure if 
> anything changed in 3.11.4 
> there was dicussion in renaming 
> {code:java}
>  nodetool getlogginglevels
>  Logger NameLog Level
>  ROOTINFO
>  com.thinkaurelius.thrift   ERROR
>  org.apache.cassandra   

[jira] [Commented] (CASSANDRA-15047) Slow Query Logger in Cassandra 3.11.4

2019-03-08 Thread RAVI KIRAN REDDY MADIREDDY (JIRA)


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

RAVI KIRAN REDDY MADIREDDY commented on CASSANDRA-15047:


{code 

root@cassandra-1-1znef:/var/log/cassandra# nodetool proxyhistograms

proxy histograms

Percentile       Read Latency      Write Latency      Range Latency   CAS Read 
Latency  CAS Write Latency View Write Latency

                     (micros)           (micros)           (micros)           
(micros)           (micros)           (micros)

50%                    654.95             943.13             454.83             
  0.00               0.00               0.00

75%                    785.94            1955.67             943.13             
  0.00               0.00               0.00

95%                   2346.80            5839.59            5839.59             
  0.00               0.00               0.00

98%                   4866.32            8409.01           17436.92             
  0.00               0.00               0.00

99%                   7007.51           10090.81           17436.92             
  0.00               0.00               0.00

Min                     51.01             263.21             182.79             
  0.00               0.00               0.00

Max                  89970.66           74975.55           17436.92             
  0.00               0.00               0.00

 

root@cassandra-1-1znef:/var/log/cassandra# cassandra -v

3.11.4

root@cassandra-1-1znef:/var/log/cassandra# nodetool getlogginglevels

 

Logger Name                                        Log Level

ROOT                                                    INFO

com.thinkaurelius.thrift                               ERROR

org.apache.cassandra                                   DEBUG

org.apache.cassandra.db                                DEBUG

org.apache.cassandra.db.monitoring                     DEBUG

root@cassandra-1-1znef:/var/log/cassandra# 
{code:java}
 {code}

> Slow Query Logger  in Cassandra 3.11.4
> --
>
> Key: CASSANDRA-15047
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15047
> Project: Cassandra
>  Issue Type: Bug
>  Components: Legacy/Observability
>Reporter: RAVI KIRAN REDDY MADIREDDY
>Priority: Minor
> Fix For: 3.11.4
>
> Attachments: logback.xml
>
>
> As per
>  https://issues.apache.org/jira/browse/CASSANDRA-12403
> I tried to enable slow query logging with below steps on Cassandra 3.11.4 , 
> but not able to log slow query's .seems its merged in 3.10 not sure if 
> anything changed in 3.11.4 
> there was dicussion in renaming 
> {code:java}
>  nodetool getlogginglevels
>  Logger NameLog Level
>  ROOTINFO
>  com.thinkaurelius.thrift   ERROR
>  org.apache.cassandra   DEBUG
>  org.apache.cassandra.dbDEBUG
>  org.apache.cassandra.db.monitoring DEBUG
> {code}
> In cassandra.yaml
> {code:java}
> # can be identified. Set this value to zero to disable slow query logging. 
> slow_query_log_timeout_in_ms: 500{code}
>  
> {code:java}
> slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
> Attached is the logback.xml i am using default [^logback.xml]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-15047) Slow Query Logger in Cassandra 3.11.4

2019-03-08 Thread Chris Lohfink (JIRA)


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

Chris Lohfink commented on CASSANDRA-15047:
---

Can you include {{nodetool proxyhistograms}} just to rule out your requests not 
triggering it?

> Slow Query Logger  in Cassandra 3.11.4
> --
>
> Key: CASSANDRA-15047
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15047
> Project: Cassandra
>  Issue Type: Bug
>  Components: Legacy/Observability
>Reporter: RAVI KIRAN REDDY MADIREDDY
>Priority: Minor
> Fix For: 3.11.4
>
> Attachments: logback.xml
>
>
> As per
>  https://issues.apache.org/jira/browse/CASSANDRA-12403
> I tried to enable slow query logging with below steps on Cassandra 3.11.4 , 
> but not able to log slow query's .seems its merged in 3.10 not sure if 
> anything changed in 3.11.4 
> there was dicussion in renaming 
> {code:java}
>  nodetool getlogginglevels
>  Logger NameLog Level
>  ROOTINFO
>  com.thinkaurelius.thrift   ERROR
>  org.apache.cassandra   DEBUG
>  org.apache.cassandra.dbDEBUG
>  org.apache.cassandra.db.monitoring DEBUG
> {code}
> In cassandra.yaml
> {code:java}
> # can be identified. Set this value to zero to disable slow query logging. 
> slow_query_log_timeout_in_ms: 500{code}
>  
> {code:java}
> slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
> Attached is the logback.xml i am using default [^logback.xml]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15047) Slow Query Logger in Cassandra 3.11.4

2019-03-08 Thread RAVI KIRAN REDDY MADIREDDY (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

RAVI KIRAN REDDY MADIREDDY updated CASSANDRA-15047:
---
Description: 
As per
 https://issues.apache.org/jira/browse/CASSANDRA-12403

I tried to enable slow query logging with below steps on Cassandra 3.11.4 , but 
not able to log slow query's .seems its merged in 3.10 not sure if anything 
changed in 3.11.4 

there was dicussion in renaming 
{code:java}
 nodetool getlogginglevels
 Logger NameLog Level
 ROOTINFO
 com.thinkaurelius.thrift   ERROR
 org.apache.cassandra   DEBUG
 org.apache.cassandra.dbDEBUG
 org.apache.cassandra.db.monitoring DEBUG
{code}
In cassandra.yaml
{code:java}
# can be identified. Set this value to zero to disable slow query logging. 
slow_query_log_timeout_in_ms: 500{code}
 
{code:java}
slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
Attached is the logback.xml i am using default [^logback.xml]

  was:
As per
 https://issues.apache.org/jira/browse/CASSANDRA-12403

I tried to enable slow query logging with below steps on Cassandra 3.11.4 , but 
not able to log slow query's .seems its merged in 3.10 not sure if anything 
changed in 3.11.4 

there was dicussion in renaming 
{code:java}
 nodetool getlogginglevels
 Logger NameLog Level
 ROOTINFO
 com.thinkaurelius.thrift   ERROR
 org.apache.cassandra   DEBUG
 org.apache.cassandra.dbDEBUG
 org.apache.cassandra.db.monitoring DEBUG
{code}
In cassandra.yaml
{code:java}
# can be identified. Set this value to zero to disable slow query logging. 
slow_query_log_timeout_in_ms: 500{code}
 

{slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms }

Attached is the logback.xml i am using default [^logback.xml]


> Slow Query Logger  in Cassandra 3.11.4
> --
>
> Key: CASSANDRA-15047
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15047
> Project: Cassandra
>  Issue Type: Bug
>  Components: Legacy/Observability
>Reporter: RAVI KIRAN REDDY MADIREDDY
>Priority: Minor
> Fix For: 3.11.4
>
> Attachments: logback.xml
>
>
> As per
>  https://issues.apache.org/jira/browse/CASSANDRA-12403
> I tried to enable slow query logging with below steps on Cassandra 3.11.4 , 
> but not able to log slow query's .seems its merged in 3.10 not sure if 
> anything changed in 3.11.4 
> there was dicussion in renaming 
> {code:java}
>  nodetool getlogginglevels
>  Logger NameLog Level
>  ROOTINFO
>  com.thinkaurelius.thrift   ERROR
>  org.apache.cassandra   DEBUG
>  org.apache.cassandra.dbDEBUG
>  org.apache.cassandra.db.monitoring DEBUG
> {code}
> In cassandra.yaml
> {code:java}
> # can be identified. Set this value to zero to disable slow query logging. 
> slow_query_log_timeout_in_ms: 500{code}
>  
> {code:java}
> slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
> Attached is the logback.xml i am using default [^logback.xml]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15047) Slow Query Logger in Cassandra 3.11.4

2019-03-08 Thread RAVI KIRAN REDDY MADIREDDY (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

RAVI KIRAN REDDY MADIREDDY updated CASSANDRA-15047:
---
Description: 
As per
 https://issues.apache.org/jira/browse/CASSANDRA-12403

I tried to enable slow query logging with below steps on Cassandra 3.11.4 , but 
not able to log slow query's .seems its merged in 3.10 not sure if anything 
changed in 3.11.4 

there was dicussion in renaming 
{code:java}
 nodetool getlogginglevels
 Logger NameLog Level
 ROOTINFO
 com.thinkaurelius.thrift   ERROR
 org.apache.cassandra   DEBUG
 org.apache.cassandra.dbDEBUG
 org.apache.cassandra.db.monitoring DEBUG
{code}
In cassandra.yaml
{code:java}
# can be identified. Set this value to zero to disable slow query logging. 
slow_query_log_timeout_in_ms: 500{code}
 

{slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms }

Attached is the logback.xml i am using default [^logback.xml]

  was:
As per
 https://issues.apache.org/jira/browse/CASSANDRA-12403

I tried to enable slow query logging with below steps on Cassandra 3.11.4 , but 
not able to log slow query's .seems its merged in 3.10 not sure if anything 
changed in 3.11.4 

there was dicussion in renaming 
{code:java}
slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
{code:java}
 nodetool getlogginglevels
 Logger NameLog Level
 ROOTINFO
 com.thinkaurelius.thrift   ERROR
 org.apache.cassandra   DEBUG
 org.apache.cassandra.dbDEBUG
 org.apache.cassandra.db.monitoring DEBUG
{code}
In cassandra.yaml
{code:java}
# can be identified. Set this value to zero to disable slow query logging. 
slow_query_log_timeout_in_ms: 500{code}
Attached is the logback.xml i am using default [^logback.xml]


> Slow Query Logger  in Cassandra 3.11.4
> --
>
> Key: CASSANDRA-15047
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15047
> Project: Cassandra
>  Issue Type: Bug
>  Components: Legacy/Observability
>Reporter: RAVI KIRAN REDDY MADIREDDY
>Priority: Minor
> Fix For: 3.11.4
>
> Attachments: logback.xml
>
>
> As per
>  https://issues.apache.org/jira/browse/CASSANDRA-12403
> I tried to enable slow query logging with below steps on Cassandra 3.11.4 , 
> but not able to log slow query's .seems its merged in 3.10 not sure if 
> anything changed in 3.11.4 
> there was dicussion in renaming 
> {code:java}
>  nodetool getlogginglevels
>  Logger NameLog Level
>  ROOTINFO
>  com.thinkaurelius.thrift   ERROR
>  org.apache.cassandra   DEBUG
>  org.apache.cassandra.dbDEBUG
>  org.apache.cassandra.db.monitoring DEBUG
> {code}
> In cassandra.yaml
> {code:java}
> # can be identified. Set this value to zero to disable slow query logging. 
> slow_query_log_timeout_in_ms: 500{code}
>  
> {slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms }
> Attached is the logback.xml i am using default [^logback.xml]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15047) Slow Query Logger in Cassandra 3.11.4

2019-03-08 Thread RAVI KIRAN REDDY MADIREDDY (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

RAVI KIRAN REDDY MADIREDDY updated CASSANDRA-15047:
---
Description: 
As per
 https://issues.apache.org/jira/browse/CASSANDRA-12403

I tried to enable slow query logging with below steps on Cassandra 3.11.4 , but 
not able to log slow query's .seems its merged in 3.10 not sure if anything 
changed in 3.11.4 

there was dicussion in renaming 
{code:java}
slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
{code:java}
 nodetool getlogginglevels
 Logger NameLog Level
 ROOTINFO
 com.thinkaurelius.thrift   ERROR
 org.apache.cassandra   DEBUG
 org.apache.cassandra.dbDEBUG
 org.apache.cassandra.db.monitoring DEBUG
{code}
In cassandra.yaml
{code:java}
# can be identified. Set this value to zero to disable slow query logging. 
slow_query_log_timeout_in_ms: 500{code}
Attached is the logback.xml i am using default [^logback.xml]

  was:
As per
 https://issues.apache.org/jira/browse/CASSANDRA-12403

I tried to enable slow query logging with below steps on Cassandra 3.11.4 , but 
not able to log slow query's .seems its merged in 3.10 not sure if anything 
changed in 3.11.4 

there was dicussion in renaming 
{code:java}
slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
{code:java}
 nodetool getlogginglevels
 Logger NameLog Level
 ROOTINFO
 com.thinkaurelius.thrift   ERROR
 org.apache.cassandra   DEBUG
 org.apache.cassandra.dbDEBUG
 org.apache.cassandra.db.monitoring DEBUG
{code}
In cassandra.yaml
{code:java}
# can be identified. Set this value to zero to disable slow query logging. 
slow_query_log_timeout_in_ms: 500{code}
Attached is the logback.xml i am using default [^logback.xml]


> Slow Query Logger  in Cassandra 3.11.4
> --
>
> Key: CASSANDRA-15047
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15047
> Project: Cassandra
>  Issue Type: Bug
>  Components: Legacy/Observability
>Reporter: RAVI KIRAN REDDY MADIREDDY
>Priority: Minor
> Fix For: 3.11.4
>
> Attachments: logback.xml
>
>
> As per
>  https://issues.apache.org/jira/browse/CASSANDRA-12403
> I tried to enable slow query logging with below steps on Cassandra 3.11.4 , 
> but not able to log slow query's .seems its merged in 3.10 not sure if 
> anything changed in 3.11.4 
> there was dicussion in renaming 
> {code:java}
> slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
> {code:java}
>  nodetool getlogginglevels
>  Logger NameLog Level
>  ROOTINFO
>  com.thinkaurelius.thrift   ERROR
>  org.apache.cassandra   DEBUG
>  org.apache.cassandra.dbDEBUG
>  org.apache.cassandra.db.monitoring DEBUG
> {code}
> In cassandra.yaml
> {code:java}
> # can be identified. Set this value to zero to disable slow query logging. 
> slow_query_log_timeout_in_ms: 500{code}
> Attached is the logback.xml i am using default [^logback.xml]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15047) Slow Query Logger in Cassandra 3.11.4

2019-03-08 Thread RAVI KIRAN REDDY MADIREDDY (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

RAVI KIRAN REDDY MADIREDDY updated CASSANDRA-15047:
---
Description: 
As per
 https://issues.apache.org/jira/browse/CASSANDRA-12403

I tried to enable slow query logging with below steps on Cassandra 3.11.4 , but 
not able to log slow query's .seems its merged in 3.10 not sure if anything 
changed in 3.11.4 

there was dicussion in renaming 
{code:java}
slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
{code:java}
 nodetool getlogginglevels
 Logger NameLog Level
 ROOTINFO
 com.thinkaurelius.thrift   ERROR
 org.apache.cassandra   DEBUG
 org.apache.cassandra.dbDEBUG
 org.apache.cassandra.db.monitoring DEBUG
{code}
In cassandra.yaml
{code:java}
# can be identified. Set this value to zero to disable slow query logging. 
slow_query_log_timeout_in_ms: 500{code}
Attached is the logback.xml i am using [^logback.xml]

  was:
As per
 https://issues.apache.org/jira/browse/CASSANDRA-12403

I tried to enable slow query logging with below steps on Cassandra 3.11.4 , but 
not able to log slow query's .seems its merged in 3.10 not sure if anything 
changed in 3.11.4 

there was dicussion in renaming 
{code:java}
slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
{code:java}
 nodetool getlogginglevels
 Logger NameLog Level
 ROOTINFO
 com.thinkaurelius.thrift   ERROR
 org.apache.cassandra   DEBUG
 org.apache.cassandra.dbDEBUG
 org.apache.cassandra.db.monitoring DEBUG
{code}
In cassandra.yaml
{code:java}
# can be identified. Set this value to zero to disable slow query logging. 
slow_query_log_timeout_in_ms: 500{code}
Attached is the logback.xml i am using [link 
title|http://example.com/][logback.xml|[http://example.com|http://example.com/]|http://example.com]/]

[^logback.xml]


> Slow Query Logger  in Cassandra 3.11.4
> --
>
> Key: CASSANDRA-15047
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15047
> Project: Cassandra
>  Issue Type: Bug
>  Components: Legacy/Observability
>Reporter: RAVI KIRAN REDDY MADIREDDY
>Priority: Minor
> Fix For: 3.11.4
>
> Attachments: logback.xml
>
>
> As per
>  https://issues.apache.org/jira/browse/CASSANDRA-12403
> I tried to enable slow query logging with below steps on Cassandra 3.11.4 , 
> but not able to log slow query's .seems its merged in 3.10 not sure if 
> anything changed in 3.11.4 
> there was dicussion in renaming 
> {code:java}
> slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
> {code:java}
>  nodetool getlogginglevels
>  Logger NameLog Level
>  ROOTINFO
>  com.thinkaurelius.thrift   ERROR
>  org.apache.cassandra   DEBUG
>  org.apache.cassandra.dbDEBUG
>  org.apache.cassandra.db.monitoring DEBUG
> {code}
> In cassandra.yaml
> {code:java}
> # can be identified. Set this value to zero to disable slow query logging. 
> slow_query_log_timeout_in_ms: 500{code}
> Attached is the logback.xml i am using [^logback.xml]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15047) Slow Query Logger in Cassandra 3.11.4

2019-03-08 Thread RAVI KIRAN REDDY MADIREDDY (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

RAVI KIRAN REDDY MADIREDDY updated CASSANDRA-15047:
---
Description: 
As per
 https://issues.apache.org/jira/browse/CASSANDRA-12403

I tried to enable slow query logging with below steps on Cassandra 3.11.4 , but 
not able to log slow query's .seems its merged in 3.10 not sure if anything 
changed in 3.11.4 

there was dicussion in renaming 
{code:java}
slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
{code:java}
 nodetool getlogginglevels
 Logger NameLog Level
 ROOTINFO
 com.thinkaurelius.thrift   ERROR
 org.apache.cassandra   DEBUG
 org.apache.cassandra.dbDEBUG
 org.apache.cassandra.db.monitoring DEBUG
{code}
In cassandra.yaml
{code:java}
# can be identified. Set this value to zero to disable slow query logging. 
slow_query_log_timeout_in_ms: 500{code}
Attached is the logback.xml i am using default [^logback.xml]

  was:
As per
 https://issues.apache.org/jira/browse/CASSANDRA-12403

I tried to enable slow query logging with below steps on Cassandra 3.11.4 , but 
not able to log slow query's .seems its merged in 3.10 not sure if anything 
changed in 3.11.4 

there was dicussion in renaming 
{code:java}
slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
{code:java}
 nodetool getlogginglevels
 Logger NameLog Level
 ROOTINFO
 com.thinkaurelius.thrift   ERROR
 org.apache.cassandra   DEBUG
 org.apache.cassandra.dbDEBUG
 org.apache.cassandra.db.monitoring DEBUG
{code}
In cassandra.yaml
{code:java}
# can be identified. Set this value to zero to disable slow query logging. 
slow_query_log_timeout_in_ms: 500{code}
Attached is the logback.xml i am using [^logback.xml]


> Slow Query Logger  in Cassandra 3.11.4
> --
>
> Key: CASSANDRA-15047
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15047
> Project: Cassandra
>  Issue Type: Bug
>  Components: Legacy/Observability
>Reporter: RAVI KIRAN REDDY MADIREDDY
>Priority: Minor
> Fix For: 3.11.4
>
> Attachments: logback.xml
>
>
> As per
>  https://issues.apache.org/jira/browse/CASSANDRA-12403
> I tried to enable slow query logging with below steps on Cassandra 3.11.4 , 
> but not able to log slow query's .seems its merged in 3.10 not sure if 
> anything changed in 3.11.4 
> there was dicussion in renaming 
> {code:java}
> slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
> {code:java}
>  nodetool getlogginglevels
>  Logger NameLog Level
>  ROOTINFO
>  com.thinkaurelius.thrift   ERROR
>  org.apache.cassandra   DEBUG
>  org.apache.cassandra.dbDEBUG
>  org.apache.cassandra.db.monitoring DEBUG
> {code}
> In cassandra.yaml
> {code:java}
> # can be identified. Set this value to zero to disable slow query logging. 
> slow_query_log_timeout_in_ms: 500{code}
> Attached is the logback.xml i am using default [^logback.xml]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15047) Slow Query Logger in Cassandra 3.11.4

2019-03-08 Thread RAVI KIRAN REDDY MADIREDDY (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

RAVI KIRAN REDDY MADIREDDY updated CASSANDRA-15047:
---
Description: 
As per
 https://issues.apache.org/jira/browse/CASSANDRA-12403

I tried to enable slow query logging with below steps on Cassandra 3.11.4 , but 
not able to log slow query's .seems its merged in 3.10 not sure if anything 
changed in 3.11.4 

there was dicussion in renaming 
{code:java}
slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
{code:java}
 nodetool getlogginglevels
 Logger NameLog Level
 ROOTINFO
 com.thinkaurelius.thrift   ERROR
 org.apache.cassandra   DEBUG
 org.apache.cassandra.dbDEBUG
 org.apache.cassandra.db.monitoring DEBUG
{code}
In cassandra.yaml
{code:java}
# can be identified. Set this value to zero to disable slow query logging. 
slow_query_log_timeout_in_ms: 500{code}
Attached is the logback.xml i am using [link 
title|http://example.com/][logback.xml|[http://example.com|http://example.com/]|http://example.com]/]

[^logback.xml]

  was:
As per
https://issues.apache.org/jira/browse/CASSANDR[Link|https://issues.apache.org/jira/projects/CASSANDRA/issues/CASSANDRA-14848?filter=allopenissues]A-12403

I tried to enable slow query logging with below steps on Cassandra 3.11.4 , but 
not able to log slow query's .seems its merged in 3.10 not sure if anything 
changed in 3.11.4 

there was dicussion in renaming 
{code:java}
slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
{code:java}
 nodetool getlogginglevels
 Logger NameLog Level
 ROOTINFO
 com.thinkaurelius.thrift   ERROR
 org.apache.cassandra   DEBUG
 org.apache.cassandra.dbDEBUG
 org.apache.cassandra.db.monitoring DEBUG
{code}
In cassandra.yaml
{code:java}
# can be identified. Set this value to zero to disable slow query logging. 
slow_query_log_timeout_in_ms: 500{code}
Attached is the logback.xml i am using [link 
title|http://example.com][logback.xml|[http://example.com]|http://example.com]/]

[^logback.xml]


> Slow Query Logger  in Cassandra 3.11.4
> --
>
> Key: CASSANDRA-15047
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15047
> Project: Cassandra
>  Issue Type: Bug
>  Components: Legacy/Observability
>Reporter: RAVI KIRAN REDDY MADIREDDY
>Priority: Minor
> Fix For: 3.11.4
>
> Attachments: logback.xml
>
>
> As per
>  https://issues.apache.org/jira/browse/CASSANDRA-12403
> I tried to enable slow query logging with below steps on Cassandra 3.11.4 , 
> but not able to log slow query's .seems its merged in 3.10 not sure if 
> anything changed in 3.11.4 
> there was dicussion in renaming 
> {code:java}
> slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
> {code:java}
>  nodetool getlogginglevels
>  Logger NameLog Level
>  ROOTINFO
>  com.thinkaurelius.thrift   ERROR
>  org.apache.cassandra   DEBUG
>  org.apache.cassandra.dbDEBUG
>  org.apache.cassandra.db.monitoring DEBUG
> {code}
> In cassandra.yaml
> {code:java}
> # can be identified. Set this value to zero to disable slow query logging. 
> slow_query_log_timeout_in_ms: 500{code}
> Attached is the logback.xml i am using [link 
> title|http://example.com/][logback.xml|[http://example.com|http://example.com/]|http://example.com]/]
> [^logback.xml]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Created] (CASSANDRA-15047) Slow Query Logger in Cassandra 3.11.4

2019-03-08 Thread RAVI KIRAN REDDY MADIREDDY (JIRA)
RAVI KIRAN REDDY MADIREDDY created CASSANDRA-15047:
--

 Summary: Slow Query Logger  in Cassandra 3.11.4
 Key: CASSANDRA-15047
 URL: https://issues.apache.org/jira/browse/CASSANDRA-15047
 Project: Cassandra
  Issue Type: Bug
  Components: Legacy/Observability
Reporter: RAVI KIRAN REDDY MADIREDDY
 Fix For: 3.11.4
 Attachments: logback.xml

As per
https://issues.apache.org/jira/browse/CASSANDR[Link|https://issues.apache.org/jira/projects/CASSANDRA/issues/CASSANDRA-14848?filter=allopenissues]A-12403

I tried to enable slow query logging with below steps on Cassandra 3.11.4 , but 
not able to log slow query's .seems its merged in 3.10 not sure if anything 
changed in 3.11.4 

there was dicussion in renaming 
{code:java}
slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
{code:java}
 nodetool getlogginglevels
 Logger NameLog Level
 ROOTINFO
 com.thinkaurelius.thrift   ERROR
 org.apache.cassandra   DEBUG
 org.apache.cassandra.dbDEBUG
 org.apache.cassandra.db.monitoring DEBUG
{code}
In cassandra.yaml
{code:java}
# can be identified. Set this value to zero to disable slow query logging. 
slow_query_log_timeout_in_ms: 500{code}
Attached is the logback.xml i am using [link 
title|http://example.com][logback.xml|[http://example.com]|http://example.com]/]

[^logback.xml]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-14972) Provide a script or method to generate the entire website at the push of a button

2019-03-08 Thread Anthony Grasso (JIRA)


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

Anthony Grasso commented on CASSANDRA-14972:


[~michaelsembwever] as per our discussion, I have updated the 
[^14972_docker-entrypoint.sh_v2] file to correct the links to the resources for 
the landing pages of each version.

As a bonus, I have also added another service to the 
[^14972_docker-compose.yml_v2] file which allows someone to preview the site. 
This is done by running the Jekyll server in the container. Details are in the 
updated  [^14972_README_v2] file.

The list of files to be placed in the _svn.apache.org/repos/asf/cassandra/site_ 
directory is now:
* [^14972_docker-compose.yml_v2]
* [^14972_docker-entrypoint.sh_v2]
* [^14972_docker-entrypoint-jekyll-serve.sh_v1]
* [^14972_Dockerfile_v3]
* [^14972_README_v2] 

> Provide a script or method to generate the entire website at the push of a 
> button
> -
>
> Key: CASSANDRA-14972
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14972
> Project: Cassandra
>  Issue Type: Task
>  Components: Documentation/Website
>Reporter: Anthony Grasso
>Assignee: Anthony Grasso
>Priority: Major
> Attachments: 14972_Dockerfile_v2, 14972_Dockerfile_v3, 
> 14972_README_v1, 14972_README_v2, 14972_docker-compose.yml_v2, 
> 14972_docker-entrypoint-jekyll-serve.sh_v1, 14972_docker-entrypoint.sh_v2, 
> Dockerfile, docker-compose.yml, docker-entrypoint.sh
>
>
> The process involved to generate the website involves two repositories (Git 
> and SVN), a range of tools, and a number of steps.
> It would be good to have a script or something similar which we run and it 
> will generate the entire website for us which is ready to commit back into 
> SVN for publication.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Assigned] (CASSANDRA-14972) Provide a script or method to generate the entire website at the push of a button

2019-03-08 Thread Anthony Grasso (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anthony Grasso reassigned CASSANDRA-14972:
--

Assignee: Nate McCall  (was: Anthony Grasso)

> Provide a script or method to generate the entire website at the push of a 
> button
> -
>
> Key: CASSANDRA-14972
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14972
> Project: Cassandra
>  Issue Type: Task
>  Components: Documentation/Website
>Reporter: Anthony Grasso
>Assignee: Nate McCall
>Priority: Major
> Attachments: 14972_Dockerfile_v2, 14972_Dockerfile_v3, 
> 14972_README_v1, 14972_README_v2, 14972_docker-compose.yml_v2, 
> 14972_docker-entrypoint-jekyll-serve.sh_v1, 14972_docker-entrypoint.sh_v2, 
> Dockerfile, docker-compose.yml, docker-entrypoint.sh
>
>
> The process involved to generate the website involves two repositories (Git 
> and SVN), a range of tools, and a number of steps.
> It would be good to have a script or something similar which we run and it 
> will generate the entire website for us which is ready to commit back into 
> SVN for publication.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-14972) Provide a script or method to generate the entire website at the push of a button

2019-03-08 Thread Anthony Grasso (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anthony Grasso updated CASSANDRA-14972:
---
Attachment: 14972_docker-compose.yml_v2
14972_docker-entrypoint-jekyll-serve.sh_v1
14972_docker-entrypoint.sh_v2
14972_Dockerfile_v3
14972_README_v2

> Provide a script or method to generate the entire website at the push of a 
> button
> -
>
> Key: CASSANDRA-14972
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14972
> Project: Cassandra
>  Issue Type: Task
>  Components: Documentation/Website
>Reporter: Anthony Grasso
>Assignee: Anthony Grasso
>Priority: Major
> Attachments: 14972_Dockerfile_v2, 14972_Dockerfile_v3, 
> 14972_README_v1, 14972_README_v2, 14972_docker-compose.yml_v2, 
> 14972_docker-entrypoint-jekyll-serve.sh_v1, 14972_docker-entrypoint.sh_v2, 
> Dockerfile, docker-compose.yml, docker-entrypoint.sh
>
>
> The process involved to generate the website involves two repositories (Git 
> and SVN), a range of tools, and a number of steps.
> It would be good to have a script or something similar which we run and it 
> will generate the entire website for us which is ready to commit back into 
> SVN for publication.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-15039) Documentation claims copyright for future years

2019-03-08 Thread Bernhard M. Wiedemann (JIRA)


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

Bernhard M. Wiedemann commented on CASSANDRA-15039:
---

Thanks. For later reference: Fix is in commit 
84fc68ce3f77e88a542dd2443e560cb291109198

> Documentation claims copyright for future years
> ---
>
> Key: CASSANDRA-15039
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15039
> Project: Cassandra
>  Issue Type: Bug
>  Components: Documentation/Javadoc
>Reporter: Bernhard M. Wiedemann
>Assignee: Bernhard M. Wiedemann
>Priority: Minor
> Fix For: 3.11.5, 4.0
>
> Attachments: cassandra.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> See attached patch for details and fix.
>  
> See also on this topic:
> [https://stackoverflow.com/questions/2390230/do-copyright-dates-need-to-be-updated]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15033) Refactor to singleQuote reuse java.util.regex.Pattern instead of String.replaceAll for TableCQLHelper.java

2019-03-08 Thread Marcus Eriksson (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcus Eriksson updated CASSANDRA-15033:

   Resolution: Fixed
Fix Version/s: 4.0
   Status: Resolved  (was: Patch Available)

tests look fine: 
https://circleci.com/workflow-run/1632a420-ba67-437c-9b23-1bc07484a1ce

and committed as {{fd860b953ff1cea85e66577bac3f866935cf715b}}, thanks!

> Refactor to singleQuote reuse java.util.regex.Pattern instead of 
> String.replaceAll for TableCQLHelper.java
> --
>
> Key: CASSANDRA-15033
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15033
> Project: Cassandra
>  Issue Type: Improvement
>  Components: CQL/Interpreter
>Reporter: DaeMyung Kang
>Assignee: DaeMyung Kang
>Priority: Trivial
> Fix For: 4.0
>
> Attachments: patch-15033.patch
>
>
> singleQuote uses `String.replaceAll ()` a lot in loop.
> and 'String.replaceAll()' compiles the regular expression each time it is 
> called.
>  
> {code:java}
> public String replaceAll(String regex, String replacement) {
>     return Pattern.compile(regex).matcher(this).replaceAll(replacement);
>  }{code}
>  
> It is suggested in javadoc 
> (https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html#matches(java.lang.String,%20java.lang.CharSequence))
>  that it is efficient to reuse the pattern.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[cassandra] branch trunk updated: Make TableCQLHelper reuse the single quote pattern

2019-03-08 Thread marcuse
This is an automated email from the ASF dual-hosted git repository.

marcuse pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/trunk by this push:
 new fd860b9  Make TableCQLHelper reuse the single quote pattern
fd860b9 is described below

commit fd860b953ff1cea85e66577bac3f866935cf715b
Author: DaeMyung Kang 
AuthorDate: Mon Mar 4 15:03:54 2019 +0100

Make TableCQLHelper reuse the single quote pattern

Patch by DaeMyung Kang; reviewed by marcuse for CASSANDRA-15033
---
 CHANGES.txt  | 1 +
 src/java/org/apache/cassandra/db/TableCQLHelper.java | 5 -
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/CHANGES.txt b/CHANGES.txt
index a24eeea..b3f0e51 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 4.0
+ * Make TableCQLHelper reuse the single quote pattern (CASSANDRA-15033)
  * Add Zstd compressor (CASSANDRA-14482)
  * Fix IR prepare anti-compaction race (CASSANDRA-15027)
  * Fix SimpleStrategy option validation (CASSANDRA-15007)
diff --git a/src/java/org/apache/cassandra/db/TableCQLHelper.java 
b/src/java/org/apache/cassandra/db/TableCQLHelper.java
index 21ae560..79e2c13 100644
--- a/src/java/org/apache/cassandra/db/TableCQLHelper.java
+++ b/src/java/org/apache/cassandra/db/TableCQLHelper.java
@@ -22,6 +22,7 @@ import java.nio.ByteBuffer;
 import java.util.*;
 import java.util.concurrent.atomic.*;
 import java.util.function.*;
+import java.util.regex.Pattern;
 
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.collect.Iterables;
@@ -36,6 +37,8 @@ import org.apache.cassandra.utils.*;
  */
 public class TableCQLHelper
 {
+private static final Pattern singleQuotePattern = Pattern.compile("'");
+
 public static List dumpReCreateStatements(TableMetadata metadata)
 {
 List l = new ArrayList<>();
@@ -393,7 +396,7 @@ public class TableCQLHelper
 
 private static String singleQuote(String s)
 {
-return String.format("'%s'", s.replaceAll("'", "''"));
+return String.format("'%s'", 
singleQuotePattern.matcher(s).replaceAll("''"));
 }
 
 private static Consumer commaAppender(String afterComma)


-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15039) Documentation claims copyright for future years

2019-03-08 Thread mck (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mck updated CASSANDRA-15039:

Fix Version/s: 4.0
   3.11.5

> Documentation claims copyright for future years
> ---
>
> Key: CASSANDRA-15039
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15039
> Project: Cassandra
>  Issue Type: Bug
>  Components: Documentation/Javadoc
>Reporter: Bernhard M. Wiedemann
>Assignee: mck
>Priority: Minor
> Fix For: 3.11.5, 4.0
>
> Attachments: cassandra.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> See attached patch for details and fix.
>  
> See also on this topic:
> [https://stackoverflow.com/questions/2390230/do-copyright-dates-need-to-be-updated]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Assigned] (CASSANDRA-15039) Documentation claims copyright for future years

2019-03-08 Thread mck (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mck reassigned CASSANDRA-15039:
---

Assignee: Bernhard M. Wiedemann  (was: mck)
Reviewer: mck

> Documentation claims copyright for future years
> ---
>
> Key: CASSANDRA-15039
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15039
> Project: Cassandra
>  Issue Type: Bug
>  Components: Documentation/Javadoc
>Reporter: Bernhard M. Wiedemann
>Assignee: Bernhard M. Wiedemann
>Priority: Minor
> Fix For: 3.11.5, 4.0
>
> Attachments: cassandra.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> See attached patch for details and fix.
>  
> See also on this topic:
> [https://stackoverflow.com/questions/2390230/do-copyright-dates-need-to-be-updated]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Resolved] (CASSANDRA-15039) Documentation claims copyright for future years

2019-03-08 Thread mck (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mck resolved CASSANDRA-15039.
-
Resolution: Fixed

> Documentation claims copyright for future years
> ---
>
> Key: CASSANDRA-15039
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15039
> Project: Cassandra
>  Issue Type: Bug
>  Components: Documentation/Javadoc
>Reporter: Bernhard M. Wiedemann
>Assignee: mck
>Priority: Minor
> Fix For: 3.11.5, 4.0
>
> Attachments: cassandra.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> See attached patch for details and fix.
>  
> See also on this topic:
> [https://stackoverflow.com/questions/2390230/do-copyright-dates-need-to-be-updated]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[cassandra] branch cassandra-3.11 updated: Fix copyright years in generated apidocs and in the NOTICE file

2019-03-08 Thread mck
This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch cassandra-3.11
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/cassandra-3.11 by this push:
 new 84fc68c  Fix copyright years in generated apidocs and in the NOTICE 
file
84fc68c is described below

commit 84fc68ce3f77e88a542dd2443e560cb291109198
Author: Mick Semb Wever 
AuthorDate: Fri Mar 8 19:51:10 2019 +1100

Fix copyright years in generated apidocs and in the NOTICE file

Patch by Bernhard M. Wiedemann; reviewed by Mick Semb Wever for 
CASSANDRA-15039
---
 NOTICE.txt | 2 +-
 build.xml  | 6 +-
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/NOTICE.txt b/NOTICE.txt
index dcdf03d..8162b32 100644
--- a/NOTICE.txt
+++ b/NOTICE.txt
@@ -1,5 +1,5 @@
 Apache Cassandra
-Copyright 2009-2014 The Apache Software Foundation
+Copyright 2009-2019 The Apache Software Foundation
 
 This product includes software developed by The Apache Software
 Foundation (http://www.apache.org/).
diff --git a/build.xml b/build.xml
index 5c5385c..846ecf5 100644
--- a/build.xml
+++ b/build.xml
@@ -133,10 +133,6 @@
   
 
 
-
-  
-
-
 

[cassandra] 01/01: Merge branch 'cassandra-3.11' into trunk

2019-03-08 Thread mck
This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git

commit 9ecec33c41213d0fd529c6c3f26b2b07504452a9
Merge: 50027f5 84fc68c
Author: Mick Semb Wever 
AuthorDate: Fri Mar 8 19:53:55 2019 +1100

Merge branch 'cassandra-3.11' into trunk

 NOTICE.txt | 2 +-
 build.xml  | 6 +-
 2 files changed, 2 insertions(+), 6 deletions(-)



-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[cassandra] branch trunk updated (50027f5 -> 9ecec33)

2019-03-08 Thread mck
This is an automated email from the ASF dual-hosted git repository.

mck pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git.


from 50027f5  Merge branch 'cassandra-3.11' into trunk
 new 84fc68c  Fix copyright years in generated apidocs and in the NOTICE 
file
 new 9ecec33  Merge branch 'cassandra-3.11' into trunk

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 NOTICE.txt | 2 +-
 build.xml  | 6 +-
 2 files changed, 2 insertions(+), 6 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-15039) Documentation claims copyright for future years

2019-03-08 Thread mck (JIRA)


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

mck commented on CASSANDRA-15039:
-

It's not just the generated apidocs but the NOTICE file is wrong as well.
I will commit your fix, and correct the NOTICE file (according to 
https://www.apache.org/legal/src-headers.html )

> Documentation claims copyright for future years
> ---
>
> Key: CASSANDRA-15039
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15039
> Project: Cassandra
>  Issue Type: Bug
>  Components: Documentation/Javadoc
>Reporter: Bernhard M. Wiedemann
>Assignee: mck
>Priority: Minor
> Attachments: cassandra.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> See attached patch for details and fix.
>  
> See also on this topic:
> [https://stackoverflow.com/questions/2390230/do-copyright-dates-need-to-be-updated]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Assigned] (CASSANDRA-15039) Documentation claims copyright for future years

2019-03-08 Thread mck (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mck reassigned CASSANDRA-15039:
---

Assignee: mck

> Documentation claims copyright for future years
> ---
>
> Key: CASSANDRA-15039
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15039
> Project: Cassandra
>  Issue Type: Bug
>  Components: Documentation/Javadoc
>Reporter: Bernhard M. Wiedemann
>Assignee: mck
>Priority: Minor
> Attachments: cassandra.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> See attached patch for details and fix.
>  
> See also on this topic:
> [https://stackoverflow.com/questions/2390230/do-copyright-dates-need-to-be-updated]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org