From commits-return-2440-archive-asf-public=cust-asf.ponee.io@bookkeeper.apache.org Tue Jan 23 06:45:33 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id A087B180621 for ; Tue, 23 Jan 2018 06:45:33 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 90B31160C4C; Tue, 23 Jan 2018 05:45:33 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 86FD2160C4B for ; Tue, 23 Jan 2018 06:45:32 +0100 (CET) Received: (qmail 73688 invoked by uid 500); 23 Jan 2018 05:45:31 -0000 Mailing-List: contact commits-help@bookkeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bookkeeper-dev@bookkeeper.apache.org Delivered-To: mailing list commits@bookkeeper.apache.org Received: (qmail 73679 invoked by uid 99); 23 Jan 2018 05:45:31 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2018 05:45:31 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 2D26D820C3; Tue, 23 Jan 2018 05:45:30 +0000 (UTC) Date: Tue, 23 Jan 2018 05:45:30 +0000 To: "commits@bookkeeper.apache.org" Subject: [bookkeeper] branch asf-site updated: Updated site at revision 1d7a489 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <151668633007.5690.7577436061531455152@gitbox.apache.org> From: git-site-role@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: bookkeeper X-Git-Refname: refs/heads/asf-site X-Git-Reftype: branch X-Git-Oldrev: 1259dfe2e34336733f915eeecd832e6ecb178019 X-Git-Newrev: cb8c03b8b9f52fb8634030ccb68714b65e36b2e1 X-Git-Rev: cb8c03b8b9f52fb8634030ccb68714b65e36b2e1 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/bookkeeper.git The following commit(s) were added to refs/heads/asf-site by this push: new cb8c03b Updated site at revision 1d7a489 cb8c03b is described below commit cb8c03b8b9f52fb8634030ccb68714b65e36b2e1 Author: jenkins AuthorDate: Tue Jan 23 05:45:28 2018 +0000 Updated site at revision 1d7a489 --- content/docs/latest/api/javadoc/index-all.html | 5 +++ .../apache/bookkeeper/client/BookKeeperAdmin.html | 52 ++++++++++++++++------ .../conf/class-use/ServerConfiguration.html | 7 +++ 3 files changed, 51 insertions(+), 13 deletions(-) diff --git a/content/docs/latest/api/javadoc/index-all.html b/content/docs/latest/api/javadoc/index-all.html index f93ff9e..ee91a26 100644 --- a/content/docs/latest/api/javadoc/index-all.html +++ b/content/docs/latest/api/javadoc/index-all.html @@ -3304,6 +3304,11 @@
Index of a specified bookie index.
+
initBookie(ServerConfiguration) - Static method in class org.apache.bookkeeper.client.BookKeeperAdmin
+
+
Initializes bookie, by making sure that the journalDir, ledgerDirs and + indexDirs are empty and there is no registered Bookie with this BookieId.
+
initialBlockingBookieRead() - Method in class org.apache.bookkeeper.client.BookieWatcher
Blocks until bookies are read from zookeeper, used in the BookKeeper constructor.
diff --git a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/BookKeeperAdmin.html b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/BookKeeperAdmin.html index 1634f3b..93c0613 100644 --- a/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/BookKeeperAdmin.html +++ b/content/docs/latest/api/javadoc/org/apache/bookkeeper/client/BookKeeperAdmin.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":9,"i10":9,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":9,"i10":9,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":9,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -323,25 +323,32 @@ implements +static boolean +initBookie(ServerConfiguration conf) +
Initializes bookie, by making sure that the journalDir, ledgerDirs and + indexDirs are empty and there is no registered Bookie with this BookieId.
+ + + Iterable<Long> listLedgers()
This method returns an iterable object for the list of ledger identifiers of the ledgers currently available.
- + LedgerHandle openLedger(long lId)
Open a ledger as an administrator.
- + LedgerHandle openLedgerNoRecovery(long lId)
Open a ledger as an administrator without recovering the ledger.
- + Iterable<LedgerEntry> readEntries(long ledgerId, long firstEntry, @@ -349,57 +356,57 @@ implements Read entries from a ledger synchronously. - + void recoverBookieData(org.apache.bookkeeper.net.BookieSocketAddress bookieSrc)
Synchronous method to rebuild and recover the ledger fragments data that was stored on the source bookie.
- + void recoverBookieData(long lid, Set<org.apache.bookkeeper.net.BookieSocketAddress> bookiesSrc, boolean dryrun, boolean skipOpenLedgers)  - + void recoverBookieData(Set<org.apache.bookkeeper.net.BookieSocketAddress> bookiesSrc)  - + void recoverBookieData(Set<org.apache.bookkeeper.net.BookieSocketAddress> bookiesSrc, boolean dryrun, boolean skipOpenLedgers)  - + void replicateLedgerFragment(LedgerHandle lh, LedgerFragment ledgerFragment)
Replicate the Ledger fragment to target Bookie passed.
- + void setLostBookieRecoveryDelay(int lostBookieRecoveryDelay)
Setter for LostBookieRecoveryDelay value (in seconds) in Zookeeper.
- + void triggerAudit()
Trigger AuditTask by resetting lostBookieRecoveryDelay to its current value.
- + void watchReadOnlyBookiesChanged(org.apache.bookkeeper.discover.RegistrationClient.RegistrationListener listener)
Notify when the available list of read only bookies changes.
- + void watchWritableBookiesChanged(org.apache.bookkeeper.discover.RegistrationClient.RegistrationListener listener)
Notify when the available list of bookies changes.
@@ -971,6 +978,25 @@ implements + + +
    +
  • +

    initBookie

    +
    public static boolean initBookie(ServerConfiguration conf)
    +                          throws Exception
    +
    Initializes bookie, by making sure that the journalDir, ledgerDirs and + indexDirs are empty and there is no registered Bookie with this BookieId.
    +
    +
    Parameters:
    +
    conf -
    +
    Returns:
    +
    Throws:
    +
    Exception
    +
    +
  • +
diff --git a/content/docs/latest/api/javadoc/org/apache/bookkeeper/conf/class-use/ServerConfiguration.html b/content/docs/latest/api/javadoc/org/apache/bookkeeper/conf/class-use/ServerConfiguration.html index 63516ec..24fc355 100644 --- a/content/docs/latest/api/javadoc/org/apache/bookkeeper/conf/class-use/ServerConfiguration.html +++ b/content/docs/latest/api/javadoc/org/apache/bookkeeper/conf/class-use/ServerConfiguration.html @@ -118,6 +118,13 @@
Format the BookKeeper metadata in zookeeper.
+ +static boolean +BookKeeperAdmin.initBookie(ServerConfiguration conf) +
Initializes bookie, by making sure that the journalDir, ledgerDirs and + indexDirs are empty and there is no registered Bookie with this BookieId.
+ + -- To stop receiving notification emails like this one, please contact git-site-role@apache.org.