commit | 8559126a3ec00f2b1912d40d37b8bf8a000b0c4b | [log] [tgz] |
---|---|---|
author | Anup Ghatage <ghatageanup@gmail.com> | Tue Oct 29 05:50:02 2019 -0700 |
committer | Jia Zhai <zhaijia@apache.org> | Tue Oct 29 20:50:02 2019 +0800 |
tree | 55c0a8fecfeea32c52d30fb0bc8329854f29c1ea | |
parent | 029e8e0e02d8e384e7d08ca548b593368574cf36 [diff] |
Issue #2145: Make ledgerDirs in Cookie consistent across generating a… …nd setting Descriptions of the changes in this PR: ### Motivation In PR #1794 we brought in a way to generate a cookie from command line. However during generation, we have to also encode the ledger dirs by default. ### Changes Added encoding of ledger dir paths while setting the ledger dirs in a generated cookie in `GenerateCookieCommand.java`. Tweaked existing test to include more than one ledger path for test coverage. Master Issue: #2145 Reviewers: Jia Zhai <zhaijia@apache.org>, Sijie Guo <None>, Enrico Olivelli <eolivelli@gmail.com> This closes #2146 from Ghatage/community/2145, closes #2145 and squashes the following commits: 2de21f854 [Anup Ghatage] Fix checkstyle 4695675ff [Anup Ghatage] Revert to handling encoding like in generateCookie(), Add another test 90d02136a [Anup Ghatage] Change GenerateCookieCommandTest's to encodeDirPaths while creating cookies d8da5153a [Anup Ghatage] Issue #2145: Make ledgerDirs in Cookie consistent across generating and setting
Apache BookKeeper is a scalable, fault tolerant and low latency storage service optimized for append-only workloads.
It is suitable for being used in following scenarios:
You can also read Turning Ledgers into Logs to learn how to turn ledgers into continuous log streams. If you are looking for a high level log stream API, you can checkout DistributedLog.
For filing bugs, suggesting improvements, or requesting new features, help us out by opening a Github issue or opening an Apache jira.
Subscribe or mail the user@bookkeeper.apache.org list - Ask questions, find answers, and also help other users.
Subscribe or mail the dev@bookkeeper.apache.org list - Join development discussions, propose new ideas and connect with contributors.
Join us on Slack - This is the most immediate way to connect with Apache BookKeeper committers and contributors.
We feel that a welcoming open community is important and welcome contributions.
See Developer Setup to get your local environment setup.
Take a look at our open issues: JIRA Issues Github Issues.
Review our coding style and follow our pull requests to learn about our conventions.
Make your changes according to our contribution guide.