[jira] [Created] (CASSANDRA-16296) Join new node to cluster failing on C* version 4

2020-11-22 Thread Yakir Gibraltar (Jira)
Yakir Gibraltar created CASSANDRA-16296:
---

 Summary: Join new node to cluster failing on C* version 4
 Key: CASSANDRA-16296
 URL: https://issues.apache.org/jira/browse/CASSANDRA-16296
 Project: Cassandra
  Issue Type: Bug
Reporter: Yakir Gibraltar


Hi, i'm using cassandra 4.0-beta3,
Join new node failing,
Current status:
{code}
[root@rc801 ~]# nodetool status
Datacenter: V4CH

Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address  LoadTokens  Owns (effective)  Host ID  
 Rack
UN  1.1.1.1  356.55 KiB  128 ? 
92ae4c39-edb3-4e67-8623-b49fd8301b66  RAC1
UN  2.2.2.2  424.36 KiB  128 ? 
d80647a8-32b2-4a8f-8022-f5ae3ce8fbb2  RAC1

Datacenter: V4NJ

Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address  LoadTokens  Owns (effective)  Host ID  
 Rack
UN  3.3.3.3  322.97 KiB  128 ? 
0106ce0b-18be-4321-8247-843076ff42e6  RAC1
UN  4.4.4.4  297.6 KiB   128 ? 
d81e2b7d-9221-4b1b-86c8-e8956e3eec07  RAC1
UN  5.5.5.5  324.75 KiB  128 ? 
5dfbaf14-8310-4d64-b61a-9da0a7a8a620  RAC1
{code}

Error on new host (7.7.7.7):
{code}
INFO  [main] 2020-11-22 09:27:36,592 RangeStreamer.java:323 - Bootstrap: range 
Full(/7.7.7.7:7000,(-7734271291904743823,-7725025391901227341]) exists on 
Full(/1.1.1.1:7000,(-7734271291904743823,-7725025391901227341]) for keyspace 
system_traces
ERROR [main] 2020-11-22 09:27:36,609 CassandraDaemon.java:817 - Exception 
encountered during startup
java.lang.IllegalStateException: Multiple strict sources found for 
Full(/7.7.7.7:7000,(9208454697546654053,-9212763148842799409]), sources: 
[Full(/2.2.2.2:7000,(9189373804905478622,-9212763148842799409]), 
Full(/1.1.1.1:7000,(9189373804905478622,-9212763148842799409])]
at 
org.apache.cassandra.dht.RangeStreamer.calculateRangesToFetchWithPreferredEndpoints(RangeStreamer.java:517)
at 
org.apache.cassandra.dht.RangeStreamer.calculateRangesToFetchWithPreferredEndpoints(RangeStreamer.java:383)
at 
org.apache.cassandra.dht.RangeStreamer.addRanges(RangeStreamer.java:320)
at org.apache.cassandra.dht.BootStrapper.bootstrap(BootStrapper.java:81)
at 
org.apache.cassandra.service.StorageService.startBootstrap(StorageService.java:1635)
at 
org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:1612)
at 
org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:931)
at 
org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:892)
at 
org.apache.cassandra.service.StorageService.initServer(StorageService.java:699)
at 
org.apache.cassandra.service.StorageService.initServer(StorageService.java:635)
at 
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:407)
at 
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:671)
at 
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:795)
INFO  [StorageServiceShutdownHook] 2020-11-22 09:27:36,616 
HintsService.java:220 - Paused hints dispatch
WARN  [StorageServiceShutdownHook] 2020-11-22 09:27:36,617 Gossiper.java:1849 - 
No local state, state is in silent shutdown, or node hasn't joined, not 
announcing shutdown
INFO  [StorageServiceShutdownHook] 2020-11-22 09:27:36,617 
MessagingService.java:441 - Waiting for messaging service to quiesce
{code}

Errors on seed node:
{code}
INFO  [Messaging-EventLoop-3-37] 2020-11-22 09:26:54,121 
InboundConnectionInitiator.java:459 - 
/7.7.7.7:7000(/7.7.7.7:45490)->/1.1.1.1:7000-URGENT_MESSAGES-f412b9ba messaging 
connection established, version = 12, framing = LZ4, encryption = disabled
INFO  [Messaging-EventLoop-3-40] 2020-11-22 09:26:54,157 
OutboundConnection.java:1151 - 
/1.1.1.1:7000(/1.1.1.1:38678)->/7.7.7.7:7000-URGENT_MESSAGES-3b23f639 
successfully connected, version = 12, framing = LZ4, encryption = disabled
INFO  [GossipStage:1] 2020-11-22 09:26:56,109 Gossiper.java:1248 - Node 
/7.7.7.7:7000 is now part of the cluster
INFO  [GossipStage:1] 2020-11-22 09:26:56,147 Gossiper.java:1206 - InetAddress 
/7.7.7.7:7000 is now UP
INFO  [Messaging-EventLoop-3-1] 2020-11-22 09:26:57,378 
InboundConnectionInitiator.java:459 - 
/7.7.7.7:7000(/7.7.7.7:45504)->/1.1.1.1:7000-SMALL_MESSAGES-77c813d4 messaging 
connection established, version = 12, framing = LZ4, encryption = disabled
INFO  [Messaging-EventLoop-3-38] 2020-11-22 09:26:57,383 
OutboundConnection.java:1151 - 
/1.1.1.1:7000(/1.1.1.1:38680)->/7.7.7.7:7000-SMALL_MESSAGES-e75eaaa2 
successfully connected, version = 12, framing = LZ4, encryption = disabled
INFO  [Messaging-EventLoop-3-2] 2020-11-22 09:27:36,623 
InboundConnectionInitiator.java:459 - 
/7.7.7.7:7

[jira] [Updated] (CASSANDRA-16296) Join new node to cluster failing on C* version 4

2020-11-22 Thread Yakir Gibraltar (Jira)


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

Yakir Gibraltar updated CASSANDRA-16296:

Description: 
Hi, i'm using cassandra 4.0-beta3,
Join new node failing,
Current status:
{code}
[root@rc801 ~]# nodetool status
Datacenter: V4CH

Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address  LoadTokens  Owns (effective)  Host ID  
 Rack
UN  1.1.1.1  356.55 KiB  128 ? 
92ae4c39-edb3-4e67-8623-b49fd8301b66  RAC1
UN  2.2.2.2  424.36 KiB  128 ? 
d80647a8-32b2-4a8f-8022-f5ae3ce8fbb2  RAC1

Datacenter: V4NJ

Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address  LoadTokens  Owns (effective)  Host ID  
 Rack
UN  3.3.3.3  322.97 KiB  128 ? 
0106ce0b-18be-4321-8247-843076ff42e6  RAC1
UN  4.4.4.4  297.6 KiB   128 ? 
d81e2b7d-9221-4b1b-86c8-e8956e3eec07  RAC1
UN  5.5.5.5  324.75 KiB  128 ? 
5dfbaf14-8310-4d64-b61a-9da0a7a8a620  RAC1
{code}

Error on new host (7.7.7.7):
{code}
INFO  [main] 2020-11-22 09:27:36,592 RangeStreamer.java:323 - Bootstrap: range 
Full(/7.7.7.7:7000,(-7734271291904743823,-7725025391901227341]) exists on 
Full(/1.1.1.1:7000,(-7734271291904743823,-7725025391901227341]) for keyspace 
system_traces
ERROR [main] 2020-11-22 09:27:36,609 CassandraDaemon.java:817 - Exception 
encountered during startup
java.lang.IllegalStateException: Multiple strict sources found for 
Full(/7.7.7.7:7000,(9208454697546654053,-9212763148842799409]), sources: 
[Full(/2.2.2.2:7000,(9189373804905478622,-9212763148842799409]), 
Full(/1.1.1.1:7000,(9189373804905478622,-9212763148842799409])]
at 
org.apache.cassandra.dht.RangeStreamer.calculateRangesToFetchWithPreferredEndpoints(RangeStreamer.java:517)
at 
org.apache.cassandra.dht.RangeStreamer.calculateRangesToFetchWithPreferredEndpoints(RangeStreamer.java:383)
at 
org.apache.cassandra.dht.RangeStreamer.addRanges(RangeStreamer.java:320)
at org.apache.cassandra.dht.BootStrapper.bootstrap(BootStrapper.java:81)
at 
org.apache.cassandra.service.StorageService.startBootstrap(StorageService.java:1635)
at 
org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:1612)
at 
org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:931)
at 
org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:892)
at 
org.apache.cassandra.service.StorageService.initServer(StorageService.java:699)
at 
org.apache.cassandra.service.StorageService.initServer(StorageService.java:635)
at 
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:407)
at 
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:671)
at 
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:795)
INFO  [StorageServiceShutdownHook] 2020-11-22 09:27:36,616 
HintsService.java:220 - Paused hints dispatch
WARN  [StorageServiceShutdownHook] 2020-11-22 09:27:36,617 Gossiper.java:1849 - 
No local state, state is in silent shutdown, or node hasn't joined, not 
announcing shutdown
INFO  [StorageServiceShutdownHook] 2020-11-22 09:27:36,617 
MessagingService.java:441 - Waiting for messaging service to quiesce
{code}

Errors on seed node:
{code}
INFO  [Messaging-EventLoop-3-37] 2020-11-22 09:26:54,121 
InboundConnectionInitiator.java:459 - 
/7.7.7.7:7000(/7.7.7.7:45490)->/1.1.1.1:7000-URGENT_MESSAGES-f412b9ba messaging 
connection established, version = 12, framing = LZ4, encryption = disabled
INFO  [Messaging-EventLoop-3-40] 2020-11-22 09:26:54,157 
OutboundConnection.java:1151 - 
/1.1.1.1:7000(/1.1.1.1:38678)->/7.7.7.7:7000-URGENT_MESSAGES-3b23f639 
successfully connected, version = 12, framing = LZ4, encryption = disabled
INFO  [GossipStage:1] 2020-11-22 09:26:56,109 Gossiper.java:1248 - Node 
/7.7.7.7:7000 is now part of the cluster
INFO  [GossipStage:1] 2020-11-22 09:26:56,147 Gossiper.java:1206 - InetAddress 
/7.7.7.7:7000 is now UP
INFO  [Messaging-EventLoop-3-1] 2020-11-22 09:26:57,378 
InboundConnectionInitiator.java:459 - 
/7.7.7.7:7000(/7.7.7.7:45504)->/1.1.1.1:7000-SMALL_MESSAGES-77c813d4 messaging 
connection established, version = 12, framing = LZ4, encryption = disabled
INFO  [Messaging-EventLoop-3-38] 2020-11-22 09:26:57,383 
OutboundConnection.java:1151 - 
/1.1.1.1:7000(/1.1.1.1:38680)->/7.7.7.7:7000-SMALL_MESSAGES-e75eaaa2 
successfully connected, version = 12, framing = LZ4, encryption = disabled
INFO  [Messaging-EventLoop-3-2] 2020-11-22 09:27:36,623 
InboundConnectionInitiator.java:459 - 
/7.7.7.7:7000(/7.7.7.7:45534)->/1.1.1.1:7000-LARGE_MESSAGES-defc02dd messaging 
connection established, version = 12, framing = LZ4, encryption =

[jira] [Commented] (CASSANDRA-16083) Missing JMX objects and attributes upgrading from 3.0 to 4.0

2020-11-22 Thread Ekaterina Dimitrova (Jira)


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

Ekaterina Dimitrova commented on CASSANDRA-16083:
-

I am not sure why some of the ThreadPools scopes are missing. Codewise I see 
the same set. I asked [~blerer]  to take a look when he has a bit of time to 
direct me as way more knowledgeable than me on that part of the code.

To me it looks like the rest requires update of the documentation? Any 
objections? Thoughts? [~dcapwell]? I know you also spent quite some time on 
those, any opinion?

> Missing JMX objects and attributes upgrading from 3.0 to 4.0
> 
>
> Key: CASSANDRA-16083
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16083
> Project: Cassandra
>  Issue Type: Task
>  Components: Observability/Metrics
>Reporter: David Capwell
>Assignee: Ekaterina Dimitrova
>Priority: Normal
> Fix For: 4.0-beta
>
>
> Using the tools added in CASSANDRA-16082, below are the list of metrics 
> missing in 4.0 but present in 3.0.  The work here is to make sure we had 
> proper deprecation for each metric, and if not to add it back.
> {code}
> $ tools/bin/jmxtool diff -f yaml cassandra-3.0-jmx.yaml trunk-jmx.yaml 
> --ignore-missing-on-left
> Objects not in right:
> org.apache.cassandra.metrics:type=Table,keyspace=system,scope=schema_columnfamilies,name=CasPrepareLatency
> org.apache.cassandra.metrics:type=Table,keyspace=system,scope=batchlog,name=EstimatedPartitionSizeHistogram
> org.apache.cassandra.metrics:type=Table,keyspace=system,scope=hints,name=BloomFilterFalseRatio
> org.apache.cassandra.metrics:type=Table,keyspace=system,scope=views_builds_in_progress,name=ReplicaFilteringProtectionRequests
> org.apache.cassandra.metrics:type=ColumnFamily,keyspace=system,scope=batchlog,name=RowCacheHitOutOfRange
> org.apache.cassandra.metrics:type=Table,keyspace=system,scope=views_builds_in_progress,name=CasPrepareLatency
> org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=CounterMutationStage,name=MaxPoolSize
> org.apache.cassandra.metrics:type=ColumnFamily,keyspace=system,scope=views_builds_in_progress,name=ColUpdateTimeDeltaHistogram
> org.apache.cassandra.metrics:type=ColumnFamily,keyspace=system,scope=batchlog,name=TombstoneScannedHistogram
> org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=ReadStage,name=ActiveTasks
> org.apache.cassandra.metrics:type=Table,keyspace=system,scope=hints,name=WaitingOnFreeMemtableSpace
> org.apache.cassandra.metrics:type=Table,keyspace=system,scope=schema_columnfamilies,name=CasCommitTotalLatency
> org.apache.cassandra.metrics:type=Table,keyspace=system,scope=hints,name=MemtableOnHeapSize
> org.apache.cassandra.metrics:type=Table,keyspace=system,scope=schema_aggregates,name=CasProposeLatency
> org.apache.cassandra.metrics:type=ColumnFamily,keyspace=system,scope=batchlog,name=AllMemtablesLiveDataSize
> org.apache.cassandra.metrics:type=ColumnFamily,keyspace=system,scope=hints,name=ViewReadTime
> org.apache.cassandra.db:type=HintedHandoffManager
> org.apache.cassandra.metrics:type=Table,keyspace=system,scope=batchlog,name=BloomFilterDiskSpaceUsed
> org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=RequestResponseStage,name=PendingTasks
> org.apache.cassandra.metrics:type=ColumnFamily,keyspace=system,scope=views_builds_in_progress,name=MemtableSwitchCount
> org.apache.cassandra.metrics:type=ColumnFamily,keyspace=system,scope=hints,name=MemtableOnHeapSize
> org.apache.cassandra.metrics:type=Table,keyspace=system,scope=range_xfers,name=ReplicaFilteringProtectionRowsCachedPerQuery
> org.apache.cassandra.metrics:type=ColumnFamily,keyspace=system,scope=views_builds_in_progress,name=SnapshotsSize
> org.apache.cassandra.metrics:type=Table,keyspace=system,scope=batchlog,name=RecentBloomFilterFalsePositives
> org.apache.cassandra.metrics:type=Table,keyspace=system,scope=views_builds_in_progress,name=ColUpdateTimeDeltaHistogram
> org.apache.cassandra.metrics:type=ColumnFamily,keyspace=system,scope=range_xfers,name=SpeculativeRetries
> org.apache.cassandra.metrics:type=Table,keyspace=system,scope=batchlog,name=LiveDiskSpaceUsed
> org.apache.cassandra.metrics:type=Table,keyspace=system,scope=views_builds_in_progress,name=ViewReadTime
> org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=MigrationStage,name=CompletedTasks
> org.apache.cassandra.metrics:type=Table,keyspace=system,scope=batchlog,name=AllMemtablesLiveDataSize
> org.apache.cassandra.metrics:type=Table,keyspace=system,scope=batchlog,name=ViewReadTime
> org.apache.cassandra.metrics:type=ColumnFamily,keyspace=system,scope=hints,name=BloomFilterFalsePositives
> org.apache.cassandra.metrics:type=ColumnFamily,keyspace=system,scope=range_xfer

[jira] [Updated] (CASSANDRA-16261) Prevent unbounded number of flushing tasks

2020-11-22 Thread Ekaterina Dimitrova (Jira)


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

Ekaterina Dimitrova updated CASSANDRA-16261:

Fix Version/s: 3.0.x
   2.2.x

> Prevent unbounded number of flushing tasks
> --
>
> Key: CASSANDRA-16261
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16261
> Project: Cassandra
>  Issue Type: Bug
>  Components: Legacy/Local Write-Read Paths
>Reporter: Ekaterina Dimitrova
>Assignee: Ekaterina Dimitrova
>Priority: Normal
> Fix For: 2.2.x, 3.0.x, 3.11.x, 4.0-beta4
>
>
> The cleaner thread is not prevented from queueing an unbounded number of 
> flushing tasks for memtables that are almost empty.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (CASSANDRA-16261) Prevent unbounded number of flushing tasks

2020-11-22 Thread Ekaterina Dimitrova (Jira)


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

Ekaterina Dimitrova commented on CASSANDRA-16261:
-

[2.2 
patch|https://github.com/ekaterinadimitrova2/cassandra/commits/CASSANDRA-16261-2.2]
 | [CI 
run|https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/518/workflows/24905bec-e6f1-4d4f-8996-6be0ba8f99bb]

The CI run doesn't show any new failures. Most of the DTests fail because of:
{code:java}
Invalid yaml. Please remove properties [enable_scripted_user_defined_functions] 
from your cassandra.yaml{code}
The few additional changes needed in order to be able to apply the patch are 
intentionally in separate commits so you can easily identify them. 

[3.0 
patch|https://github.com/ekaterinadimitrova2/cassandra/commits/cassandra-3.0-16261]
 | [CI run 
|https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/514/workflows/ca1d07df-b85e-4333-a4da-7035f83a0c5f]

The CI run shows no new failures were introduced

The few additional changes needed to be able to apply the patch to 3.0 are in a 
separate commit.

 

> Prevent unbounded number of flushing tasks
> --
>
> Key: CASSANDRA-16261
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16261
> Project: Cassandra
>  Issue Type: Bug
>  Components: Legacy/Local Write-Read Paths
>Reporter: Ekaterina Dimitrova
>Assignee: Ekaterina Dimitrova
>Priority: Normal
> Fix For: 2.2.x, 3.0.x, 3.11.x, 4.0-beta4
>
>
> The cleaner thread is not prevented from queueing an unbounded number of 
> flushing tasks for memtables that are almost empty.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (CASSANDRA-15583) 4.0 quality testing: Tooling, Bundled and First Party

2020-11-22 Thread Berenguer Blasi (Jira)


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

Berenguer Blasi updated CASSANDRA-15583:

Description: 
Reference [doc from 
NGCC|https://docs.google.com/document/d/1uhUOp7wpE9ZXNDgxoCZHejHt5SO4Qw1dArZqqsJccyQ/edit#]
 for context.

*Shepherd: Sam Tunnicliffe*

Test plans should cover bundled first-party tooling and CLIs such as nodetool, 
cqlsh, and new tools supporting full query and audit logging (CASSANDRA-13983, 
CASSANDRA-12151).

*Progress*

{{ToolRunner}} has been added enabling us to test tools in java unit tests. 
This includes capturing their stdout/err and stdin i.e. Most tools have a 
starting unit test testing their cmd line args happy path. Tickets have been 
created to improve coverage of those  and flagged LHF. Also for those tools big 
enough they can't be addressed in a simple ticket such as nodetool, a 
placeholder ticket for future improvements has been created as well. Tickets 
and status are:
||Tool||UX test||UT coverage||dtest coverage||Comments||
|Nodetool|(x)|(x) CASSANDRA-16026|(!)|Not all the sub commands are tested. 
Dtest also test nodetool as a side effect|
|Cqlsh|(x)|(x) CASSANDRA-16025|(!)| |
|Cassandra-stress|(x)|(x) CASSANDRA-16024|(x)| |
|debug-cql|(x)|(x) CASSANDRA-16023|(x)| |
|fqltool|(x)|(/) CASSANDRA-16022|(!)| |
|auditlogviewer|(/) CASSANDRA-15991|(!) CASSANDRA-16021|(!)| |
|*Sstable utilities*| | | | |
|sstabledump|(/) CASSANDRA-15991|(/) CASSANDRA-16020|(!)| |
|sstableexpiredblockers|(/) CASSANDRA-15991|(x) CASSANDRA-16019|(!)| |
|sstablelevelreset|(/) CASSANDRA-15991|(x) CASSANDRA-16018|(!)| |
|sstableloader|(x)|(x) CASSANDRA-16017|(!)| |
|sstablemetadata|(/) CASSANDRA-15991|(x) CASSANDRA-16016|(x)| |
|sstableofflinerelevel|(/) CASSANDRA-15991|(x) CASSANDRA-16015|(!)| |
|sstablerepairedset|(/) CASSANDRA-15991|(x) CASSANDRA-16014|(x)|Ran in dtests, 
no dedicated test|
|sstablescrub|(/) CASSANDRA-15991|(x) CASSANDRA-16013|(!)| |
|sstablesplit|(/) CASSANDRA-15991|(x) CASSANDRA-16012|(!)| |
|sstableupgrade|(/) CASSANDRA-15991|(x) CASSANDRA-16011|(!)| |
|sstableutil|(/) CASSANDRA-15991|(x) CASSANDRA-16010|(!)| |
|sstableverify|(/) CASSANDRA-15991|(x) CASSANDRA-16009|(!)| |

  was:
Reference [doc from 
NGCC|https://docs.google.com/document/d/1uhUOp7wpE9ZXNDgxoCZHejHt5SO4Qw1dArZqqsJccyQ/edit#]
 for context.

*Shepherd: Sam Tunnicliffe*

Test plans should cover bundled first-party tooling and CLIs such as nodetool, 
cqlsh, and new tools supporting full query and audit logging (CASSANDRA-13983, 
CASSANDRA-12151).

*Progress as of Aug 2020*

{{ToolRunner}} has been added enabling us to test tools in java unit tests. 
This includes capturing their stdout/err and stdin i.e. Most tools have a 
starting unit test testing their cmd line args happy path. Tickets have been 
created to improve coverage of those  and flagged LHF. Also for those tools big 
enough they can't be addressed in a simple ticket such as nodetool, a 
placeholder ticket for future improvements has been created as well. Tickets 
and status are:
||Tool||UX test||UT coverage||dtest coverage||Comments||
|Nodetool|(x)|(x) CASSANDRA-16026|(!)|Not all the sub commands are tested. 
Dtest also test nodetool as a side effect|
|Cqlsh|(x)|(x) CASSANDRA-16025|(!)| |
|Cassandra-stress|(x)|(x) CASSANDRA-16024|(x)| |
|debug-cql|(x)|(x) CASSANDRA-16023|(x)| |
|fqltool|(x)|(/) CASSANDRA-16022|(!)| |
|auditlogviewer|(/) CASSANDRA-15991|(!) CASSANDRA-16021|(!)| |
|*Sstable utilities*| | | | |
|sstabledump|(/) CASSANDRA-15991|(/) CASSANDRA-16020|(!)| |
|sstableexpiredblockers|(/) CASSANDRA-15991|(x) CASSANDRA-16019|(!)| |
|sstablelevelreset|(/) CASSANDRA-15991|(x) CASSANDRA-16018|(!)| |
|sstableloader|(x)|(x) CASSANDRA-16017|(!)| |
|sstablemetadata|(/) CASSANDRA-15991|(x) CASSANDRA-16016|(x)| |
|sstableofflinerelevel|(/) CASSANDRA-15991|(x) CASSANDRA-16015|(!)| |
|sstablerepairedset|(/) CASSANDRA-15991|(x) CASSANDRA-16014|(x)|Ran in dtests, 
no dedicated test|
|sstablescrub|(/) CASSANDRA-15991|(x) CASSANDRA-16013|(!)| |
|sstablesplit|(/) CASSANDRA-15991|(x) CASSANDRA-16012|(!)| |
|sstableupgrade|(/) CASSANDRA-15991|(x) CASSANDRA-16011|(!)| |
|sstableutil|(/) CASSANDRA-15991|(x) CASSANDRA-16010|(!)| |
|sstableverify|(/) CASSANDRA-15991|(x) CASSANDRA-16009|(!)| |


> 4.0 quality testing: Tooling, Bundled and First Party
> -
>
> Key: CASSANDRA-15583
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15583
> Project: Cassandra
>  Issue Type: Task
>  Components: Test/dtest/python, Test/unit
>Reporter: Josh McKenzie
>Assignee: Berenguer Blasi
>Priority: Normal
> Fix For: 4.0-beta
>
>
> Reference [doc from 
> NGCC|https://docs.google.com/document/d/1uhUOp7wpE9ZXNDgxoCZHejHt5SO4Qw1dArZqqsJccyQ/edit#]
>  for context.
> *Shepherd: Sam Tunnicliffe*
> 

[jira] [Commented] (CASSANDRA-15583) 4.0 quality testing: Tooling, Bundled and First Party

2020-11-22 Thread Berenguer Blasi (Jira)


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

Berenguer Blasi commented on CASSANDRA-15583:
-

ping [~samt]

> 4.0 quality testing: Tooling, Bundled and First Party
> -
>
> Key: CASSANDRA-15583
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15583
> Project: Cassandra
>  Issue Type: Task
>  Components: Test/dtest/python, Test/unit
>Reporter: Josh McKenzie
>Assignee: Berenguer Blasi
>Priority: Normal
> Fix For: 4.0-beta
>
>
> Reference [doc from 
> NGCC|https://docs.google.com/document/d/1uhUOp7wpE9ZXNDgxoCZHejHt5SO4Qw1dArZqqsJccyQ/edit#]
>  for context.
> *Shepherd: Sam Tunnicliffe*
> Test plans should cover bundled first-party tooling and CLIs such as 
> nodetool, cqlsh, and new tools supporting full query and audit logging 
> (CASSANDRA-13983, CASSANDRA-12151).
> *Progress*
> {{ToolRunner}} has been added enabling us to test tools in java unit tests. 
> This includes capturing their stdout/err and stdin i.e. Most tools have a 
> starting unit test testing their cmd line args happy path. Tickets have been 
> created to improve coverage of those  and flagged LHF. Also for those tools 
> big enough they can't be addressed in a simple ticket such as nodetool, a 
> placeholder ticket for future improvements has been created as well. Tickets 
> and status are:
> ||Tool||UX test||UT coverage||dtest coverage||Comments||
> |Nodetool|(x)|(x) CASSANDRA-16026|(!)|Not all the sub commands are tested. 
> Dtest also test nodetool as a side effect|
> |Cqlsh|(x)|(x) CASSANDRA-16025|(!)| |
> |Cassandra-stress|(x)|(x) CASSANDRA-16024|(x)| |
> |debug-cql|(x)|(x) CASSANDRA-16023|(x)| |
> |fqltool|(x)|(/) CASSANDRA-16022|(!)| |
> |auditlogviewer|(/) CASSANDRA-15991|(!) CASSANDRA-16021|(!)| |
> |*Sstable utilities*| | | | |
> |sstabledump|(/) CASSANDRA-15991|(/) CASSANDRA-16020|(!)| |
> |sstableexpiredblockers|(/) CASSANDRA-15991|(x) CASSANDRA-16019|(!)| |
> |sstablelevelreset|(/) CASSANDRA-15991|(x) CASSANDRA-16018|(!)| |
> |sstableloader|(x)|(x) CASSANDRA-16017|(!)| |
> |sstablemetadata|(/) CASSANDRA-15991|(x) CASSANDRA-16016|(x)| |
> |sstableofflinerelevel|(/) CASSANDRA-15991|(x) CASSANDRA-16015|(!)| |
> |sstablerepairedset|(/) CASSANDRA-15991|(x) CASSANDRA-16014|(x)|Ran in 
> dtests, no dedicated test|
> |sstablescrub|(/) CASSANDRA-15991|(x) CASSANDRA-16013|(!)| |
> |sstablesplit|(/) CASSANDRA-15991|(x) CASSANDRA-16012|(!)| |
> |sstableupgrade|(/) CASSANDRA-15991|(x) CASSANDRA-16011|(!)| |
> |sstableutil|(/) CASSANDRA-15991|(x) CASSANDRA-16010|(!)| |
> |sstableverify|(/) CASSANDRA-15991|(x) CASSANDRA-16009|(!)| |



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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