You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sam Tunnicliffe (JIRA)" <ji...@apache.org> on 2015/09/14 09:59:46 UTC

[jira] [Assigned] (CASSANDRA-10305) NullPointerException on database migration/load

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

Sam Tunnicliffe reassigned CASSANDRA-10305:
-------------------------------------------

    Assignee: Sam Tunnicliffe

> NullPointerException on database migration/load
> -----------------------------------------------
>
>                 Key: CASSANDRA-10305
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10305
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: CentOS 7.1/x64
>            Reporter: Vovodroid
>            Assignee: Sam Tunnicliffe
>            Priority: Critical
>         Attachments: crash.log, data.zip, startup.log
>
>
> I run some tests in C* 2.2.1 with script that launches cqlsh and feeds commands to its stdin and gets results from stdout. Several cqlsh instances are involved in parallel.
> Test includes creating and dropping the same keyspace several times.
> I need to add timeouts between feeding command and reading results, otherwise tests fail. If this timeout too small Cassandra sometimes fails with NullPointerException (see crash.log). 
> But what is worst, that after that Cassandra can not be started at all and fail with the same error (see startup.log).
> What happens is that inside of *row.getString("type")* called from
> {code}
> LegacySchemaTables.createColumnFromColumnRow
> ..........................
> ColumnDefinition.Kind kind = deserializeKind(row.getString("type"));{code}
> *data.get(column)* returns null for table *excelsiour_amd__amd__.users*.
> Data causing this issue is in data.zip (no commit logs due to their size, but I can give them if necessary).
> Just open zip in Cassandra folder (or where data is located in specific environment) and start C*. (set Password



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