hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject svn commit: r1533978 - /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/ScannerResultGenerator.java
Date Sun, 20 Oct 2013 20:44:49 GMT
Author: larsh
Date: Sun Oct 20 20:44:49 2013
New Revision: 1533978

URL: http://svn.apache.org/r1533978
Log:
HBase Rest Server - DELETE scanner operation is a no-op (Aditya Kishore)

Modified:
    hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/ScannerResultGenerator.java

Modified: hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/ScannerResultGenerator.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/ScannerResultGenerator.java?rev=1533978&r1=1533977&r2=1533978&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/ScannerResultGenerator.java
(original)
+++ hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/ScannerResultGenerator.java
Sun Oct 20 20:44:49 2013
@@ -109,6 +109,10 @@ public class ScannerResultGenerator exte
   }
 
   public void close() {
+    if (scanner != null) {
+      scanner.close();
+      scanner = null;
+    }
   }
 
   public boolean hasNext() {



Mime
View raw message