cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CASSANDRA-8864) NPE in CQLSSTableWriter when bulk loading data from Hadoop
Date Thu, 26 Feb 2015 16:27:04 GMT

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

Benjamin Lerer reassigned CASSANDRA-8864:
-----------------------------------------

    Assignee: Benjamin Lerer

> NPE in CQLSSTableWriter when bulk loading data from Hadoop
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-8864
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8864
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jimmy MÃ¥rdell
>            Assignee: Benjamin Lerer
>
> CASSANDRA-8280 introduced a bug in CQLSSTableWriter when used by CqlBulkRecordWriter.
It assumes fields in the DatabaseDescriptor is set when they are not, causing NPE.
> Relevant stack trace below.
> Error: java.lang.NullPointerException at org.apache.cassandra.config.DatabaseDescriptor.createAllDirectories(DatabaseDescriptor.java:605)
>   at org.apache.cassandra.db.Keyspace.<clinit>(Keyspace.java:73)
>   at org.apache.cassandra.cql3.statements.UpdateStatement.addUpdateForKey(UpdateStatement.java:109)
>   at org.apache.cassandra.io.sstable.CQLSSTableWriter.rawAddRow(CQLSSTableWriter.java:218)
>   at com.spotify.hdfs2cass.cassandra.cql.CrunchCqlBulkRecordWriter.write(CrunchCqlBulkRecordWriter.java:114)
>   at com.spotify.hdfs2cass.cassandra.cql.CrunchCqlBulkRecordWriter.write(CrunchCqlBulkRecordWriter.java:51)
>   at org.apache.crunch.io.CrunchOutputs.write(CrunchOutputs.java:133)
>   at org.apache.crunch.impl.mr.emit.MultipleOutputEmitter.emit(MultipleOutputEmitter.java:41)
>   at org.apache.crunch.MapFn.process(MapFn.java:34)
>   



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

Mime
View raw message