Skip to content

Create ledgersRootPath recursively for 'bin/bookkeeper shell metaformat'#2237

Merged
sijie merged 3 commits intoapache:masterfrom
SunDapeng1:branch-2236
Jan 22, 2020
Merged

Create ledgersRootPath recursively for 'bin/bookkeeper shell metaformat'#2237
sijie merged 3 commits intoapache:masterfrom
SunDapeng1:branch-2236

Conversation

@SunDapeng1
Copy link
Copy Markdown
Contributor

Create ledgersRootPath recursively for bin/bookkeeper shell metaformat. The existence of any parent znodes is not an error condition

Copy link
Copy Markdown
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome.

Can you please add a test?

In fact we had this feature but it was lost, there was no regression tests

@eolivelli
Copy link
Copy Markdown
Contributor

We will cherry pick to 4.10 release branch

@SunDapeng1
Copy link
Copy Markdown
Contributor Author

Sorry for the late reply,added

Copy link
Copy Markdown
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good

@eolivelli
Copy link
Copy Markdown
Contributor

retest this please

@eolivelli
Copy link
Copy Markdown
Contributor

@jiazhai @fpj PTAL

This error has also been hit on Pravega by @RaulGracia

@eolivelli
Copy link
Copy Markdown
Contributor

@SunDapeng1 you have a javac warning to fix please:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project bookkeeper-server: Compilation failure
[ERROR] /Users/travis/build/apache/bookkeeper/bookkeeper-server/src/test/java/org/apache/bookkeeper/discover/TestZkRegistrationManager.java: warnings found and -Werror specified

@sijie sijie added this to the 4.11.0 milestone Jan 22, 2020
@sijie sijie merged commit 004cfe3 into apache:master Jan 22, 2020
Ghatage pushed a commit to Ghatage/bookkeeper that referenced this pull request Jun 19, 2020
Create ledgersRootPath recursively for `bin/bookkeeper shell metaformat`. The existence of any parent znodes is not an error condition


Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Sijie Guo <None>

This closes apache#2237 from SunDapeng1/branch-2236
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants