hbase-commits mailing list archives

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

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

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

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/ScannerResultGenerator.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/ScannerResultGenerator.java?rev=1533977&r1=1533976&r2=1533977&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/ScannerResultGenerator.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/ScannerResultGenerator.java
Sun Oct 20 20:44:34 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