Skip to content

Migrate command bookieformat#1975

Merged
jiazhai merged 4 commits intoapache:masterfrom
zymap:command-bookieformat
Mar 11, 2019
Merged

Migrate command bookieformat#1975
jiazhai merged 4 commits intoapache:masterfrom
zymap:command-bookieformat

Conversation

@zymap
Copy link
Member

@zymap zymap commented Mar 5, 2019

Descriptions of the changes in this PR:

Migrate command bookieformat.

Motivation

#1974

Changes

  • Add command bookieformat to bkctl
  • Replace command in shell

@zymap zymap force-pushed the command-bookieformat branch from d42ff42 to eb78fe7 Compare March 5, 2019 12:07
} catch (BookieException.CookieNotFoundException nne) {
LOG.warn("No cookie to remove : ", nne);
} catch (BookieException e) {
e.printStackTrace();
Copy link
Member

Choose a reason for hiding this comment

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

this will shallow the exception. I would suggest throw new UncheckedExecutionException(be.getMessage(), be);

return null;
});
} catch (MetadataException e) {
e.printStackTrace();
Copy link
Member

Choose a reason for hiding this comment

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

can you throw exception?

} catch (MetadataException e) {
e.printStackTrace();
} catch (ExecutionException e) {
e.printStackTrace();
Copy link
Member

Choose a reason for hiding this comment

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

throw exception?

@zymap
Copy link
Member Author

zymap commented Mar 8, 2019

@sijie ok . I will fix it. Thank you for your review. :)

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