cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Petrov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-11912) Remove DatabaseDescriptor import from AbstractType
Date Mon, 30 May 2016 14:18:13 GMT

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

Alex Petrov commented on CASSANDRA-11912:
-----------------------------------------

You're right, initial patch was only adding an API method with a size parameter, I've added
it back for now. 

Although as far as I can tell, it's not released yet, so we can change it to use a system
property instead of the yaml one.

> Remove DatabaseDescriptor import from AbstractType
> --------------------------------------------------
>
>                 Key: CASSANDRA-11912
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11912
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Configuration, Core
>            Reporter: Jeremiah Jordan
>            Assignee: Alex Petrov
>             Fix For: 3.0.x, 3.x
>
>
> CASSANDRA-9530 added an import of DatabaseDescriptor in AbstractType, this import breaks
Thrift based java code which uses AbstractType based classes to deserialize types.  The max
size value should be give to AbstractType in some other way that doesn't require importing
DatabaseDescriptor.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message