[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-03-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CASSANDRA-13396:


Github user e-hubert commented on the issue:

https://github.com/apache/cassandra/pull/210
  
Closing this pull request as thanks to @jasobrown those changes were pushed 
to 3.11 with some editorial changes.


> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eric Hubert
>Priority: Minor
> Fix For: 4.0, 3.11.3
>
> Attachments: CASSANDRA-13396_ehubert_1.patch, 
> CASSANDRA-13396_ehubert_2.patch, CASSANDRA-13396_ehubert_3.patch
>
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-03-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CASSANDRA-13396:


Github user e-hubert closed the pull request at:

https://github.com/apache/cassandra/pull/210


> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eric Hubert
>Priority: Minor
> Fix For: 4.0, 3.11.3
>
> Attachments: CASSANDRA-13396_ehubert_1.patch, 
> CASSANDRA-13396_ehubert_2.patch, CASSANDRA-13396_ehubert_3.patch
>
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-03-24 Thread Eric Hubert (JIRA)

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

Eric Hubert commented on CASSANDRA-13396:
-

Just in case it makes it easier for you or others to review: 
https://github.com/apache/cassandra/pull/210/files

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
> Attachments: CASSANDRA-13396_ehubert_1.patch, 
> CASSANDRA-13396_ehubert_2.patch, CASSANDRA-13396_ehubert_3.patch
>
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-03-24 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CASSANDRA-13396:


GitHub user e-hubert opened a pull request:

https://github.com/apache/cassandra/pull/210

CASSANDRA-13396: 

Centralize logback specific implementation and load/instantiate it via 
reflection

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/e-hubert/cassandra CASSANDRA-13396

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cassandra/pull/210.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #210






> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
> Attachments: CASSANDRA-13396_ehubert_1.patch, 
> CASSANDRA-13396_ehubert_2.patch, CASSANDRA-13396_ehubert_3.patch
>
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-03-24 Thread Eric Hubert (JIRA)

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

Eric Hubert commented on CASSANDRA-13396:
-

[~jasobrown] thanks for your feedback, which helped me to adjust the logging 
implementation detection from using an slf4j implementation depended mechanism 
({{StaticLoggerBinder}}) instead just using what is available via its public 
API {{org.slf4j.LoggerFactory#getILoggerFactory()}} which is totally sufficient 
for this purpose (see updated patch [^CASSANDRA-13396_ehubert_3.patch]).

I now also tested some slf4j backend implemenations with different versions of 
slf4j:

+slf4j 1.7.12 - JUL:+
 WARNING: You are using Cassandra with an unsupported deployment. The intended 
logging implementation library logback is not used by slf4j. Detected slf4j 
logger factory: org.slf4j.*impl*.JDK14LoggerFactory. You will not be able to 
dynamically manage log levels via JMX and may have performance or other issues.

+slf4j 1.7.12 - Logback 1.1.3 or 1.2.3:+
 No warning - successful Cassandra startup

+slf4j 1.8.0-beta2 - JUL:+
 WARNING: You are using Cassandra with an unsupported deployment. The intended 
logging implementation library logback is not used by slf4j. Detected slf4j 
logger factory: org.slf4j.*jul*.JDK14LoggerFactory. You will not be able to 
dynamically manage log levels via JMX and may have performance or other issues.

+slf4j 1.8.0-beta2 - Logback 1.3.0-alpha4+

_logback depencendy upgrade to 1.3.0 required - slf4j upgrade to 1.8.x should 
only be done once logback 1.3.x release is availabe_
 No warning - successful Cassandra startup

I did not test whether the logback-implementation specific code (with my patch 
centralized in {{org.apache.cassandra.utils.logging.LogbackLoggingSupport}}) is 
still working properly after this library upgrade. I only tested implementation 
detection does not need to be adjusted when upgrading to the newer slf4j 
version.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
> Attachments: CASSANDRA-13396_ehubert_1.patch, 
> CASSANDRA-13396_ehubert_2.patch, CASSANDRA-13396_ehubert_3.patch
>
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-03-23 Thread Jason Brown (JIRA)

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

Jason Brown commented on CASSANDRA-13396:
-

[~ehubert] I can successfully apply your patch now. I moved the logback jars 
out of the way, added slf4j-jdk14-1.7.7.jar into lib, and was able to bring up 
cassandra without problem with the patch. Got this message as output:

{noformat}
WARNING: You are using Cassandra with an unsupported deployment. The intended 
logging implementation library logback is not used by slf4j. Detected slf4j 
binding: org.slf4j.impl.JDK14LoggerFactory. You will not be able to dynamically 
manage log levels via JMX and may have performance or other issues.
{noformat} 

Thus the code went down the {{else}} block.

Review will continue ...

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
> Attachments: CASSANDRA-13396_ehubert_1.patch, 
> CASSANDRA-13396_ehubert_2.patch
>
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-03-23 Thread Jason Brown (JIRA)

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

Jason Brown commented on CASSANDRA-13396:
-

hmm, yeah those aren't great options. I think we can stick with the 
{{StaticLoggerBinder}} while we're still on slf4j < 1.8, to keep it simple. 
Maybe we can include a note for the future for when we do upgrade slf4j 1.8. 
wdyt?

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
> Attachments: CASSANDRA-13396_ehubert_1.patch, 
> CASSANDRA-13396_ehubert_2.patch
>
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-03-23 Thread Eric Hubert (JIRA)

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

Eric Hubert commented on CASSANDRA-13396:
-

I'm willing to test this out, but I think for slf4j >=1.8 we may need something 
like the following untested litte utility method to do the job of determining 
the binding
{code}
private static SLF4JServiceProvider determineSlf4jProvider() 
{
ServiceLoader serviceLoader = 
ServiceLoader.load(SLF4JServiceProvider.class);
Iterator serviceIterator = 
serviceLoader.iterator();
if (serviceIterator.hasNext()) 
{
return serviceIterator.next();
} else {
return new NOPServiceProvider()
}
}
{code}
or via reflection make org.slf4j.LoggerFactory#getProvider() accessible and 
call it
or provde an own class in package org.slf4j and wrap this static message call 
to this package-scoped method.

Maybe this is all not necessary and one can directly work with public 
org.slf4j.LoggerFactory#getILoggerFactory() using the bound provider to return 
a implementation-specific factory. As said, I'll happily have a closer look at 
this. I'm pretty sure something which can be addressed rather easily. The 
latter might even be somehow possible to use for a compatible implementation 
although returned implementation classes are very likely completely different 
for those slf4j versions.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
> Attachments: CASSANDRA-13396_ehubert_1.patch, 
> CASSANDRA-13396_ehubert_2.patch
>
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-03-23 Thread Eric Hubert (JIRA)

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

Eric Hubert commented on CASSANDRA-13396:
-

Hi Jason! Sorry about the patch file. I now quickly recreated it from command 
line using git diff after pulling all updates from the 3.11 branch and attached 
it as  [^CASSANDRA-13396_ehubert_2.patch].
Regarding your question about alternatives to determine the logging 
implementation slf4j bound to when using slf4j >= 1.8 I do not think this will 
be much related to Jigsaw modularization (although I may be wrong). Looks like 
they make use of the long existing ServiceLoader JDK implementation (AFAIK 
since JDK6). I happily offer to investigate this. Other alternatives to simply 
do something similar by attempting to load specific implementation classes via 
reflection is by far not as elegant if you ask me.


> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
> Attachments: CASSANDRA-13396_ehubert_1.patch, 
> CASSANDRA-13396_ehubert_2.patch
>
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-03-23 Thread Jason Brown (JIRA)

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

Jason Brown commented on CASSANDRA-13396:
-

Looks like you are using {{StaticLoggerBinder}} to figure out which logging 
implementation to use. That seems 
[deprecated|https://www.slf4j.org/faq.html#changesInVersion18] as of slf4j v1.8 
(soon to be released), in lieu of some JIgsaw modularization. I have absolutely 
zero desire to investigate that modularization. What are the alternatives here?

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
> Attachments: CASSANDRA-13396_ehubert_1.patch
>
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-03-23 Thread Jason Brown (JIRA)

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

Jason Brown commented on CASSANDRA-13396:
-

[~ehubert] the attached 'patch' file completely fails to apply to 
cassandra-3.11. Can you either push up a git patch or diff file, or just push 
your branch up to your github repo and share the link?  Reading the code in the 
attachment now

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
> Attachments: CASSANDRA-13396_ehubert_1.patch
>
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-03-23 Thread Claude Warren (JIRA)

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

Claude Warren commented on CASSANDRA-13396:
---

Scanning through the solution it looks good to me.  However, I have not merged 
it or tried it.  I have no objections to applying it.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
> Attachments: CASSANDRA-13396_ehubert_1.patch
>
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-03-23 Thread Eric Hubert (JIRA)

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

Eric Hubert commented on CASSANDRA-13396:
-

Anyone with some feedback on my submitted patch? I may have some time tomorrow 
to incorporate feedback/make adjustments etc, but next week might become rather 
busy.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
> Attachments: CASSANDRA-13396_ehubert_1.patch
>
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-02-19 Thread Gus Heck (JIRA)

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

Gus Heck commented on CASSANDRA-13396:
--

Though my embedded usage is not only for unit test, my choice of Cassandra 
relates more to the fact that you are Apache licensed, pure java and clustered 
rather than performance concerns. When there's a viable alternative I'll worry 
about whether or not you're faster... in the mean time, I'm very happy to be 
responsible for (or take credit for) any performance variation from plugging in 
my preferred logging framework (log4j2). Please don't use performance worries 
as an excuse to not fix this. Generally +1 on Eric's summary also. I don't mind 
doing something extra to enable pluggable logging so that you can default to 
your supported config, so long as it doesn't impact the command line invocation 
of my project (i.e. requiring -D or -agentlib, etc).

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-02-14 Thread Claude Warren (JIRA)

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

Claude Warren commented on CASSANDRA-13396:
---

+1 for [~qb3rt] summary, it touches all the points I was going to make and then 
some.

 

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-02-14 Thread Jason Brown (JIRA)

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

Jason Brown commented on CASSANDRA-13396:
-

[~ehubert] Thank you. This use case summary was very helpful.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-02-14 Thread Eric Hubert (JIRA)

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

Eric Hubert commented on CASSANDRA-13396:
-

[~jasobrown], fair enough. From what I read/understood the majority of users 
(if not all, definitely including us) facing this issue, wanted to use 
Cassandra as an embedded server (mostly for integration testing purposes) 
utilizing class org.apache.cassandra.service.CassandraDaemon - so no production 
deployment of a standalone server or cluster.

While running alongside an application using slf4j with any slf4j supported 
backend != logback your are in trouble and no longer able to start the 
cassandra server, although logging/logging performance are none of your 
(primary) goals/concerns.

I doubt there are many users who want to configure a standalone single or 
multi-node Cassandra installation using a different logging backend to use this 
in production and have your support, but many users want to write automated 
integration/scenario tests of their own application interacting with Cassandra 
using an embedded Cassandra server in addition to plain unit tests using mocks 
without being forced to switch the logging backend chosen for their application 
for similar reasons you have. Therefore I see no conflict at all.

An implementation could even somehow enforce the differentation between 
embedded and standalone similar to "runManaged" to only allow/support other 
logging backends (skip special logging backend specific configuration) if 
CassandraDeamon is used/configured differently than from main() as done by a 
standalone server installation, this this is really a concern you want to see 
addressed.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-02-14 Thread Jason Brown (JIRA)

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

Jason Brown commented on CASSANDRA-13396:
-

[~ehubert] 3.11.2 is up for vote & release this week, so this patch will not be 
included in that release. Do you have any test cases you can offer here? Please 
note that allowing other logging implementation seems to be used seems in 
scope, but will *not*, in any way, be supported. I'll need to reread through 
all the commentary again to get the full scope of what people are really asking 
for, but I'm at least willing to get this to completion.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-02-14 Thread Eric Hubert (JIRA)

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

Eric Hubert commented on CASSANDRA-13396:
-

[~jasobrown], maybe you can have a glance on [my comment|#comment-16152569] as 
well. I have not started working on a patch, because I did not receive any 
feedback on my suggestion on a conceptual level. I did not want to waste time 
working on an implementation without knowing of a chance of inclusion. Because 
we faced some issues in production which are either fixed in 3.11.1 or will be 
fixed in 3.11.2 we really would like to update, but this still blocks us.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-02-14 Thread Jason Brown (JIRA)

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

Jason Brown commented on CASSANDRA-13396:
-

OK, looks like this has drifted for long enough. I'm gonna look at the patches 
and review for commit.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2018-02-14 Thread Claude Warren (JIRA)

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

Claude Warren commented on CASSANDRA-13396:
---

It is unclear to me whether or not the proposed patch has been/will be accepted 
into the code base.  What is the current thinking and if it is to be added when 
might that be?

I have hit this issue when trying to run Cassandra in a unit test situation 
where I am testing an implementation of an SPI and am unable to convert product 
to logback.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
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-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-10-17 Thread JIRA

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

Federico Fernández commented on CASSANDRA-13396:


I have the same problem while attempting to use an embedded Cassandra instance 
for integration tests in Scala projects. Sadly, I found another strange 
behavior in SBT that avoids me removing {{log4j-slf4j-impl}} from the classpath 
(if someone is interested [here is the 
ticket|https://github.com/sbt/sbt/issues/3645]).

I'm stuck in 3.9 version, so I'm looking forward to a solution on this.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-09-06 Thread Stefano Ortolani (JIRA)

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

Stefano Ortolani commented on CASSANDRA-13396:
--

I had the very same issue when using the {{EmbeddedCassandra}} from 
{{spark-cassandra-connector}}. Moved to {{logback}} fixes the issue. This was a 
bit annoying because I had to exclude all other sf4j implementations (there's 
no way afaik to force one implementation over another in case multiple ones are 
loaded). Anyway, anything but a ClassCastException is better option imho.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-09-04 Thread Eric Hubert (JIRA)

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

Eric Hubert commented on CASSANDRA-13396:
-

We faced the same underlying issue after upgrading from Cassandra 3.9 to 3.11.0 
when using Cassandra embedded for integration testing using JUnit. 
As our application uses a different logging backend and we did not want to 
switch it and provide appropriate redundant configuration for logback, we 
excluded logback dependencies and only provided our implementation to also 
avoid any warnings about duplicate bindings. This setup worked fine with 
Cassandra 3.9, but fails with Cassandra >= 3.10; the server does not startup, 
because of the missing classes. So in this case any patch working with 
instanceof checks still attempting to load those classes without specific 
try/catch would obviously also fail. 

In addition to SMAwareReconfigureOnChangeFilter in 
org.apache.cassandra.cql3.functions.ThreadAwareSecurityManager.install() using 
multiple logback internals (added with CASSANDRA-12535) I also found the change 
with CASSANDRA-12509 adding ch.qos.logback.core.hook.DelayingShutdownHook in 
StorageService#initServer problematic.
Would it be an alternative to handle all access to the underlying logging 
implementation via reflection? 
E.g. attempting to load logback classes and only if this does not fail, perform 
implementation specific actions via reflection (otherwise log a warning about 
missing logback presence, which can be ignored in integration test setups). We 
are mostly talking about one-time initialization, so the performance impact 
should be really negligible.
This solution would require users to properly exclude logback logging libs if 
they want to use other sf4j implementation bindings. Providing multiple logging 
implementations with sl4fj bindings anyway triggers a warning which should be 
handled.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-08-30 Thread Gus Heck (JIRA)

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

Gus Heck commented on CASSANDRA-13396:
--

Any one have a chance to look at my patch yet?

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-07-05 Thread Gus Heck (JIRA)

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

Gus Heck commented on CASSANDRA-13396:
--

FYI, Circle CI did pass. Any commentary or review would be appreciated. I won't 
be able to release without knowing what direction this issue is going.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-06-29 Thread Gus Heck (JIRA)

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

Gus Heck commented on CASSANDRA-13396:
--

After some IRC discussion, I've been encouraged to submit a patch. Here's an 
implementation of my #3 suggestion above: 

https://github.com/nsoft/cassandra/commit/382a44c238b6d4bd7e3d8cc7bbd6710b0a7c5274

Though Github's diff has done a fabulous job of obfuscating it, the patch is 
very simple all I did was add a constant, and two conditions that read the 
system property represented by the constant and prevent this security manager 
and its policies from getting installed via the install() method if the system 
property has been set. 

Circle CI here: https://circleci.com/gh/nsoft/cassandra/2 (still running as of 
this comment, but I expect it to pass) Installed a version with this patch in 
JesterJ and everything seems happy there.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-06-29 Thread Gus Heck (JIRA)

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

Gus Heck commented on CASSANDRA-13396:
--

And yes I might be interested in providing a patch for 3 if folks seem in 
favor... 1 is probably beyond my knowledge of Cassandra, but a version of 3 
dependent on a system property seems tractable.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-06-29 Thread Gus Heck (JIRA)

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

Gus Heck commented on CASSANDRA-13396:
--

Looking forward to the resolution of this issue in any of the following ways:

1) Don't load this security manager and policies if UDF's are configured to be 
disabled 
2) Handle other possible loggers conditionally (log4j2 being my case)
3) Provide an option to run with insecure UDF's ( by not installing this 
security manager). Not everyone is exposing UDF's to folks they don't trust. In 
some use cases it might be a feature to be able to read system properties etc.

Glancing at the discussion it sounds like this is heading towards a "break 
UDF's but continue" strategy, which will also work for me since I don't need 
UDF's but seems likely to trip folks.

My exact itch is documented here: https://github.com/nsoft/jesterj/issues/89

If option 1 or 3 were available, that would greatly simplify my life, because 
this security manager installs policies in a class initializer and these 
policies assume a codePath with a url scheme of "file" but in my case the 
scheme is "onejar"... which forced me into lots of gyrations to force an early 
load and then un-set your policies so that the rest of my code could have 
permissions.


> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-05-04 Thread Eugene Fedotov (JIRA)

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

Eugene Fedotov commented on CASSANDRA-13396:


I made the suggested changes.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-05-04 Thread Jeff Jirsa (JIRA)

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

Jeff Jirsa commented on CASSANDRA-13396:


[~eugenefedoto] - two quick notes

1) In all three versions of your patch, we can't 
[throw|https://github.com/eugenefedoto/cassandra/commit/5957dd84aaa239d62f40aa4bf5f3159bf7a300d7#diff-30a3dbf7d783cf329b5fb28a8b14332eR110]
 in {{ThreadAwareSecurityManager.java}} or we'll end up with the same problem 
we had before.

2) In your 
[StartupCheck|https://github.com/eugenefedoto/cassandra/commit/5957dd84aaa239d62f40aa4bf5f3159bf7a300d7#diff-a5df240149285ae528cdd3c41aa59360R419]
 , the second log line (on L419) isn't necessary.

[~snazy] - Eugene is a new contributor, I've talked him through how to 
contribute offline via email, and probably shaped his approach. Given that, do 
you want to review? 

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Eugene Fedotov
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-05-03 Thread Eugene Fedotov (JIRA)

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

Eugene Fedotov commented on CASSANDRA-13396:


This is my first ticket. [~jjirsa] helped me get started. Since it hasn't been 
updated in a while, I've taken the liberty of adapting [~appodictic]'s patch to 
match the consensus described in this ticket. GitHub links below:

https://github.com/eugenefedoto/cassandra/tree/13396-3.0
https://github.com/eugenefedoto/cassandra/tree/13396-3.11
https://github.com/eugenefedoto/cassandra/tree/13396-trunk

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-04 Thread Anton Passiouk (JIRA)

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

Anton Passiouk commented on CASSANDRA-13396:


Happy to see that everybody seem to converge to a reasonable solution ;-)

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-04 Thread Robert Stupp (JIRA)

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

Robert Stupp commented on CASSANDRA-13396:
--

[~jjirsa], can live with that - i.e. logging an explicit warning using a new 
{{StartupCheck}} that also mentions that UDFs/UDAs might be broken, if a logger 
that's not logback is used.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-03 Thread Jeff Jirsa (JIRA)

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

Jeff Jirsa commented on CASSANDRA-13396:


Let's focus on the problems and solutions. 

There were missing and incomplete comments around a broken piece of code that 
fixed a very-hard-to-troubleshoot bug. We've fixed the missing and incomplete 
comments, we still need to fix the broken code, and we can do so without 
ignoring the past very-hard-to-troubleshoot-bug. 

We have a patch that fixes the ClassCastException, which should be reviewed. We 
have a (non-binding) -1 on that review. One of the thing that 3 committers 
(including myself) seem to have suggested is at least adding a warning. 
[~snazy] is that agreeable to you?




> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-03 Thread Edward Capriolo (JIRA)

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

Edward Capriolo commented on CASSANDRA-13396:
-

{quote}
The project has always allowed ninja fixing minor (especially non-code) things. 
Comments here are a net positive. There's no reason to fight about adding 
comments after the fact.
{quote}
No. It is important. The -1 er is using his technical insight as a 
justification for his -1. The incomplete comment shows how much time he really 
spent working on the given code. 

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-03 Thread Edward Capriolo (JIRA)

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

Edward Capriolo commented on CASSANDRA-13396:
-

{quote}
Logging a warning for users isn't the same as throwing an exception. It's not 
like we're talking about a system property here that requires explicit operator 
involvement to even run with another logger, it's logging a single warning 
message that bugs may happen and we haven't actively tested other configs. I 
don't think that's unreasonable, and it's not "get off my lawn". This isn't an 
unreasonable compromise - we don't crash, but we give operators a chance to 
know that they're running an untested config.
{quote}

The "get off my lawn" is related to this entire process. It had not even 
checked who added the code originally. I did not quite understand why it got a 
-1 so fast. -1s are "rare" and kill the proposal dead.

https://www.apache.org/foundation/voting.html
For code-modification votes, +1 votes are in favour of the proposal, but -1 
votes are vetos and kill the proposal dead until all vetoers withdraw their -1 
votes.

The original reasons given were "This change will cause weird and hard to catch 
follow-up issues (see the discussions and issues around that piece code), which 
cannot be caught by neither unit nor dtests because it's an unsupported setup. 
We do not support embedding C* in a container (i.e. a JVM not controlled "by 
us")"

Lets break this down:
1) "This change will cause weird and hard to catch follow-up issues"
Hard to quantify and the statement itself is a hypothesis. Can "WILL CAUSE" be 
proven? No.

2) which cannot be caught by neither unit nor dtests because it's an 
unsupported setup
Even though we are SURE issues that "WILL HAPPEN" they "CANNOT BE CAUGHT" . 
Amazing how that logic works.

3) We do not support embedding C* in a container
Untrue. How does one run the CDC daemon? Not a written rule anyway.

If adding a single if statement to block of code and getting 3 completely 
ludicrous objections from the person who happened to write said code is not 
"get off my lawn" then I don't know what is.



> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-03 Thread Edward Capriolo (JIRA)

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

Edward Capriolo commented on CASSANDRA-13396:
-

A true cassandra special. A patch with a dubious ClassCastException and a half 
finished comment passed a review, and now the next person who touches the code 
needs to "sufficiently test" to earn the "officially supported" designation 
only granted to committers that make statements like "We do not support 
embedding C* in a container " and ninja fix stuff.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-03 Thread Jeff Jirsa (JIRA)

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

Jeff Jirsa commented on CASSANDRA-13396:


{quote}
How does meritocracy work when we spend globs of time striking down patches, 
while simultaneously 'ninja fixing' stuff? Go make a patch and get it reviewed 
like everyone else.
{quote}

The project has always allowed ninja fixing minor (especially non-code) things. 
Comments here are a net positive. There's no reason to fight about adding 
comments after the fact. 

{quote}
This directly translates to "No one can edit the buggy code I introduced 
because THEY might make bugs."
{quote}

Logging a warning for users isn't the same as throwing an exception. It's not 
like we're talking about a system property here that requires explicit operator 
involvement to even run with another logger, it's logging a single warning 
message that bugs may happen and we haven't actively tested other configs. I 
don't think that's unreasonable, and it's not "get off my lawn". This isn't an 
unreasonable compromise - we don't crash, but we give operators a chance to 
know that they're running an untested config. 

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-03 Thread Edward Capriolo (JIRA)

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

Edward Capriolo commented on CASSANDRA-13396:
-

1) ninja fix 
How does meritocracy work when we spend globs of time striking down patches, 
while simultaneously 'ninja fixing' stuff? Go make a patch and get it reviewed 
like everyone else. 

2) Agreed.

3) What a backwards argument. The "critical past bugs" sited in CASSANDRA-12535 
where caused by the person attempting to drop the -1 on this patch. This 
directly translates to "No one can edit the buggy code I introduced because 
THEY might make bugs." 
https://github.com/apache/cassandra/commit/8f15eb1b717548816a9ee8314269d4d1e2ee7084


 

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-03 Thread Jeff Jirsa (JIRA)

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

Jeff Jirsa commented on CASSANDRA-13396:


There are really three issues:

1) The existing comments were clearly inadequate, and that's been ninja'd into 
place. +1 on that. 

2) Throwing a ClassCastException is objectively wrong. The patch fixes that, 
and should be committed. 

3) As a side effect, the patch allows other loggers, almost all of which are 
untested. The assertion from [~snazy] is that doing so is dangerous, 
specifically citing past bugs where other loggers which may do IO and cause 
sandbox access problems. That's a valid concern, and worth a logged warning in 
my opinion.

Like [~spo...@gmail.com] (and I think [~blerer]) suggest above, I think Ed's 
patch+warning makes sense to me.

If someone wants to "officially" support another logger in order to remove the 
warning, then I think the burden is on them to open a proper ticket and 
demonstrate that it's sufficiently tested.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-03 Thread Benjamin Lerer (JIRA)

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

Benjamin Lerer commented on CASSANDRA-13396:


We do not run any test with another logging library and I do not think that we 
plan to do it. Which, for me means that we do not officially support any other 
library. Warning the user about it seems normal to me. As a user I would prefer 
to know. 

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-03 Thread Edward Capriolo (JIRA)

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

Edward Capriolo commented on CASSANDRA-13396:
-

{quote}
We can as well state something like "Using any logging library not shipped with 
Cassandra is NOT supported. Use at your own risk.". If that is the consensus of 
this discussion.
{quote}

-1 The point of this Jira is not to create some new policy to avoid committing 
things you do not want to commit. 

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-03 Thread Edward Capriolo (JIRA)

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

Edward Capriolo commented on CASSANDRA-13396:
-

-1 on ninja fixes. 

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-03 Thread Robert Stupp (JIRA)

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

Robert Stupp commented on CASSANDRA-13396:
--

Ninja'd comments for this code.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-03 Thread Sylvain Lebresne (JIRA)

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

Sylvain Lebresne commented on CASSANDRA-13396:
--

bq. This change will cause weird and hard to catch follow-up issues (see the 
discussions and issues around that piece code)

So why isn't there *any* comment around the code the patch updates to explain 
why this exists in the first place and why it's so important that it's here?



> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-03 Thread Robert Stupp (JIRA)

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

Robert Stupp commented on CASSANDRA-13396:
--

bq. I did not suggest to that we should support different loggers

Ah, ok, got it wrong then. Adding a page about how to configure logback (and 
point to the logback docs) sounds good.


> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-03 Thread Stefan Podkowinski (JIRA)

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

Stefan Podkowinski commented on CASSANDRA-13396:


I did not suggest to that we should support different loggers, just because we 
document Cassandra logging:

bq. add a page here describing **if** and **how** logging can be customized and 
with a list of all relevant config files

We can as well state something like "Using any logging library not shipped with 
Cassandra is NOT supported. Use at your own risk.". If that is the consensus of 
this discussion.


> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-03 Thread Anton Passiouk (JIRA)

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

Anton Passiouk commented on CASSANDRA-13396:


All I was asking for is avoid crashing, and I am concious that I am not in a 
standard use-case.
I am perfectly fine with a big warning in the log saying that using something 
other than logback is at my own risk + the the doc that states that nothing but 
logback is officially supported which makes you not responsible for any bug. 

Of course, as Benjamin says, there is still the risk of you investigating an 
issue without knowing that a different logger is used, but if you are really 
paranoid you can also imaging people configuring their logback in a very 
inefficient or wrong way and create crappy issues while being perfectly "legal".

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-03 Thread Robert Stupp (JIRA)

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

Robert Stupp commented on CASSANDRA-13396:
--

bq. add a page here describing if and how logging can be customized and with a 
list of all relevant config files
bq. it also make sense to allow people to use another logging library

Don't get me wrong, but documenting something that is not supported and has 
never seen CI does not sound good. It would give people just skimming that page 
the impression that other logging backends _are_ actually supported. Before we 
document that, we should have full CI for those backends in place - i.e. all 
utests and dtests for each backend - or _at least_ document something like "the 
combination of C* version X.Y and \[logger backend version Z\] was CI-tested on 
X/Y/Z using this configuration". If we allow people to use other logging 
backends, there must be a way to tell them "version X of Y should be good, 
because it has been CI tested".
Anyway, supporting another logging backend still sounds like a new feature to 
me.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-03 Thread Stefan Podkowinski (JIRA)

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

Stefan Podkowinski commented on CASSANDRA-13396:


I'm leaning to go with the proposed patch with a warning message as suggested 
by Benjamin. But in any case, this needs to be documented. I'd propose that any 
patch would also have to add a page 
[here|http://cassandra.apache.org/doc/latest/configuration/index.html] 
describing if and how logging can be customized and with a list of all relevant 
config files.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-03 Thread Benjamin Lerer (JIRA)

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

Benjamin Lerer commented on CASSANDRA-13396:


The problem that I see with this ticket is the following: "Once we agree to 
allow people to use the loggers that they wish we somehow become responsible 
for the bugs that can show up".
As [~snazy] point it up, some of those issues might be non trivial to figure 
out. Simply because when someone will open a bug he might not mention that he 
changed the logging library and we might end up wasting a lot of time to 
reproduce the problem.
Due to that I tend to be in favor of Robert approach (years spend debugging 
crappy issues have made me somehow paranoiac).

Now, I think it also make sense to allow people to use another logging library 
as long as they know that we do not fully support it.
My proposal woud be to log a warning at startup saying that the logging library 
that they use is not supported.


> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-04-01 Thread Edward Capriolo (JIRA)

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

Edward Capriolo commented on CASSANDRA-13396:
-

Rigorous defenses are in no short supply around here.

I'm sure someone next will argue that this was intended to 
{code}
/**
 * The purpose of this class is
 */
{code}
because the purpose code is s self documenting it describes itself. Want to 
fix it? No -1 the comment is perfect and heavily tested!

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-03-31 Thread Jeff Jirsa (JIRA)

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

Jeff Jirsa commented on CASSANDRA-13396:


Changes back to bug, because even if the belief is that other loggers shouldn't 
be encouraged, we surely can do better than throwing a cast exception

Given that log4j2 is likely faster than logback and has been suggested as far 
back as 2013 CASSANDRA-5883 it seems like artificially forcing logback is a 
position that would need to be more rigorously defended - I'm +1 on this change 
conceptually (but this is not a review).


> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-03-31 Thread Jeff Jirsa (JIRA)

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

Jeff Jirsa commented on CASSANDRA-13396:


Seems pretty reasonable to me

Certainly logback isn't the only performant slf4j logger available.


> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Wish
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-03-31 Thread Edward Capriolo (JIRA)

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

Edward Capriolo commented on CASSANDRA-13396:
-

{quote}
people would complain that C* is slow but don't realize it's in this case 
because of that change. 
{quote}

First, its an obvious bug. The entire point of plug-gable logging 
implementations is so that you can replace them. 
 
Second, the only person being actually affected would be Anton, because 
effective no one else is changing logging implementations so no one else is 
hitting that block.

For Anton (and anyone else) they would have to manually change the files in the 
lib folder and the configuration. So nothing is 'hidden' to him. He/They make a 
chance and they can report if there actually is a performance issue.  

Because they can "scratch their itch" of running Cassandra in a container they 
might find new problems or they might make new opportunities. For example, they 
may find that some other implementation is actually better or faster. 

If anyone was actually trying to convince be that this bug is intentional, 
(which is almost laughable). The proper practice would 

{code}
if (!logger instanceof XYZ){
  throw new IllegalArgumentException("we only support XYZ for reasons ABC");
}
{code}

But instead we are attempting to pretend the opposite that the bug is 
intentional and the correct thing to do is throw a ClassCastException. 


> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Wish
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-03-31 Thread Robert Stupp (JIRA)

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

Robert Stupp commented on CASSANDRA-13396:
--

bq. just an application (a plain Java main()) that instantiates a 
CassandraDaemon

If that's just for testing, why not just use logback?

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Wish
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-03-31 Thread Robert Stupp (JIRA)

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

Robert Stupp commented on CASSANDRA-13396:
--

[~apassiou], C* is meant to run as a standalone application using the 
dependencies that are in the {{lib/}} folder. Any change to those dependencies 
and the way C* is started, is basically up to the person who changes the 
dependencies. We can of course talk about using a different logger 
implementation instead of logback and discuss the pros and cons. But that is 
IMO way beyond an {{instanceof}} check.

I'm generally concerned about stability and hidden performance issues and a 
change to a (logger implementation) library, which is nearly everywhere in the 
hot code path. Mean, we use logback now for a really long time - but we have no 
test nor production experience running something else. One example: one thing 
that may happen is some hidden contention in that logger library causing weird 
outliers - people would complain that C* is slow but don't realize it's in this 
case because of that change. That's one reason why we are so careful with 
library updates especially in minor versions. All I'm saying is, that getting 
_all_ the consequences of such a change is a lot of work.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Wish
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-03-31 Thread Anton Passiouk (JIRA)

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

Anton Passiouk commented on CASSANDRA-13396:


Edward, I appreciate that you wanted to help but please stop hijacking my 
question, or at least try to be constructive...

I don't know what you or Robert have understood when I said "container" but in 
my case it's just an application (a plain Java main()) that instantiates a 
CassandraDaemon and sometimes other stuff. But one could also do it in a "unit" 
test (which is not really a unit bt more an automatic integration test).

@Robert, I can understand your concerns about not-tested behavior of other 
bindings, then shouldn't it be stated in the docs that other bindings are not 
supported, and a more explicit error thrown?
But I don't think the performance impact is a good argument because logback and 
slf4j are configurable by themselves with configuration files it can have a 
very strong impact on the performance (log patterns, where you log to) even if 
one uses logback.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Wish
>Reporter: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-03-31 Thread Edward Capriolo (JIRA)

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

Edward Capriolo commented on CASSANDRA-13396:
-

So strange:

No such statement about supporting containers seems to exist.
[edward@jackintosh cassandra]$ find . -type f | xargs grep containers
./src/java/org/apache/cassandra/db/ColumnFamilyStore.java: * thread safety. 
 All we do is wipe the sstable containers clean, while leaving the actual
./src/java/org/apache/cassandra/index/sasi/disk/OnDiskIndexBuilder.java:
private final List containers = new ArrayList<>();
./src/java/org/apache/cassandra/index/sasi/disk/OnDiskIndexBuilder.java:
containers.add(keys);
./src/java/org/apache/cassandra/index/sasi/disk/OnDiskIndexBuilder.java:
if (containers.size() > 0)
./src/java/org/apache/cassandra/index/sasi/disk/OnDiskIndexBuilder.java:
for (TokenTreeBuilder tokens : containers)
./src/java/org/apache/cassandra/index/sasi/disk/OnDiskIndexBuilder.java:
containers.clear();
./conf/jvm.options:# This helps prevent soft faults in containers and makes
Binary file 
./build/classes/main/org/apache/cassandra/index/sasi/disk/OnDiskIndexBuilder$MutableDataBlock.class
 matches
[edward@jackintosh cassandra]$ find . -type f | xargs grep Containers


> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Wish
>Reporter: Edward Capriolo
>Assignee: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-03-31 Thread Edward Capriolo (JIRA)

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

Edward Capriolo commented on CASSANDRA-13396:
-

{quote}
Reason is stuff like CASSANDRA-12535 and CASSANDRA-13173, which are hard to 
figure out and even harder to ensure its functionality in unit tests. 
{quote}

So because someone made bugs in the past, which are "hard to figure out" and 
you can not "foresee the consequences" . Is this back to the future part 4?

Please verify your claim of "not supporting containers" before finding other 
reasons to not like the idea of fixing an obvious problem.




> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Wish
>Reporter: Edward Capriolo
>Assignee: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-03-31 Thread Robert Stupp (JIRA)

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

Robert Stupp commented on CASSANDRA-13396:
--

[~apassiou], right, it's true for any other slf4j binding. 
Reason is stuff like CASSANDRA-12535 and CASSANDRA-13173, which are hard to 
figure out and even harder to ensure its functionality in unit tests. That's 
why I'm against such a change. We cannot foresee the consequences, because we 
have not tested other bindings. Even further, the performance implications of 
using another logger implementation are not determined. Believe me, it's not 
blindly shooting something down - I had a hard time to fix this issue and do 
not like to see it happen again. BTW: It's late in the afternoon over here, so 
it's not a too quick reaction early in the morning.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Wish
>Reporter: Edward Capriolo
>Assignee: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-03-31 Thread Edward Capriolo (JIRA)

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

Edward Capriolo commented on CASSANDRA-13396:
-

"Open discussions" in cassandra always start with the concept of "its not my 
idea so -1" which is the exact opposite of "scratch an itch". 

"We do not support embedding C* in a container"

Really? who says? where is it said? Who is "we"?

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Wish
>Reporter: Edward Capriolo
>Assignee: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-03-31 Thread Edward Capriolo (JIRA)

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

Edward Capriolo commented on CASSANDRA-13396:
-

So funny that i litteraly wake up, go out of my way to fix an issue for 
someone, and even though everyone is Cassandra is too busy to reply to emails 
and help people they are Johnny on the spot to jump on Jira and -1 code.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Wish
>Reporter: Edward Capriolo
>Assignee: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-03-31 Thread Edward Capriolo (JIRA)

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

Edward Capriolo commented on CASSANDRA-13396:
-

LOL I just posted this tweet yesterday.

https://twitter.com/edwardcapriolo/status/847484593041100800

What comedy cassandra is. No one even bothers to say "how can we work 
together?" or "how can we wrote the code to make all users happy" They just 
instantly drop a -1 on things. lol

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Wish
>Reporter: Edward Capriolo
>Assignee: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-03-31 Thread Edward Capriolo (JIRA)

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

Edward Capriolo commented on CASSANDRA-13396:
-

How come everyone in Cassandra's first reaction is to -1 everything? 

The entire model of apache is "I have an itch to scratch". This person WANTS to 
run Cassandra in a container it is an "itch". The position should not just 
instantly be "BUT DON'T SCRATCH THAT ITCH". 



> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Wish
>Reporter: Edward Capriolo
>Assignee: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-03-31 Thread Anton Passiouk (JIRA)

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

Anton Passiouk commented on CASSANDRA-13396:


OK but what if the cassandra daemon is not embedded anywhere but is simply 
running with a classpath containing several slf4j bindings?
It will still crash, right?

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Wish
>Reporter: Edward Capriolo
>Assignee: Edward Capriolo
>Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager

2017-03-31 Thread Edward Capriolo (JIRA)

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

Edward Capriolo commented on CASSANDRA-13396:
-

https://github.com/apache/cassandra/compare/trunk...edwardcapriolo:CASSANDRA-13396?expand=1

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> 
>
> Key: CASSANDRA-13396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Edward Capriolo
>Assignee: Edward Capriolo
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)