incubator-gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject svn commit: r1203185 - in /incubator/gora/trunk: CHANGES.txt gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
Date Thu, 17 Nov 2011 13:41:23 GMT
Author: lewismc
Date: Thu Nov 17 13:41:22 2011
New Revision: 1203185

URL: http://svn.apache.org/viewvc?rev=1203185&view=rev
Log:
commit to address GORA-57, update to changes.txt and thanks to Ferdy for the patch.

Modified:
    incubator/gora/trunk/CHANGES.txt
    incubator/gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java

Modified: incubator/gora/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/gora/trunk/CHANGES.txt?rev=1203185&r1=1203184&r2=1203185&view=diff
==============================================================================
--- incubator/gora/trunk/CHANGES.txt (original)
+++ incubator/gora/trunk/CHANGES.txt Thu Nov 17 13:41:22 2011
@@ -2,6 +2,8 @@ Gora Change Log
 
 Trunk (unreleased changes):
 
+* GORA-57 HBaseStore does not correctly read family definitions (Ferdy via lewismc)
+
 * GORA-56 HBaseStore is not thread safe. (Ferdy via lewismc)
 
 * GORA-48. HBaseStore initialization of table without configuration in constructor will throw
Exception (Ferdy via lewismc)

Modified: incubator/gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
URL: http://svn.apache.org/viewvc/incubator/gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java?rev=1203185&r1=1203184&r2=1203185&view=diff
==============================================================================
--- incubator/gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
(original)
+++ incubator/gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
Thu Nov 17 13:41:22 2011
@@ -530,7 +530,7 @@ implements Configurable {
         String tableName = tableElement.getAttributeValue("name");
         mappingBuilder.addTable(tableName);
 
-        List<Element> fieldElements = tableElement.getChildren("field");
+        List<Element> fieldElements = tableElement.getChildren("family");
         for(Element fieldElement : fieldElements) {
           String familyName  = fieldElement.getAttributeValue("name");
           String compression = fieldElement.getAttributeValue("compression");



Mime
View raw message