Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix logging message template in RocksStore #615

Closed
dbw9580 opened this issue Dec 3, 2021 · 1 comment · Fixed by Alluxio/alluxio#14621
Closed

Fix logging message template in RocksStore #615

dbw9580 opened this issue Dec 3, 2021 · 1 comment · Fixed by Alluxio/alluxio#14621

Comments

@dbw9580
Copy link

dbw9580 commented Dec 3, 2021

https://github.com/Alluxio/alluxio/blob/99942ae847738c8ac4a2bace2228e4c117b5314c/core/server/master/src/main/java/alluxio/master/metastore/rocks/RocksStore.java#L105
https://github.com/Alluxio/alluxio/blob/99942ae847738c8ac4a2bace2228e4c117b5314c/core/server/master/src/main/java/alluxio/master/metastore/rocks/RocksStore.java#L221

The logging message template should use {} as a placeholder instead of %s.

Change

LOG.info("Closed store at %s", mDbPath);

to

LOG.info("Closed store at {}", mDbPath);
@dbw9580
Copy link
Author

dbw9580 commented Dec 3, 2021

@LuQQiu Please add labels for this task. It's new contributor level.

alluxio-bot pushed a commit to Alluxio/alluxio that referenced this issue Dec 8, 2021
### What changes are proposed in this pull request?

Fix logging message template in RocksStore
Fixes Alluxio/Community#615

pr-link: #14621
change-id: cid-f1429eb8f00d3c3f1b67e556f40e08f1f98ebc70
@LuQQiu LuQQiu closed this as completed Dec 8, 2021
yyongycy pushed a commit to yyongycy/alluxio that referenced this issue Jan 6, 2022
### What changes are proposed in this pull request?

Fix logging message template in RocksStore
Fixes Alluxio/Community#615

pr-link: Alluxio#14621
change-id: cid-f1429eb8f00d3c3f1b67e556f40e08f1f98ebc70
Xenorith pushed a commit to Alluxio/alluxio that referenced this issue Feb 7, 2022
### What changes are proposed in this pull request?

Fix logging message template in RocksStore
Fixes Alluxio/Community#615

pr-link: #14621
change-id: cid-f1429eb8f00d3c3f1b67e556f40e08f1f98ebc70
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants