[
https://issues.apache.org/jira/browse/BOOKKEEPER-894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15186569#comment-15186569
]
ASF GitHub Bot commented on BOOKKEEPER-894:
-------------------------------------------
GitHub user sboobna opened a pull request:
https://github.com/apache/bookkeeper/pull/24
BOOKKEEPER-894: add command to read ledger entries form shell
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sboobna/bookkeeper BOOKKEEPER-894
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/bookkeeper/pull/24.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #24
----
commit a13c1717a9326717ee246f3d9dd612ef80d9850a
Author: Siddharth Boobna <[email protected]>
Date: 2016-02-08T06:49:27Z
BOOKKEEPER-894: add command to read ledger entries form shell
Change-Id: I9265daf314ca702835ca419f38ff08a03f98b5a0
----
> 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
> 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)