[jira] [Updated] (CASSANDRA-16535) Fail to init Cassandra Startup with an API connected with other cluster machines (3.11.9 version)

2021-07-23 Thread Brandon Williams (Jira)


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

Brandon Williams updated CASSANDRA-16535:
-
Resolution: Won't Fix
Status: Resolved  (was: Open)

Closing as wontfix then since we have WSL and dropped windows in 4.0.

> Fail to init Cassandra Startup with an API connected with other cluster 
> machines (3.11.9 version)
> -
>
> Key: CASSANDRA-16535
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16535
> Project: Cassandra
>  Issue Type: Bug
>  Components: Local/Startup and Shutdown
>Reporter: Aramis
>Assignee: Aramis
>Priority: Normal
> Fix For: 3.11.11
>
> Attachments: cassandra_modified.ps1, 
> image-2021-03-24-21-12-32-709.png, image-2021-03-24-21-13-46-704.png
>
>
> The code in the function "VerifyPortsAreAvailable", look for the ports: 7000, 
> 9042, 7199 and 9160 in the "netstat -an" command output.
>  
> If we have an API connected to the cluster in a node, and we try to start the 
> execution of cassandra (with that API working, accesing ports 9042 of the 
> other cluster machines), the output of that command return us that the port 
> is already in use, and Cassandra´s startup process fails, showing the output 
> message : "port already in use" in the .log file.
> Thus, if we change the code of the function, adding the line: " -and $line 
> -match "LISTENING" ", just next to the "$line -match "TCP" ", we will only 
> interrupt the execution if the load port is in the state: "LISTENING", but no 
> if it´s an active connection on the other node of the cluster.
> !image-2021-03-24-21-12-32-709.png|width=470,height=159!
> !image-2021-03-24-21-13-46-704.png|width=526,height=119!



--
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-16535) Fail to init Cassandra Startup with an API connected with other cluster machines (3.11.9 version)

2021-07-23 Thread Brandon Williams (Jira)


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

Brandon Williams updated CASSANDRA-16535:
-
Status: Open  (was: Patch Available)

> Fail to init Cassandra Startup with an API connected with other cluster 
> machines (3.11.9 version)
> -
>
> Key: CASSANDRA-16535
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16535
> Project: Cassandra
>  Issue Type: Bug
>  Components: Local/Startup and Shutdown
>Reporter: Aramis
>Assignee: Aramis
>Priority: Normal
> Fix For: 3.11.11
>
> Attachments: cassandra_modified.ps1, 
> image-2021-03-24-21-12-32-709.png, image-2021-03-24-21-13-46-704.png
>
>
> The code in the function "VerifyPortsAreAvailable", look for the ports: 7000, 
> 9042, 7199 and 9160 in the "netstat -an" command output.
>  
> If we have an API connected to the cluster in a node, and we try to start the 
> execution of cassandra (with that API working, accesing ports 9042 of the 
> other cluster machines), the output of that command return us that the port 
> is already in use, and Cassandra´s startup process fails, showing the output 
> message : "port already in use" in the .log file.
> Thus, if we change the code of the function, adding the line: " -and $line 
> -match "LISTENING" ", just next to the "$line -match "TCP" ", we will only 
> interrupt the execution if the load port is in the state: "LISTENING", but no 
> if it´s an active connection on the other node of the cluster.
> !image-2021-03-24-21-12-32-709.png|width=470,height=159!
> !image-2021-03-24-21-13-46-704.png|width=526,height=119!



--
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-16535) Fail to init Cassandra Startup with an API connected with other cluster machines (3.11.9 version)

2021-03-31 Thread Aramis (Jira)


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

Aramis updated CASSANDRA-16535:
---
Reviewers: Yuki Morishita  (was: Aramis, Yuki Morishita)

> Fail to init Cassandra Startup with an API connected with other cluster 
> machines (3.11.9 version)
> -
>
> Key: CASSANDRA-16535
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16535
> Project: Cassandra
>  Issue Type: Bug
>  Components: Local/Startup and Shutdown
>Reporter: Aramis
>Assignee: Aramis
>Priority: Normal
> Fix For: 3.11.11
>
> Attachments: cassandra_modified.ps1, 
> image-2021-03-24-21-12-32-709.png, image-2021-03-24-21-13-46-704.png
>
>
> The code in the function "VerifyPortsAreAvailable", look for the ports: 7000, 
> 9042, 7199 and 9160 in the "netstat -an" command output.
>  
> If we have an API connected to the cluster in a node, and we try to start the 
> execution of cassandra (with that API working, accesing ports 9042 of the 
> other cluster machines), the output of that command return us that the port 
> is already in use, and Cassandra´s startup process fails, showing the output 
> message : "port already in use" in the .log file.
> Thus, if we change the code of the function, adding the line: " -and $line 
> -match "LISTENING" ", just next to the "$line -match "TCP" ", we will only 
> interrupt the execution if the load port is in the state: "LISTENING", but no 
> if it´s an active connection on the other node of the cluster.
> !image-2021-03-24-21-12-32-709.png|width=470,height=159!
> !image-2021-03-24-21-13-46-704.png|width=526,height=119!



--
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-16535) Fail to init Cassandra Startup with an API connected with other cluster machines (3.11.9 version)

2021-03-31 Thread Aramis (Jira)


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

Aramis updated CASSANDRA-16535:
---
Status: Patch Available  (was: Review In Progress)

> Fail to init Cassandra Startup with an API connected with other cluster 
> machines (3.11.9 version)
> -
>
> Key: CASSANDRA-16535
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16535
> Project: Cassandra
>  Issue Type: Bug
>  Components: Local/Startup and Shutdown
>Reporter: Aramis
>Assignee: Aramis
>Priority: Normal
> Fix For: 3.11.11
>
> Attachments: cassandra_modified.ps1, 
> image-2021-03-24-21-12-32-709.png, image-2021-03-24-21-13-46-704.png
>
>
> The code in the function "VerifyPortsAreAvailable", look for the ports: 7000, 
> 9042, 7199 and 9160 in the "netstat -an" command output.
>  
> If we have an API connected to the cluster in a node, and we try to start the 
> execution of cassandra (with that API working, accesing ports 9042 of the 
> other cluster machines), the output of that command return us that the port 
> is already in use, and Cassandra´s startup process fails, showing the output 
> message : "port already in use" in the .log file.
> Thus, if we change the code of the function, adding the line: " -and $line 
> -match "LISTENING" ", just next to the "$line -match "TCP" ", we will only 
> interrupt the execution if the load port is in the state: "LISTENING", but no 
> if it´s an active connection on the other node of the cluster.
> !image-2021-03-24-21-12-32-709.png|width=470,height=159!
> !image-2021-03-24-21-13-46-704.png|width=526,height=119!



--
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-16535) Fail to init Cassandra Startup with an API connected with other cluster machines (3.11.9 version)

2021-03-31 Thread Aramis (Jira)


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

Aramis updated CASSANDRA-16535:
---
Reviewers: Yuki Morishita, Aramis  (was: Aramis, Yuki Morishita)
   Yuki Morishita, Aramis  (was: Yuki Morishita)
   Status: Review In Progress  (was: Patch Available)

> Fail to init Cassandra Startup with an API connected with other cluster 
> machines (3.11.9 version)
> -
>
> Key: CASSANDRA-16535
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16535
> Project: Cassandra
>  Issue Type: Bug
>  Components: Local/Startup and Shutdown
>Reporter: Aramis
>Assignee: Aramis
>Priority: Normal
> Fix For: 3.11.11
>
> Attachments: cassandra_modified.ps1, 
> image-2021-03-24-21-12-32-709.png, image-2021-03-24-21-13-46-704.png
>
>
> The code in the function "VerifyPortsAreAvailable", look for the ports: 7000, 
> 9042, 7199 and 9160 in the "netstat -an" command output.
>  
> If we have an API connected to the cluster in a node, and we try to start the 
> execution of cassandra (with that API working, accesing ports 9042 of the 
> other cluster machines), the output of that command return us that the port 
> is already in use, and Cassandra´s startup process fails, showing the output 
> message : "port already in use" in the .log file.
> Thus, if we change the code of the function, adding the line: " -and $line 
> -match "LISTENING" ", just next to the "$line -match "TCP" ", we will only 
> interrupt the execution if the load port is in the state: "LISTENING", but no 
> if it´s an active connection on the other node of the cluster.
> !image-2021-03-24-21-12-32-709.png|width=470,height=159!
> !image-2021-03-24-21-13-46-704.png|width=526,height=119!



--
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-16535) Fail to init Cassandra Startup with an API connected with other cluster machines (3.11.9 version)

2021-03-31 Thread Aramis (Jira)


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

Aramis updated CASSANDRA-16535:
---
Status: Patch Available  (was: In Progress)

> Fail to init Cassandra Startup with an API connected with other cluster 
> machines (3.11.9 version)
> -
>
> Key: CASSANDRA-16535
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16535
> Project: Cassandra
>  Issue Type: Bug
>  Components: Local/Startup and Shutdown
>Reporter: Aramis
>Assignee: Aramis
>Priority: Normal
> Fix For: 3.11.11
>
> Attachments: cassandra_modified.ps1, 
> image-2021-03-24-21-12-32-709.png, image-2021-03-24-21-13-46-704.png
>
>
> The code in the function "VerifyPortsAreAvailable", look for the ports: 7000, 
> 9042, 7199 and 9160 in the "netstat -an" command output.
>  
> If we have an API connected to the cluster in a node, and we try to start the 
> execution of cassandra (with that API working, accesing ports 9042 of the 
> other cluster machines), the output of that command return us that the port 
> is already in use, and Cassandra´s startup process fails, showing the output 
> message : "port already in use" in the .log file.
> Thus, if we change the code of the function, adding the line: " -and $line 
> -match "LISTENING" ", just next to the "$line -match "TCP" ", we will only 
> interrupt the execution if the load port is in the state: "LISTENING", but no 
> if it´s an active connection on the other node of the cluster.
> !image-2021-03-24-21-12-32-709.png|width=470,height=159!
> !image-2021-03-24-21-13-46-704.png|width=526,height=119!



--
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-16535) Fail to init Cassandra Startup with an API connected with other cluster machines (3.11.9 version)

2021-03-31 Thread Aramis (Jira)


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

Aramis updated CASSANDRA-16535:
---
Status: In Progress  (was: Patch Available)

> Fail to init Cassandra Startup with an API connected with other cluster 
> machines (3.11.9 version)
> -
>
> Key: CASSANDRA-16535
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16535
> Project: Cassandra
>  Issue Type: Bug
>  Components: Local/Startup and Shutdown
>Reporter: Aramis
>Assignee: Aramis
>Priority: Normal
> Fix For: 3.11.11
>
> Attachments: cassandra_modified.ps1, 
> image-2021-03-24-21-12-32-709.png, image-2021-03-24-21-13-46-704.png
>
>
> The code in the function "VerifyPortsAreAvailable", look for the ports: 7000, 
> 9042, 7199 and 9160 in the "netstat -an" command output.
>  
> If we have an API connected to the cluster in a node, and we try to start the 
> execution of cassandra (with that API working, accesing ports 9042 of the 
> other cluster machines), the output of that command return us that the port 
> is already in use, and Cassandra´s startup process fails, showing the output 
> message : "port already in use" in the .log file.
> Thus, if we change the code of the function, adding the line: " -and $line 
> -match "LISTENING" ", just next to the "$line -match "TCP" ", we will only 
> interrupt the execution if the load port is in the state: "LISTENING", but no 
> if it´s an active connection on the other node of the cluster.
> !image-2021-03-24-21-12-32-709.png|width=470,height=159!
> !image-2021-03-24-21-13-46-704.png|width=526,height=119!



--
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-16535) Fail to init Cassandra Startup with an API connected with other cluster machines (3.11.9 version)

2021-03-26 Thread Yuki Morishita (Jira)


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

Yuki Morishita updated CASSANDRA-16535:
---
Reviewers: Yuki Morishita

> Fail to init Cassandra Startup with an API connected with other cluster 
> machines (3.11.9 version)
> -
>
> Key: CASSANDRA-16535
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16535
> Project: Cassandra
>  Issue Type: Bug
>  Components: Local/Startup and Shutdown
>Reporter: Aramis
>Assignee: Aramis
>Priority: Normal
> Fix For: 3.11.11
>
> Attachments: cassandra_modified.ps1, 
> image-2021-03-24-21-12-32-709.png, image-2021-03-24-21-13-46-704.png
>
>
> The code in the function "VerifyPortsAreAvailable", look for the ports: 7000, 
> 9042, 7199 and 9160 in the "netstat -an" command output.
>  
> If we have an API connected to the cluster in a node, and we try to start the 
> execution of cassandra (with that API working, accesing ports 9042 of the 
> other cluster machines), the output of that command return us that the port 
> is already in use, and Cassandra´s startup process fails, showing the output 
> message : "port already in use" in the .log file.
> Thus, if we change the code of the function, adding the line: " -and $line 
> -match "LISTENING" ", just next to the "$line -match "TCP" ", we will only 
> interrupt the execution if the load port is in the state: "LISTENING", but no 
> if it´s an active connection on the other node of the cluster.
> !image-2021-03-24-21-12-32-709.png|width=470,height=159!
> !image-2021-03-24-21-13-46-704.png|width=526,height=119!



--
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-16535) Fail to init Cassandra Startup with an API connected with other cluster machines (3.11.9 version)

2021-03-25 Thread Aramis (Jira)


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

Aramis updated CASSANDRA-16535:
---
Test and Documentation Plan: Specified in post
 Status: Patch Available  (was: Open)

https://github.com/amenur/CASSANDRA-16535/blob/main/cassandra_modified.ps1

> Fail to init Cassandra Startup with an API connected with other cluster 
> machines (3.11.9 version)
> -
>
> Key: CASSANDRA-16535
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16535
> Project: Cassandra
>  Issue Type: Bug
>  Components: Local/Startup and Shutdown
>Reporter: Aramis
>Assignee: Aramis
>Priority: Normal
> Fix For: 3.11.11
>
> Attachments: cassandra_modified.ps1, 
> image-2021-03-24-21-12-32-709.png, image-2021-03-24-21-13-46-704.png
>
>
> The code in the function "VerifyPortsAreAvailable", look for the ports: 7000, 
> 9042, 7199 and 9160 in the "netstat -an" command output.
>  
> If we have an API connected to the cluster in a node, and we try to start the 
> execution of cassandra (with that API working, accesing ports 9042 of the 
> other cluster machines), the output of that command return us that the port 
> is already in use, and Cassandra´s startup process fails, showing the output 
> message : "port already in use" in the .log file.
> Thus, if we change the code of the function, adding the line: " -and $line 
> -match "LISTENING" ", just next to the "$line -match "TCP" ", we will only 
> interrupt the execution if the load port is in the state: "LISTENING", but no 
> if it´s an active connection on the other node of the cluster.
> !image-2021-03-24-21-12-32-709.png|width=470,height=159!
> !image-2021-03-24-21-13-46-704.png|width=526,height=119!



--
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-16535) Fail to init Cassandra Startup with an API connected with other cluster machines (3.11.9 version)

2021-03-24 Thread Brandon Williams (Jira)


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

Brandon Williams updated CASSANDRA-16535:
-
 Bug Category: Parent values: Availability(12983)
   Complexity: Low Hanging Fruit
Discovered By: User Report
Fix Version/s: 3.11.11
 Severity: Normal
   Status: Open  (was: Triage Needed)

Seems simple enough to me, but I don't have a windows machine to test with (and 
also note that windows support is removed in 4.0.)

> Fail to init Cassandra Startup with an API connected with other cluster 
> machines (3.11.9 version)
> -
>
> Key: CASSANDRA-16535
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16535
> Project: Cassandra
>  Issue Type: Bug
>  Components: Local/Startup and Shutdown
>Reporter: Aramis
>Assignee: Aramis
>Priority: Normal
> Fix For: 3.11.11
>
> Attachments: cassandra_modified.ps1, 
> image-2021-03-24-21-12-32-709.png, image-2021-03-24-21-13-46-704.png
>
>
> The code in the function "VerifyPortsAreAvailable", look for the ports: 7000, 
> 9042, 7199 and 9160 in the "netstat -an" command output.
>  
> If we have an API connected to the cluster in a node, and we try to start the 
> execution of cassandra (with that API working, accesing ports 9042 of the 
> other cluster machines), the output of that command return us that the port 
> is already in use, and Cassandra´s startup process fails, showing the output 
> message : "port already in use" in the .log file.
> Thus, if we change the code of the function, adding the line: " -and $line 
> -match "LISTENING" ", just next to the "$line -match "TCP" ", we will only 
> interrupt the execution if the load port is in the state: "LISTENING", but no 
> if it´s an active connection on the other node of the cluster.
> !image-2021-03-24-21-12-32-709.png|width=470,height=159!
> !image-2021-03-24-21-13-46-704.png|width=526,height=119!



--
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