[ https://issues.apache.org/jira/browse/CASSANDRA-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13792142#comment-13792142 ]
Vadim Chekan commented on CASSANDRA-5894: ----------------------------------------- One more note while we are on it. If listen_address is empty in yaml, I get NPE. Here is the fix: {code} diff --git a/src/java/org/apache/cassandra/config/DatabaseDescriptor.java b/src/java/org/apache/cassandra/config/DatabaseDescriptor.java index 12ba7dd..fd89df0 100644 --- a/src/java/org/apache/cassandra/config/DatabaseDescriptor.java +++ b/src/java/org/apache/cassandra/config/DatabaseDescriptor.java @@ -276,7 +276,7 @@ public class DatabaseDescriptor throw new ConfigurationException("Unknown listen_address '" + conf.listen_address + "'"); } } - if (conf.listen_address.equals("0.0.0.0")) + if (conf.listen_address != null && conf.listen_address.equals("0.0.0.0")) throw new ConfigurationException("listen_address cannot be 0.0.0.0!"); try {code} > CQL-aware SSTableWriter > ----------------------- > > Key: CASSANDRA-5894 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5894 > Project: Cassandra > Issue Type: New Feature > Components: Tools > Reporter: Jonathan Ellis > Assignee: Sylvain Lebresne > Priority: Minor > Fix For: 2.0.2 > > Attachments: 5894.txt > > > SSTableSimple[Un]SortedWriter requires defining raw comparators and inserting > raw data cells. We should create a CQL-aware alternative. -- This message was sent by Atlassian JIRA (v6.1#6144)