[
https://issues.apache.org/jira/browse/CASSANDRA-6072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13775627#comment-13775627
]
Aleksey Yeschenko commented on CASSANDRA-6072:
----------------------------------------------
[~alexliu68] 5800 migrates the key_alias to key_aliases. The issue here is that
there might not be a key_alias in the first place, so there is nothing to
migrate.
Basically, the code should handle tables without a key alias, and it doesn't.
5800 wasn't covering that.
> NPE in Pig CassandraStorage
> ---------------------------
>
> Key: CASSANDRA-6072
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6072
> Project: Cassandra
> Issue Type: Bug
> Components: Hadoop
> Reporter: Jeremiah Jordan
> Assignee: Alex Liu
> Attachments: 6072-1.2-branch.txt
>
>
> key_alias can be null for tables created from thrift.
> Which causes an NPE here:
> https://github.com/apache/cassandra/blob/cassandra-1.2/src/java/org/apache/cassandra/hadoop/pig/AbstractCassandraStorage.java#L633
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira