[jira] [Commented] (CASSANDRA-10190) Python 3 support for cqlsh

2019-08-26 Thread Patrick Bannister (Jira)


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

Patrick Bannister commented on CASSANDRA-10190:
---

I added new unit tests for the {{get_ranges}} function of 
{{cqlshlib.copyutil.ExportTask}}. The tests exposed a bug in {{get_ranges}}, so 
I fixed that too.

> Python 3 support for cqlsh
> --
>
> Key: CASSANDRA-10190
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10190
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Legacy/Tools
>Reporter: Andrew Pennebaker
>Assignee: Patrick Bannister
>Priority: Normal
>  Labels: cqlsh
> Attachments: coverage_notes.txt
>
>
> Users who operate in a Python 3 environment may have trouble launching cqlsh. 
> Could we please update cqlsh's syntax to run in Python 3?
> As a workaround, users can setup pyenv, and cd to a directory with a 
> .python-version containing "2.7". But it would be nice if cqlsh supported 
> modern Python versions out of the box.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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



[jira] [Comment Edited] (CASSANDRA-15277) Make it possible to resize concurrent read / write thread pools at runtime

2019-08-26 Thread Jon Meredith (Jira)


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

Jon Meredith edited comment on CASSANDRA-15277 at 8/26/19 7:30 PM:
---

I went ahead and changed SEPExecutor to understand negative permits as resizing 
and give up their work permits, added support for nodetool to get/set 
concurrency, tried to clear up confusion with the JMXEnabledThreadPoolExecutor 
pool size getters/setters and cleaned up the unnecessary 
JMXConfigurableThreadPoolExecutor as it doesn't add anything to 
JMXEnabledPoolExecutor any more.

Also, switched the code to be based on CASSANDRA-15227 as there are changes to 
Stage/StageManager that impact this work and it seemed easier to make the 
changes after.


was (Author: jmeredithco):
I went ahead and changed SEPExecutor to understand negative permits as resizing 
and give up their work permits, added support for nodetool to get/set 
concurrency, tried to clear up confusion with the JMXEnabledThreadPoolExecutor 
pool size getters/setters and cleaned up the unnecessary 
JMXConfigurableThreadPoolExecutor as it doesn't add anything to 
JMXEnabledPoolExecutor any more.

> Make it possible to resize concurrent read / write thread pools at runtime
> --
>
> Key: CASSANDRA-15277
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15277
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local/Other
>Reporter: Jon Meredith
>Assignee: Jon Meredith
>Priority: Normal
>  Labels: pull-request-available
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> To better mitigate cluster overload the executor services for various stages 
> should be configurable at runtime (probably as a JMX hot property). 
> Related to CASSANDRA-5044, this would add the capability to resize to 
> multiThreadedLowSignalStage pools based on SEPExecutor.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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



[jira] [Commented] (CASSANDRA-15277) Make it possible to resize concurrent read / write thread pools at runtime

2019-08-26 Thread Jon Meredith (Jira)


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

Jon Meredith commented on CASSANDRA-15277:
--

I went ahead and changed SEPExecutor to understand negative permits as resizing 
and give up their work permits, added support for nodetool to get/set 
concurrency, tried to clear up confusion with the JMXEnabledThreadPoolExecutor 
pool size getters/setters and cleaned up the unnecessary 
JMXConfigurableThreadPoolExecutor as it doesn't add anything to 
JMXEnabledPoolExecutor any more.

> Make it possible to resize concurrent read / write thread pools at runtime
> --
>
> Key: CASSANDRA-15277
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15277
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local/Other
>Reporter: Jon Meredith
>Assignee: Jon Meredith
>Priority: Normal
>  Labels: pull-request-available
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> To better mitigate cluster overload the executor services for various stages 
> should be configurable at runtime (probably as a JMX hot property). 
> Related to CASSANDRA-5044, this would add the capability to resize to 
> multiThreadedLowSignalStage pools based on SEPExecutor.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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



[jira] [Updated] (CASSANDRA-15282) nodetool tablestats does not list bytes repaired/unrepaired

2019-08-26 Thread Josh Turner (Jira)


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

Josh Turner updated CASSANDRA-15282:

Test and Documentation Plan: 
Improved UnitTest 
org.apache.cassandra.tools.nodetool.stats.TableStatsPrinterTest to include this 
feature in output check and ran it successfully. 

 
 Status: Patch Available  (was: Open)

> nodetool tablestats does not list bytes repaired/unrepaired
> ---
>
> Key: CASSANDRA-15282
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15282
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tool/nodetool
>Reporter: DeepakVohra
>Assignee: Josh Turner
>Priority: Normal
> Attachments: 15282.trunk
>
>
> According to _CASSANDRA-13774_
> _add bytes repaired/unrepaired in nodetool tablestats_
> But, only the percent is listed, and not the actual bytes with latest 4.0 
> build.
> {code:java}
> nodetool tablestats --sort local_read_count --top 3
> ...
> Percent repaired: 0.0
> ...{code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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



[jira] [Updated] (CASSANDRA-15282) nodetool tablestats does not list bytes repaired/unrepaired

2019-08-26 Thread Josh Turner (Jira)


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

Josh Turner updated CASSANDRA-15282:

Attachment: 15282.trunk

> nodetool tablestats does not list bytes repaired/unrepaired
> ---
>
> Key: CASSANDRA-15282
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15282
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tool/nodetool
>Reporter: DeepakVohra
>Assignee: Josh Turner
>Priority: Normal
> Attachments: 15282.trunk
>
>
> According to _CASSANDRA-13774_
> _add bytes repaired/unrepaired in nodetool tablestats_
> But, only the percent is listed, and not the actual bytes with latest 4.0 
> build.
> {code:java}
> nodetool tablestats --sort local_read_count --top 3
> ...
> Percent repaired: 0.0
> ...{code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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



[jira] [Commented] (CASSANDRA-15282) nodetool tablestats does not list bytes repaired/unrepaired

2019-08-26 Thread Josh Turner (Jira)


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

Josh Turner commented on CASSANDRA-15282:
-

Functionality got removed by CASSANDRA-13889. I've readded the code for this 
feature and updated TableStatsPrinterTest to account for this changed output.

 

> nodetool tablestats does not list bytes repaired/unrepaired
> ---
>
> Key: CASSANDRA-15282
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15282
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tool/nodetool
>Reporter: DeepakVohra
>Assignee: Josh Turner
>Priority: Normal
>
> According to _CASSANDRA-13774_
> _add bytes repaired/unrepaired in nodetool tablestats_
> But, only the percent is listed, and not the actual bytes with latest 4.0 
> build.
> {code:java}
> nodetool tablestats --sort local_read_count --top 3
> ...
> Percent repaired: 0.0
> ...{code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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



[jira] [Assigned] (CASSANDRA-15282) nodetool tablestats does not list bytes repaired/unrepaired

2019-08-26 Thread Josh Turner (Jira)


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

Josh Turner reassigned CASSANDRA-15282:
---

Assignee: Josh Turner

> nodetool tablestats does not list bytes repaired/unrepaired
> ---
>
> Key: CASSANDRA-15282
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15282
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tool/nodetool
>Reporter: DeepakVohra
>Assignee: Josh Turner
>Priority: Normal
>
> According to _CASSANDRA-13774_
> _add bytes repaired/unrepaired in nodetool tablestats_
> But, only the percent is listed, and not the actual bytes with latest 4.0 
> build.
> {code:java}
> nodetool tablestats --sort local_read_count --top 3
> ...
> Percent repaired: 0.0
> ...{code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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



[jira] [Updated] (CASSANDRA-15282) nodetool tablestats does not list bytes repaired/unrepaired

2019-08-26 Thread Josh Turner (Jira)


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

Josh Turner updated CASSANDRA-15282:

 Bug Category: Parent values: Code(13163)Level 1 values: Bug - Unclear 
Impact(13164)
   Complexity: Low Hanging Fruit
Discovered By: User Report
 Severity: Low
   Status: Open  (was: Triage Needed)

> nodetool tablestats does not list bytes repaired/unrepaired
> ---
>
> Key: CASSANDRA-15282
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15282
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tool/nodetool
>Reporter: DeepakVohra
>Priority: Normal
>
> According to _CASSANDRA-13774_
> _add bytes repaired/unrepaired in nodetool tablestats_
> But, only the percent is listed, and not the actual bytes with latest 4.0 
> build.
> {code:java}
> nodetool tablestats --sort local_read_count --top 3
> ...
> Percent repaired: 0.0
> ...{code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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