[
https://issues.apache.org/jira/browse/HADOOP-2157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HADOOP-2157:
--------------------------
Attachment: iterable.patch
HADOOP-2157 Make Scanners implement Iterable.
M src/contrib/hbase/src/test/org/apache/hadoop/hbase/TestScanner2.java
(testStopRow, testIterator): Added tests.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HScannerInterface.java
Have this interface extend Iterable (and Closeable).
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/SelectCommand.java
Clear results (otherwise subsequent rows pick up the former values content).
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HTable.java
(obtainScanner): added overrides that take a stopRow.
(ClientScanner): Added an implementation of iterator method.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HAbstractScanner.java
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HRegion.java
Added an iterator (Throws unsupported exception. No use for iterators on
serverside).
> [hbase] Make Scanners implement Iterable
> ----------------------------------------
>
> Key: HADOOP-2157
> URL: https://issues.apache.org/jira/browse/HADOOP-2157
> Project: Hadoop
> Issue Type: New Feature
> Components: contrib/hbase
> Reporter: stack
> Priority: Minor
> Attachments: iterable.patch
>
>
> Make hbase Scanners implement Iterable.
> Also add to HTable a method for getting a scanner that has a start and end
> row (Formerly the won't fix HADOOP-1439).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.