gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject svn commit: r1408272 - in /gora/trunk: CHANGES.txt gora-core/src/main/java/org/apache/gora/memory/store/MemStore.java gora-core/src/main/java/org/apache/gora/util/IOUtils.java
Date Mon, 12 Nov 2012 13:03:38 GMT
Author: lewismc
Date: Mon Nov 12 13:03:37 2012
New Revision: 1408272

URL: http://svn.apache.org/viewvc?rev=1408272&view=rev
Log:
GORA-172 java.lang.ClassNotFoundException: org.apache.gora.memory.store.MemStore.MemQuery

Modified:
    gora/trunk/CHANGES.txt
    gora/trunk/gora-core/src/main/java/org/apache/gora/memory/store/MemStore.java
    gora/trunk/gora-core/src/main/java/org/apache/gora/util/IOUtils.java

Modified: gora/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/gora/trunk/CHANGES.txt?rev=1408272&r1=1408271&r2=1408272&view=diff
==============================================================================
--- gora/trunk/CHANGES.txt (original)
+++ gora/trunk/CHANGES.txt Mon Nov 12 13:03:37 2012
@@ -6,6 +6,8 @@ Gora Change Log
 
 trunk (current development)
 
+* GORA-172 java.lang.ClassNotFoundException: org.apache.gora.memory.store.MemStore.MemQuery
(yumeng via lewismc)
+
 * GORA-103 Datastore for gora-dynamodb (rmarroquin via lewismc)
 
 * GORA-160 Gora Fails to Import Into Recent Versions of Eclipse (Ed Kohlwey via lewismc)

Modified: gora/trunk/gora-core/src/main/java/org/apache/gora/memory/store/MemStore.java
URL: http://svn.apache.org/viewvc/gora/trunk/gora-core/src/main/java/org/apache/gora/memory/store/MemStore.java?rev=1408272&r1=1408271&r2=1408272&view=diff
==============================================================================
--- gora/trunk/gora-core/src/main/java/org/apache/gora/memory/store/MemStore.java (original)
+++ gora/trunk/gora-core/src/main/java/org/apache/gora/memory/store/MemStore.java Mon Nov
12 13:03:37 2012
@@ -26,7 +26,6 @@ import java.util.List;
 import java.util.NavigableMap;
 import java.util.TreeMap;
 
-import org.apache.gora.persistency.Persistent;
 import org.apache.gora.persistency.impl.PersistentBase;
 import org.apache.gora.persistency.impl.StateManagerImpl;
 import org.apache.gora.query.PartitionQuery;

Modified: gora/trunk/gora-core/src/main/java/org/apache/gora/util/IOUtils.java
URL: http://svn.apache.org/viewvc/gora/trunk/gora-core/src/main/java/org/apache/gora/util/IOUtils.java?rev=1408272&r1=1408271&r2=1408272&view=diff
==============================================================================
--- gora/trunk/gora-core/src/main/java/org/apache/gora/util/IOUtils.java (original)
+++ gora/trunk/gora-core/src/main/java/org/apache/gora/util/IOUtils.java Mon Nov 12 13:03:37
2012
@@ -146,7 +146,7 @@ public class IOUtils {
   @SuppressWarnings("unchecked")
   public static<T> void serialize(Configuration conf, DataOutput out
       , T obj) throws IOException {
-    Text.writeString(out, obj.getClass().getCanonicalName());
+    Text.writeString(out, obj.getClass().getName());
     serialize(conf, out, obj, (Class<T>)obj.getClass());
   }
 
@@ -460,7 +460,7 @@ public class IOUtils {
   public static<T> void storeToConf(T obj, Configuration conf, String dataKey)
     throws IOException {
     String classKey = dataKey + "._class";
-    conf.set(classKey, obj.getClass().getCanonicalName());
+    conf.set(classKey, obj.getClass().getName());
     DefaultStringifier.store(conf, obj, dataKey);
   }
 
@@ -525,4 +525,4 @@ public class IOUtils {
     return getAsBytes(buffers);
   }
 
-}
\ No newline at end of file
+}



Mime
View raw message