[
https://issues.apache.org/jira/browse/BOOKKEEPER-894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197362#comment-15197362
]
Hudson commented on BOOKKEEPER-894:
-----------------------------------
FAILURE: Integrated in bookkeeper-master #1316 (See
[https://builds.apache.org/job/bookkeeper-master/1316/])
BOOKKEEPER-894: add command to read ledger entries form shell (sijie: rev
a13d75d7eae29f1ce42dbfe5c6b4878a822fdf91)
* bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BookieShell.java
* bookkeeper-server/src/main/java/org/apache/bookkeeper/client/LedgerHandle.java
*
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeperAdmin.java
> Read ledger entries from the bookie shell
> -----------------------------------------
>
> Key: BOOKKEEPER-894
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-894
> Project: Bookkeeper
> Issue Type: Improvement
> Components: bookkeeper-server
> Affects Versions: 4.3.2
> Reporter: Siddharth Sunil Boobna
> Assignee: Siddharth Sunil Boobna
> Priority: Minor
> Fix For: 4.4.0
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Bookie Shell should have a tool to read ledger entries from the bookkeeper
> cluster with optional arguments of startEntryId and endEntryId.
> Solution:
> We implement readEntries() in BookKeeperAdmin and return an Iterable. While
> iterating through it, we fetch individual entries instead of fetching all
> entries at once. Also, if the lastEntryId is not specified, we read entries
> till we get a NoSuchEntryException
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)