[ https://issues.apache.org/jira/browse/GORA-497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16100346#comment-16100346
]
ASF GitHub Bot commented on GORA-497:
-------------------------------------
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/110#discussion_r129362202
--- Diff: gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/store/CassandraMappingBuilder.java
---
@@ -135,13 +137,16 @@ public CassandraMapping readMapping(String filename) throws IOException
{
}
break;
}
- map.setKeySpace(keyspace);
+ cassandraMapping.setKeySpace(keyspace);
break;
}
}
}
+ else {
+ throw new RuntimeException("KeySpace couldn't be able to found in the cassandra
mapping. Please configure the cassandra mapping correctly.");
--- End diff --
Please change the following statement ```KeySpace couldn't be able to found in the cassandra
mapping. Please configure the cassandra mapping correctly.``` to ```Couldn't find KeySpace
in the Cassandra mapping. Please configure the cassandra mapping correctly.```
> Migrate CassandraThrift to CQL
> -------------------------------
>
> Key: GORA-497
> URL: https://issues.apache.org/jira/browse/GORA-497
> Project: Apache Gora
> Issue Type: Improvement
> Components: gora-cassandra
> Reporter: Madhawa Gunasekara
> Assignee: Madhawa Gunasekara
> Labels: gsoc2017
> Fix For: 0.8
>
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
|