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.```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---