[jira] [Updated] (CASSANDRA-17740) BulkLoader tool initializes schema unnecessarily via streaming

2023-03-07 Thread Michael Semb Wever (Jira)


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

Michael Semb Wever updated CASSANDRA-17740:
---
Fix Version/s: 5.0

> BulkLoader tool initializes schema unnecessarily via streaming
> --
>
> Key: CASSANDRA-17740
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17740
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tool/bulk load
>Reporter: Caleb Rackliffe
>Assignee: Caleb Rackliffe
>Priority: Normal
> Fix For: 4.1-beta1, 5.0, 4.x
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Changes to streaming setup code for CASSANDRA-17663 mean that {{BulkLoader}} 
> initializes the schema/system keyspace, which is not what we want in a tool. 
> Initialization is due to a call to {{SystemKeyspace.getPreferredIP}} from the 
> {{BulkLoader}} when it starts to transmit the SSTables from the bulk loader 
> to the Cassandra instance.
> {noformat}
> getPreferredIP:1063, SystemKeyspace (org.apache.cassandra.db)
> sendMessage:213, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:191, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:1033, StreamSession (org.apache.cassandra.streaming)
> startStreamingFiles:1257, StreamSession (org.apache.cassandra.streaming)
> prepareSynAck:802, StreamSession (org.apache.cassandra.streaming)
> messageReceived:622, StreamSession (org.apache.cassandra.streaming)
> run:76, StreamDeserializingTask (org.apache.cassandra.streaming)
> run:30, FastThreadLocalRunnable (io.netty.util.concurrent)
> run:748, Thread (java.lang)
> {noformat}
> The existing {{BulkLoaderTest}} fails to detect this as it doesn't actually 
> connect to anything so does not initialize streaming.
> Affects 4.1 and trunk, and may affect 4.0, although the 4.0 patch for 
> CASSANDRA-17663 is different than 4.1+, and may require different mitigation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Updated] (CASSANDRA-17740) BulkLoader tool initializes schema unnecessarily via streaming

2022-08-05 Thread Caleb Rackliffe (Jira)


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

Caleb Rackliffe updated CASSANDRA-17740:

  Since Version: 4.1
Source Control Link: 
https://github.com/apache/cassandra/commit/5e39c54678b0d70145b5c699593eb9ce7fa7706a
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

4.1 - 
[https://github.com/apache/cassandra/commit/5e39c54678b0d70145b5c699593eb9ce7fa7706a]

trunk - 
https://github.com/apache/cassandra/commit/881b08f7015a4342833079e648e478526cc3b31a

> BulkLoader tool initializes schema unnecessarily via streaming
> --
>
> Key: CASSANDRA-17740
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17740
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tool/bulk load
>Reporter: Caleb Rackliffe
>Assignee: Caleb Rackliffe
>Priority: Normal
> Fix For: 4.1-beta, 4.x
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Changes to streaming setup code for CASSANDRA-17663 mean that {{BulkLoader}} 
> initializes the schema/system keyspace, which is not what we want in a tool. 
> Initialization is due to a call to {{SystemKeyspace.getPreferredIP}} from the 
> {{BulkLoader}} when it starts to transmit the SSTables from the bulk loader 
> to the Cassandra instance.
> {noformat}
> getPreferredIP:1063, SystemKeyspace (org.apache.cassandra.db)
> sendMessage:213, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:191, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:1033, StreamSession (org.apache.cassandra.streaming)
> startStreamingFiles:1257, StreamSession (org.apache.cassandra.streaming)
> prepareSynAck:802, StreamSession (org.apache.cassandra.streaming)
> messageReceived:622, StreamSession (org.apache.cassandra.streaming)
> run:76, StreamDeserializingTask (org.apache.cassandra.streaming)
> run:30, FastThreadLocalRunnable (io.netty.util.concurrent)
> run:748, Thread (java.lang)
> {noformat}
> The existing {{BulkLoaderTest}} fails to detect this as it doesn't actually 
> connect to anything so does not initialize streaming.
> Affects 4.1 and trunk, and may affect 4.0, although the 4.0 patch for 
> CASSANDRA-17663 is different than 4.1+, and may require different mitigation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Updated] (CASSANDRA-17740) BulkLoader tool initializes schema unnecessarily via streaming

2022-08-05 Thread Caleb Rackliffe (Jira)


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

Caleb Rackliffe updated CASSANDRA-17740:

Status: Ready to Commit  (was: Review In Progress)

> BulkLoader tool initializes schema unnecessarily via streaming
> --
>
> Key: CASSANDRA-17740
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17740
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tool/bulk load
>Reporter: Caleb Rackliffe
>Assignee: Caleb Rackliffe
>Priority: Normal
> Fix For: 4.1-beta, 4.x
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Changes to streaming setup code for CASSANDRA-17663 mean that {{BulkLoader}} 
> initializes the schema/system keyspace, which is not what we want in a tool. 
> Initialization is due to a call to {{SystemKeyspace.getPreferredIP}} from the 
> {{BulkLoader}} when it starts to transmit the SSTables from the bulk loader 
> to the Cassandra instance.
> {noformat}
> getPreferredIP:1063, SystemKeyspace (org.apache.cassandra.db)
> sendMessage:213, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:191, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:1033, StreamSession (org.apache.cassandra.streaming)
> startStreamingFiles:1257, StreamSession (org.apache.cassandra.streaming)
> prepareSynAck:802, StreamSession (org.apache.cassandra.streaming)
> messageReceived:622, StreamSession (org.apache.cassandra.streaming)
> run:76, StreamDeserializingTask (org.apache.cassandra.streaming)
> run:30, FastThreadLocalRunnable (io.netty.util.concurrent)
> run:748, Thread (java.lang)
> {noformat}
> The existing {{BulkLoaderTest}} fails to detect this as it doesn't actually 
> connect to anything so does not initialize streaming.
> Affects 4.1 and trunk, and may affect 4.0, although the 4.0 patch for 
> CASSANDRA-17663 is different than 4.1+, and may require different mitigation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Updated] (CASSANDRA-17740) BulkLoader tool initializes schema unnecessarily via streaming

2022-08-05 Thread Caleb Rackliffe (Jira)


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

Caleb Rackliffe updated CASSANDRA-17740:

Reviewers: Jon Meredith  (was: Caleb Rackliffe, Jon Meredith)

> BulkLoader tool initializes schema unnecessarily via streaming
> --
>
> Key: CASSANDRA-17740
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17740
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tool/bulk load
>Reporter: Caleb Rackliffe
>Assignee: Caleb Rackliffe
>Priority: Normal
> Fix For: 4.1-beta, 4.x
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Changes to streaming setup code for CASSANDRA-17663 mean that {{BulkLoader}} 
> initializes the schema/system keyspace, which is not what we want in a tool. 
> Initialization is due to a call to {{SystemKeyspace.getPreferredIP}} from the 
> {{BulkLoader}} when it starts to transmit the SSTables from the bulk loader 
> to the Cassandra instance.
> {noformat}
> getPreferredIP:1063, SystemKeyspace (org.apache.cassandra.db)
> sendMessage:213, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:191, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:1033, StreamSession (org.apache.cassandra.streaming)
> startStreamingFiles:1257, StreamSession (org.apache.cassandra.streaming)
> prepareSynAck:802, StreamSession (org.apache.cassandra.streaming)
> messageReceived:622, StreamSession (org.apache.cassandra.streaming)
> run:76, StreamDeserializingTask (org.apache.cassandra.streaming)
> run:30, FastThreadLocalRunnable (io.netty.util.concurrent)
> run:748, Thread (java.lang)
> {noformat}
> The existing {{BulkLoaderTest}} fails to detect this as it doesn't actually 
> connect to anything so does not initialize streaming.
> Affects 4.1 and trunk, and may affect 4.0, although the 4.0 patch for 
> CASSANDRA-17663 is different than 4.1+, and may require different mitigation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Updated] (CASSANDRA-17740) BulkLoader tool initializes schema unnecessarily via streaming

2022-08-05 Thread Caleb Rackliffe (Jira)


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

Caleb Rackliffe updated CASSANDRA-17740:

Reviewers: Jon Meredith, Caleb Rackliffe  (was: Jon Meredith)
   Jon Meredith, Caleb Rackliffe  (was: Caleb Rackliffe, Jon 
Meredith)
   Status: Review In Progress  (was: Patch Available)

> BulkLoader tool initializes schema unnecessarily via streaming
> --
>
> Key: CASSANDRA-17740
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17740
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tool/bulk load
>Reporter: Caleb Rackliffe
>Assignee: Caleb Rackliffe
>Priority: Normal
> Fix For: 4.1-beta, 4.x
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Changes to streaming setup code for CASSANDRA-17663 mean that {{BulkLoader}} 
> initializes the schema/system keyspace, which is not what we want in a tool. 
> Initialization is due to a call to {{SystemKeyspace.getPreferredIP}} from the 
> {{BulkLoader}} when it starts to transmit the SSTables from the bulk loader 
> to the Cassandra instance.
> {noformat}
> getPreferredIP:1063, SystemKeyspace (org.apache.cassandra.db)
> sendMessage:213, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:191, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:1033, StreamSession (org.apache.cassandra.streaming)
> startStreamingFiles:1257, StreamSession (org.apache.cassandra.streaming)
> prepareSynAck:802, StreamSession (org.apache.cassandra.streaming)
> messageReceived:622, StreamSession (org.apache.cassandra.streaming)
> run:76, StreamDeserializingTask (org.apache.cassandra.streaming)
> run:30, FastThreadLocalRunnable (io.netty.util.concurrent)
> run:748, Thread (java.lang)
> {noformat}
> The existing {{BulkLoaderTest}} fails to detect this as it doesn't actually 
> connect to anything so does not initialize streaming.
> Affects 4.1 and trunk, and may affect 4.0, although the 4.0 patch for 
> CASSANDRA-17663 is different than 4.1+, and may require different mitigation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Updated] (CASSANDRA-17740) BulkLoader tool initializes schema unnecessarily via streaming

2022-08-04 Thread Caleb Rackliffe (Jira)


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

Caleb Rackliffe updated CASSANDRA-17740:

Test and Documentation Plan: Make sure existing tests aren't disturbed.
 Status: Patch Available  (was: In Progress)

|branch|tests|
|[4.1|https://github.com/apache/cassandra/pull/1769]|[CircleCI|https://app.circleci.com/pipelines/github/maedhroz/cassandra?branch=CASSANDRA-17740-4.1]|

> BulkLoader tool initializes schema unnecessarily via streaming
> --
>
> Key: CASSANDRA-17740
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17740
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tool/bulk load
>Reporter: Caleb Rackliffe
>Assignee: Caleb Rackliffe
>Priority: Normal
> Fix For: 4.1-beta, 4.x
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Changes to streaming setup code for CASSANDRA-17663 mean that {{BulkLoader}} 
> initializes the schema/system keyspace, which is not what we want in a tool. 
> Initialization is due to a call to {{SystemKeyspace.getPreferredIP}} from the 
> {{BulkLoader}} when it starts to transmit the SSTables from the bulk loader 
> to the Cassandra instance.
> {noformat}
> getPreferredIP:1063, SystemKeyspace (org.apache.cassandra.db)
> sendMessage:213, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:191, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:1033, StreamSession (org.apache.cassandra.streaming)
> startStreamingFiles:1257, StreamSession (org.apache.cassandra.streaming)
> prepareSynAck:802, StreamSession (org.apache.cassandra.streaming)
> messageReceived:622, StreamSession (org.apache.cassandra.streaming)
> run:76, StreamDeserializingTask (org.apache.cassandra.streaming)
> run:30, FastThreadLocalRunnable (io.netty.util.concurrent)
> run:748, Thread (java.lang)
> {noformat}
> The existing {{BulkLoaderTest}} fails to detect this as it doesn't actually 
> connect to anything so does not initialize streaming.
> Affects 4.1 and trunk, and may affect 4.0, although the 4.0 patch for 
> CASSANDRA-17663 is different than 4.1+, and may require different mitigation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Updated] (CASSANDRA-17740) BulkLoader tool initializes schema unnecessarily via streaming

2022-08-04 Thread Caleb Rackliffe (Jira)


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

Caleb Rackliffe updated CASSANDRA-17740:

 Bug Category: Parent values: Degradation(12984)Level 1 values: Resource 
Management(12995)
   Complexity: Normal
  Component/s: Tool/bulk load
Discovered By: Adhoc Test
 Severity: Normal
   Status: Open  (was: Triage Needed)

> BulkLoader tool initializes schema unnecessarily via streaming
> --
>
> Key: CASSANDRA-17740
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17740
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tool/bulk load
>Reporter: Caleb Rackliffe
>Assignee: Caleb Rackliffe
>Priority: Normal
> Fix For: 4.1-beta, 4.x
>
>
> Changes to streaming setup code for CASSANDRA-17663 mean that {{BulkLoader}} 
> initializes the schema/system keyspace, which is not what we want in a tool. 
> Initialization is due to a call to {{SystemKeyspace.getPreferredIP}} from the 
> {{BulkLoader}} when it starts to transmit the SSTables from the bulk loader 
> to the Cassandra instance.
> {noformat}
> getPreferredIP:1063, SystemKeyspace (org.apache.cassandra.db)
> sendMessage:213, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:191, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:1033, StreamSession (org.apache.cassandra.streaming)
> startStreamingFiles:1257, StreamSession (org.apache.cassandra.streaming)
> prepareSynAck:802, StreamSession (org.apache.cassandra.streaming)
> messageReceived:622, StreamSession (org.apache.cassandra.streaming)
> run:76, StreamDeserializingTask (org.apache.cassandra.streaming)
> run:30, FastThreadLocalRunnable (io.netty.util.concurrent)
> run:748, Thread (java.lang)
> {noformat}
> The existing {{BulkLoaderTest}} fails to detect this as it doesn't actually 
> connect to anything so does not initialize streaming.
> Affects 4.1 and trunk, and may affect 4.0, although the 4.0 patch for 
> CASSANDRA-17663 is different than 4.1+, and may require different mitigation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Updated] (CASSANDRA-17740) BulkLoader tool initializes schema unnecessarily via streaming

2022-08-04 Thread Caleb Rackliffe (Jira)


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

Caleb Rackliffe updated CASSANDRA-17740:

Reviewers: Jon Meredith  (was: Caleb Rackliffe)

> BulkLoader tool initializes schema unnecessarily via streaming
> --
>
> Key: CASSANDRA-17740
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17740
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Caleb Rackliffe
>Assignee: Caleb Rackliffe
>Priority: Normal
> Fix For: 4.1-beta, 4.x
>
>
> Changes to streaming setup code for CASSANDRA-17663 mean that {{BulkLoader}} 
> initializes the schema/system keyspace, which is not what we want in a tool. 
> Initialization is due to a call to {{SystemKeyspace.getPreferredIP}} from the 
> {{BulkLoader}} when it starts to transmit the SSTables from the bulk loader 
> to the Cassandra instance.
> {noformat}
> getPreferredIP:1063, SystemKeyspace (org.apache.cassandra.db)
> sendMessage:213, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:191, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:1033, StreamSession (org.apache.cassandra.streaming)
> startStreamingFiles:1257, StreamSession (org.apache.cassandra.streaming)
> prepareSynAck:802, StreamSession (org.apache.cassandra.streaming)
> messageReceived:622, StreamSession (org.apache.cassandra.streaming)
> run:76, StreamDeserializingTask (org.apache.cassandra.streaming)
> run:30, FastThreadLocalRunnable (io.netty.util.concurrent)
> run:748, Thread (java.lang)
> {noformat}
> The existing {{BulkLoaderTest}} fails to detect this as it doesn't actually 
> connect to anything so does not initialize streaming.
> Affects 4.1 and trunk, and may affect 4.0, although the 4.0 patch for 
> CASSANDRA-17663 is different than 4.1+, and may require different mitigation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Updated] (CASSANDRA-17740) BulkLoader tool initializes schema unnecessarily via streaming

2022-07-11 Thread Caleb Rackliffe (Jira)


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

Caleb Rackliffe updated CASSANDRA-17740:

Description: 
Changes to streaming setup code for CASSANDRA-17663 mean that {{BulkLoader}} 
initializes the schema/system keyspace, which is not what we want in a tool. 
Initialization is due to a call to {{SystemKeyspace.getPreferredIP}} from the 
{{BulkLoader}} when it starts to transmit the SSTables from the bulk loader to 
the Cassandra instance.

{noformat}
getPreferredIP:1063, SystemKeyspace (org.apache.cassandra.db)
sendMessage:213, StreamingMultiplexedChannel 
(org.apache.cassandra.streaming.async)
sendControlMessage:191, StreamingMultiplexedChannel 
(org.apache.cassandra.streaming.async)
sendControlMessage:1033, StreamSession (org.apache.cassandra.streaming)
startStreamingFiles:1257, StreamSession (org.apache.cassandra.streaming)
prepareSynAck:802, StreamSession (org.apache.cassandra.streaming)
messageReceived:622, StreamSession (org.apache.cassandra.streaming)
run:76, StreamDeserializingTask (org.apache.cassandra.streaming)
run:30, FastThreadLocalRunnable (io.netty.util.concurrent)
run:748, Thread (java.lang)
{noformat}

The existing {{BulkLoaderTest}} fails to detect this as it doesn't actually 
connect to anything so does not initialize streaming.

Affects 4.1 and trunk, and may affect 4.0, although the 4.0 patch for 
CASSANDRA-17663 is different than 4.1+, and may require different mitigation.

  was:
Changes to streaming setup code for CASSANDRA-17663 mean that {{BulkLoader}} 
initializes the schema/system keyspace, which is not what we want in a tool. 
Initialization is due to a call to {{SystemKeyspace.getPreferredIP}} from the 
{{BulkLoader}} when it starts to transmit the SSTables from the bulk loader to 
the Cassandra instance.

{{noformat}}
getPreferredIP:1063, SystemKeyspace (org.apache.cassandra.db)
sendMessage:213, StreamingMultiplexedChannel 
(org.apache.cassandra.streaming.async)
sendControlMessage:191, StreamingMultiplexedChannel 
(org.apache.cassandra.streaming.async)
sendControlMessage:1033, StreamSession (org.apache.cassandra.streaming)
startStreamingFiles:1257, StreamSession (org.apache.cassandra.streaming)
prepareSynAck:802, StreamSession (org.apache.cassandra.streaming)
messageReceived:622, StreamSession (org.apache.cassandra.streaming)
run:76, StreamDeserializingTask (org.apache.cassandra.streaming)
run:30, FastThreadLocalRunnable (io.netty.util.concurrent)
run:748, Thread (java.lang)
{{noformat}}

The existing {{BulkLoaderTest}} fails to detect this as it doesn't actually 
connect to anything so does not initialize streaming.

Affects 4.1 and trunk, and may affect 4.0, although the 4.0 patch for 
CASSANDRA-17663 is different than 4.1+, and may require different mitigation.


> BulkLoader tool initializes schema unnecessarily via streaming
> --
>
> Key: CASSANDRA-17740
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17740
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Caleb Rackliffe
>Assignee: Jon Meredith
>Priority: Normal
> Fix For: 4.1-beta, 4.x
>
>
> Changes to streaming setup code for CASSANDRA-17663 mean that {{BulkLoader}} 
> initializes the schema/system keyspace, which is not what we want in a tool. 
> Initialization is due to a call to {{SystemKeyspace.getPreferredIP}} from the 
> {{BulkLoader}} when it starts to transmit the SSTables from the bulk loader 
> to the Cassandra instance.
> {noformat}
> getPreferredIP:1063, SystemKeyspace (org.apache.cassandra.db)
> sendMessage:213, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:191, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:1033, StreamSession (org.apache.cassandra.streaming)
> startStreamingFiles:1257, StreamSession (org.apache.cassandra.streaming)
> prepareSynAck:802, StreamSession (org.apache.cassandra.streaming)
> messageReceived:622, StreamSession (org.apache.cassandra.streaming)
> run:76, StreamDeserializingTask (org.apache.cassandra.streaming)
> run:30, FastThreadLocalRunnable (io.netty.util.concurrent)
> run:748, Thread (java.lang)
> {noformat}
> The existing {{BulkLoaderTest}} fails to detect this as it doesn't actually 
> connect to anything so does not initialize streaming.
> Affects 4.1 and trunk, and may affect 4.0, although the 4.0 patch for 
> CASSANDRA-17663 is different than 4.1+, and may require different mitigation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Updated] (CASSANDRA-17740) BulkLoader tool initializes schema unnecessarily via streaming

2022-07-11 Thread Caleb Rackliffe (Jira)


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

Caleb Rackliffe updated CASSANDRA-17740:

Fix Version/s: 4.1-beta
   4.x

> BulkLoader tool initializes schema unnecessarily via streaming
> --
>
> Key: CASSANDRA-17740
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17740
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Caleb Rackliffe
>Assignee: Jon Meredith
>Priority: Normal
> Fix For: 4.1-beta, 4.x
>
>
> Changes to streaming setup code for CASSANDRA-17663 mean that {{BulkLoader}} 
> initializes the schema/system keyspace, which is not what we want in a tool. 
> Initialization is due to a call to {{SystemKeyspace.getPreferredIP}} from the 
> {{BulkLoader}} when it starts to transmit the SSTables from the bulk loader 
> to the Cassandra instance.
> {{noformat}}
> getPreferredIP:1063, SystemKeyspace (org.apache.cassandra.db)
> sendMessage:213, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:191, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:1033, StreamSession (org.apache.cassandra.streaming)
> startStreamingFiles:1257, StreamSession (org.apache.cassandra.streaming)
> prepareSynAck:802, StreamSession (org.apache.cassandra.streaming)
> messageReceived:622, StreamSession (org.apache.cassandra.streaming)
> run:76, StreamDeserializingTask (org.apache.cassandra.streaming)
> run:30, FastThreadLocalRunnable (io.netty.util.concurrent)
> run:748, Thread (java.lang)
> {{noformat}}
> The existing {{BulkLoaderTest}} fails to detect this as it doesn't actually 
> connect to anything so does not initialize streaming.
> Affects 4.1 and trunk, and may affect 4.0, although the 4.0 patch for 
> CASSANDRA-17663 is different than 4.1+, and may require different mitigation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Updated] (CASSANDRA-17740) BulkLoader tool initializes schema unnecessarily via streaming

2022-07-06 Thread Caleb Rackliffe (Jira)


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

Caleb Rackliffe updated CASSANDRA-17740:

Reviewers: Caleb Rackliffe

> BulkLoader tool initializes schema unnecessarily via streaming
> --
>
> Key: CASSANDRA-17740
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17740
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Caleb Rackliffe
>Assignee: Jon Meredith
>Priority: Normal
>
> Changes to streaming setup code for CASSANDRA-17663 mean that {{BulkLoader}} 
> initializes the schema/system keyspace, which is not what we want in a tool. 
> Initialization is due to a call to {{SystemKeyspace.getPreferredIP}} from the 
> {{BulkLoader}} when it starts to transmit the SSTables from the bulk loader 
> to the Cassandra instance.
> {{noformat}}
> getPreferredIP:1063, SystemKeyspace (org.apache.cassandra.db)
> sendMessage:213, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:191, StreamingMultiplexedChannel 
> (org.apache.cassandra.streaming.async)
> sendControlMessage:1033, StreamSession (org.apache.cassandra.streaming)
> startStreamingFiles:1257, StreamSession (org.apache.cassandra.streaming)
> prepareSynAck:802, StreamSession (org.apache.cassandra.streaming)
> messageReceived:622, StreamSession (org.apache.cassandra.streaming)
> run:76, StreamDeserializingTask (org.apache.cassandra.streaming)
> run:30, FastThreadLocalRunnable (io.netty.util.concurrent)
> run:748, Thread (java.lang)
> {{noformat}}
> The existing {{BulkLoaderTest}} fails to detect this as it doesn't actually 
> connect to anything so does not initialize streaming.
> Affects 4.1 and trunk, and may affect 4.0, although the 4.0 patch for 
> CASSANDRA-17663 is different than 4.1+, and may require different mitigation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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