You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Yingchun Lai (Code Review)" <ge...@cloudera.org> on 2024/07/10 16:55:51 UTC
[kudu-CR] KUDU-3371 Parameterize some options of RocksDB
Yingchun Lai has uploaded this change for review. ( http://gerrit.cloudera.org:8080/21570
Change subject: KUDU-3371 Parameterize some options of RocksDB
......................................................................
KUDU-3371 Parameterize some options of RocksDB
There are many options in RocksDB for performance
and capacity tuning. This patch exposes some
necessary options for Kudu use case.
Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
---
M src/kudu/cfile/block_cache.cc
M src/kudu/fs/dir_manager.cc
2 files changed, 88 insertions(+), 17 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/70/21570/1
--
To view, visit http://gerrit.cloudera.org:8080/21570
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Gerrit-Change-Number: 21570
Gerrit-PatchSet: 1
Gerrit-Owner: Yingchun Lai <la...@apache.org>
[kudu-CR] KUDU-3371 Parameterize some options of RocksDB
Posted by "Abhishek Chennaka (Code Review)" <ge...@cloudera.org>.
Abhishek Chennaka has posted comments on this change. ( http://gerrit.cloudera.org:8080/21570 )
Change subject: KUDU-3371 Parameterize some options of RocksDB
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit http://gerrit.cloudera.org:8080/21570
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Gerrit-Change-Number: 21570
Gerrit-PatchSet: 1
Gerrit-Owner: Yingchun Lai <la...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 10 Jul 2024 18:15:21 +0000
Gerrit-HasComments: No
[kudu-CR] KUDU-3371 Parameterize some options of RocksDB
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21570 )
Change subject: KUDU-3371 Parameterize some options of RocksDB
......................................................................
Patch Set 3:
Build Started http://jenkins.kudu.apache.org/job/pre_commit/306/
--
To view, visit http://gerrit.cloudera.org:8080/21570
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Gerrit-Change-Number: 21570
Gerrit-PatchSet: 3
Gerrit-Owner: Yingchun Lai <la...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yingchun Lai <la...@apache.org>
Gerrit-Comment-Date: Wed, 17 Jul 2024 03:04:11 +0000
Gerrit-HasComments: No
[kudu-CR] KUDU-3371 Parameterize some options of RocksDB
Posted by "Yingchun Lai (Code Review)" <ge...@cloudera.org>.
Yingchun Lai has posted comments on this change. ( http://gerrit.cloudera.org:8080/21570 )
Change subject: KUDU-3371 Parameterize some options of RocksDB
......................................................................
Patch Set 4: Verified+1
Remove the un-related failed tests.
--
To view, visit http://gerrit.cloudera.org:8080/21570
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Gerrit-Change-Number: 21570
Gerrit-PatchSet: 4
Gerrit-Owner: Yingchun Lai <la...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yingchun Lai <la...@apache.org>
Gerrit-Comment-Date: Thu, 01 Aug 2024 02:31:42 +0000
Gerrit-HasComments: No
[kudu-CR] KUDU-3371 Parameterize some options of RocksDB
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/21570 )
Change subject: KUDU-3371 Parameterize some options of RocksDB
......................................................................
KUDU-3371 Parameterize some options of RocksDB
There are many options in RocksDB for performance
and capacity tuning. This patch exposes some
options for Kudu use case.
Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Reviewed-on: http://gerrit.cloudera.org:8080/21570
Tested-by: Yingchun Lai <la...@apache.org>
Reviewed-by: Alexey Serbin <al...@apache.org>
---
M src/kudu/cfile/block_cache.cc
M src/kudu/fs/dir_manager.cc
2 files changed, 113 insertions(+), 16 deletions(-)
Approvals:
Yingchun Lai: Verified
Alexey Serbin: Looks good to me, approved
--
To view, visit http://gerrit.cloudera.org:8080/21570
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Gerrit-Change-Number: 21570
Gerrit-PatchSet: 5
Gerrit-Owner: Yingchun Lai <la...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yingchun Lai <la...@apache.org>
[kudu-CR] KUDU-3371 Parameterize some options of RocksDB
Posted by "Yingchun Lai (Code Review)" <ge...@cloudera.org>.
Yingchun Lai has removed a vote on this change.
Change subject: KUDU-3371 Parameterize some options of RocksDB
......................................................................
Removed Verified-1 by Kudu Jenkins (120)
--
To view, visit http://gerrit.cloudera.org:8080/21570
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: deleteVote
Gerrit-Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Gerrit-Change-Number: 21570
Gerrit-PatchSet: 4
Gerrit-Owner: Yingchun Lai <la...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yingchun Lai <la...@apache.org>
[kudu-CR] KUDU-3371 Parameterize some options of RocksDB
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/21570 )
Change subject: KUDU-3371 Parameterize some options of RocksDB
......................................................................
Patch Set 1:
(26 comments)
http://gerrit.cloudera.org:8080/#/c/21570/1//COMMIT_MSG
Commit Message:
PS1:
I guess this patch should be rebased on top of https://gerrit.cloudera.org/#/c/21560/ (or vice versa) and the newly introduced flags be put under corresponding ifdefs, otherwise it will be necessary to add one more patch in addition to these already existing ones.
http://gerrit.cloudera.org:8080/#/c/21570/1//COMMIT_MSG@10
PS1, Line 10: some
: necessary options
Just curious: how did you find those are 'necessary' ones among many?
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/cfile/block_cache.cc
File src/kudu/cfile/block_cache.cc:
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/cfile/block_cache.cc@119
PS1, Line 119: ($0 MB vs. $1 MB).
Substitution parameters are missing -- this might crash.
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/cfile/block_cache.cc@120
PS1, Line 120: performance problems
I'm curious: what sort of performance issues might be there in such a case and why?
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/cfile/block_cache.cc@123
PS1, Line 123: return false
If it's just a warning (at least it seems so due to LOG(WARNING) above), this should return 'true'. Otherwise, change LOG(WARNING) to LOG(ERROR).
BTW, why this should be an error, not just a warning about a mis-configuration or a typo?
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc
File src/kudu/fs/dir_manager.cc:
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@76
PS1, Line 76: more details
for details
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@76
PS1, Line 76: Average bits
Average number of bits
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@79
PS1, Line 79: TAG_FLAG(log_container_rdb_bits_per_key, experimental);
Shouldn't all these new flags be tagged as 'experimental'?
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@82
PS1, Line 82: uint64
Would uint32 suffice here?
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@83
PS1, Line 83: MB
MiB?
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@87
PS1, Line 87: uint64
Would uint32 suffice here?
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@88
PS1, Line 88: concurrent shared background jobs
concurrent background jobs
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@89
PS1, Line 89: between
shared between
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@92
PS1, Line 92: DEFINE_uint64
Would uint32 suffice here?
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@107
PS1, Line 107: Amount
The amount
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@107
PS1, Line 107: the
nit: drop 'the'
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@113
PS1, Line 113: will be
are
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@114
PS1, Line 114: dirs
dir
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@114
PS1, Line 114: non empty
nit: 'not empty' or 'non-empty'
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@120
PS1, Line 120: Specify the maximal size
Maximum size
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@121
PS1, Line 121: it
specified
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@125
PS1, Line 125: Maximal
Maximum number of ...
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@125
PS1, Line 125: to be kept
to keep
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@129
PS1, Line 129: limit
What are the units of the limit?
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@133
PS1, Line 133: DEFINE_int64
Would int32 suffice here?
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@135
PS1, Line 135: number
the number
--
To view, visit http://gerrit.cloudera.org:8080/21570
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Gerrit-Change-Number: 21570
Gerrit-PatchSet: 1
Gerrit-Owner: Yingchun Lai <la...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Fri, 12 Jul 2024 00:52:13 +0000
Gerrit-HasComments: Yes
[kudu-CR] KUDU-3371 Parameterize some options of RocksDB
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/21570 )
Change subject: KUDU-3371 Parameterize some options of RocksDB
......................................................................
Patch Set 4: Code-Review+2
(1 comment)
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/cfile/block_cache.cc
File src/kudu/cfile/block_cache.cc:
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/cfile/block_cache.cc@120
PS1, Line 120: ock_cache_capacity_m
> Typically, the data size is much larger than metadata size, the data size n
Yep, that makes sense to me. Thanks for the explanation!
--
To view, visit http://gerrit.cloudera.org:8080/21570
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Gerrit-Change-Number: 21570
Gerrit-PatchSet: 4
Gerrit-Owner: Yingchun Lai <la...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yingchun Lai <la...@apache.org>
Gerrit-Comment-Date: Sun, 04 Aug 2024 18:34:04 +0000
Gerrit-HasComments: Yes
[kudu-CR] KUDU-3371 Parameterize some options of RocksDB
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21570 )
Change subject: KUDU-3371 Parameterize some options of RocksDB
......................................................................
Patch Set 1:
Build Started http://jenkins.kudu.apache.org/job/pre_commit/291/
--
To view, visit http://gerrit.cloudera.org:8080/21570
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Gerrit-Change-Number: 21570
Gerrit-PatchSet: 1
Gerrit-Owner: Yingchun Lai <la...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 10 Jul 2024 16:55:57 +0000
Gerrit-HasComments: No
[kudu-CR] KUDU-3371 Parameterize some options of RocksDB
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21570 )
Change subject: KUDU-3371 Parameterize some options of RocksDB
......................................................................
Patch Set 2: Verified-1
Build Failed
http://jenkins.kudu.apache.org/job/pre_commit/302/ : FAILURE
--
To view, visit http://gerrit.cloudera.org:8080/21570
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Gerrit-Change-Number: 21570
Gerrit-PatchSet: 2
Gerrit-Owner: Yingchun Lai <la...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yingchun Lai <la...@apache.org>
Gerrit-Comment-Date: Sun, 14 Jul 2024 04:51:22 +0000
Gerrit-HasComments: No
[kudu-CR] KUDU-3371 Parameterize some options of RocksDB
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21570 )
Change subject: KUDU-3371 Parameterize some options of RocksDB
......................................................................
Patch Set 1: Verified-1
Build Failed
http://jenkins.kudu.apache.org/job/pre_commit/291/ : FAILURE
--
To view, visit http://gerrit.cloudera.org:8080/21570
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Gerrit-Change-Number: 21570
Gerrit-PatchSet: 1
Gerrit-Owner: Yingchun Lai <la...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 10 Jul 2024 19:07:45 +0000
Gerrit-HasComments: No
[kudu-CR] KUDU-3371 Parameterize some options of RocksDB
Posted by "Yingchun Lai (Code Review)" <ge...@cloudera.org>.
Hello Alexey Serbin, Kudu Jenkins, Abhishek Chennaka,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/21570
to look at the new patch set (#2).
Change subject: KUDU-3371 Parameterize some options of RocksDB
......................................................................
KUDU-3371 Parameterize some options of RocksDB
There are many options in RocksDB for performance
and capacity tuning. This patch exposes some
options for Kudu use case.
Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
---
M src/kudu/cfile/block_cache.cc
M src/kudu/fs/dir_manager.cc
2 files changed, 102 insertions(+), 17 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/70/21570/2
--
To view, visit http://gerrit.cloudera.org:8080/21570
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Gerrit-Change-Number: 21570
Gerrit-PatchSet: 2
Gerrit-Owner: Yingchun Lai <la...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
[kudu-CR] KUDU-3371 Parameterize some options of RocksDB
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21570 )
Change subject: KUDU-3371 Parameterize some options of RocksDB
......................................................................
Patch Set 4:
Build Started http://jenkins.kudu.apache.org/job/pre_commit/363/
--
To view, visit http://gerrit.cloudera.org:8080/21570
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Gerrit-Change-Number: 21570
Gerrit-PatchSet: 4
Gerrit-Owner: Yingchun Lai <la...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yingchun Lai <la...@apache.org>
Gerrit-Comment-Date: Wed, 31 Jul 2024 15:48:43 +0000
Gerrit-HasComments: No
[kudu-CR] KUDU-3371 Parameterize some options of RocksDB
Posted by "Yingchun Lai (Code Review)" <ge...@cloudera.org>.
Yingchun Lai has posted comments on this change. ( http://gerrit.cloudera.org:8080/21570 )
Change subject: KUDU-3371 Parameterize some options of RocksDB
......................................................................
Patch Set 2:
(26 comments)
http://gerrit.cloudera.org:8080/#/c/21570/1//COMMIT_MSG
Commit Message:
PS1:
> I guess this patch should be rebased on top of https://gerrit.cloudera.org/
Yes, let's merge that one https://gerrit.cloudera.org/#/c/21560/ at first.
http://gerrit.cloudera.org:8080/#/c/21570/1//COMMIT_MSG@10
PS1, Line 10: some
: options for Kudu
> Just curious: how did you find those are 'necessary' ones among many?
It's not absolutely, we may remove or add some options in the future.
I removed "necessary" word.
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/cfile/block_cache.cc
File src/kudu/cfile/block_cache.cc:
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/cfile/block_cache.cc@119
PS1, Line 119: ($0 MB vs. $1 MB).
> Substitution parameters are missing -- this might crash.
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/cfile/block_cache.cc@120
PS1, Line 120: performance problems
> I'm curious: what sort of performance issues might be there in such a case
Typically, the data size is much larger than metadata size, the data size needs more cache than metadata. If the configuration of metadata is larger than that of data, the memory for metadata is considered to be a bit of waste.
So it's encouraged to set --block_cache_capacity_mb larger than --log_container_rdb_block_cache_capacity_mb.
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/cfile/block_cache.cc@123
PS1, Line 123:
> If it's just a warning (at least it seems so due to LOG(WARNING) above), th
Just a typo, it's a warning and should return true.
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc
File src/kudu/fs/dir_manager.cc:
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@76
PS1, Line 76: m filter, fo
> for details
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@76
PS1, Line 76: Average numb
> Average number of bits
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@79
PS1, Line 79: TAG_FLAG(log_container_rdb_bits_per_key, advanced);
> Shouldn't all these new flags be tagged as 'experimental'?
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@82
PS1, Line 82: uint32
> Would uint32 suffice here?
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@83
PS1, Line 83: Mi
> MiB?
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@87
PS1, Line 87:
> Would uint32 suffice here?
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@88
PS1, Line 88: ackground_jobs, 8,
> concurrent background jobs
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@89
PS1, Line 89: The max
> shared between
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@92
PS1, Line 92: TAG_FLAG(log_
> Would uint32 suffice here?
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@107
PS1, Line 107: b_m
> nit: drop 'the'
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@107
PS1, Line 107: ntaine
> The amount
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@113
PS1, Line 113:
> are
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@114
PS1, Line 114:
> nit: 'not empty' or 'non-empty'
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@114
PS1, Line 114: rime
> dir
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@120
PS1, Line 120: be used as the log file
> Maximum size
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@121
PS1, Line 121: ck
> specified
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@125
PS1, Line 125: ize, 8 <<
> to keep
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@125
PS1, Line 125: og_cont
> Maximum number of ...
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@129
PS1, Line 129:
> What are the units of the limit?
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@133
PS1, Line 133:
> Would int32 suffice here?
Done
http://gerrit.cloudera.org:8080/#/c/21570/1/src/kudu/fs/dir_manager.cc@135
PS1, Line 135:
> the number
Done
--
To view, visit http://gerrit.cloudera.org:8080/21570
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Gerrit-Change-Number: 21570
Gerrit-PatchSet: 2
Gerrit-Owner: Yingchun Lai <la...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yingchun Lai <la...@apache.org>
Gerrit-Comment-Date: Sun, 14 Jul 2024 03:49:28 +0000
Gerrit-HasComments: Yes
[kudu-CR] KUDU-3371 Parameterize some options of RocksDB
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21570 )
Change subject: KUDU-3371 Parameterize some options of RocksDB
......................................................................
Patch Set 2:
Build Started http://jenkins.kudu.apache.org/job/pre_commit/302/
--
To view, visit http://gerrit.cloudera.org:8080/21570
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Gerrit-Change-Number: 21570
Gerrit-PatchSet: 2
Gerrit-Owner: Yingchun Lai <la...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Sun, 14 Jul 2024 03:48:42 +0000
Gerrit-HasComments: No
[kudu-CR] KUDU-3371 Parameterize some options of RocksDB
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21570 )
Change subject: KUDU-3371 Parameterize some options of RocksDB
......................................................................
Patch Set 4: Verified-1
Build Failed
http://jenkins.kudu.apache.org/job/pre_commit/363/ : FAILURE
--
To view, visit http://gerrit.cloudera.org:8080/21570
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Gerrit-Change-Number: 21570
Gerrit-PatchSet: 4
Gerrit-Owner: Yingchun Lai <la...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yingchun Lai <la...@apache.org>
Gerrit-Comment-Date: Wed, 31 Jul 2024 16:56:07 +0000
Gerrit-HasComments: No
[kudu-CR] KUDU-3371 Parameterize some options of RocksDB
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21570 )
Change subject: KUDU-3371 Parameterize some options of RocksDB
......................................................................
Patch Set 3: Verified-1
Build Failed
http://jenkins.kudu.apache.org/job/pre_commit/306/ : FAILURE
--
To view, visit http://gerrit.cloudera.org:8080/21570
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Gerrit-Change-Number: 21570
Gerrit-PatchSet: 3
Gerrit-Owner: Yingchun Lai <la...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yingchun Lai <la...@apache.org>
Gerrit-Comment-Date: Wed, 17 Jul 2024 04:08:45 +0000
Gerrit-HasComments: No
[kudu-CR] KUDU-3371 Parameterize some options of RocksDB
Posted by "Yingchun Lai (Code Review)" <ge...@cloudera.org>.
Hello Alexey Serbin, Kudu Jenkins, Abhishek Chennaka,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/21570
to look at the new patch set (#3).
Change subject: KUDU-3371 Parameterize some options of RocksDB
......................................................................
KUDU-3371 Parameterize some options of RocksDB
There are many options in RocksDB for performance
and capacity tuning. This patch exposes some
options for Kudu use case.
Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
---
M src/kudu/cfile/block_cache.cc
M src/kudu/fs/dir_manager.cc
2 files changed, 113 insertions(+), 16 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/70/21570/3
--
To view, visit http://gerrit.cloudera.org:8080/21570
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I6a6da6868511fe69af528ca122fcaa98cfc9dac4
Gerrit-Change-Number: 21570
Gerrit-PatchSet: 3
Gerrit-Owner: Yingchun Lai <la...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yingchun Lai <la...@apache.org>