[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Todd Lipcon has submitted this change and it was merged. Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. KUDU-1231. Add "unlock" flag for experimental and unsafe flags This adds two new flags: --unlock_experimental_flags --unlock_unsafe_flags If a flag is tagged as 'unsafe' or 'experimental', and the user tries to set this flag on the command line without the corresponding 'unlock' flag being set, then the process will exit at startup with an error. Example error output without flags unlocked: E0824 14:04:57.263624 14821 flags.cc:296] Flag --never_fsync is unsafe and unsupported. E0824 14:04:57.263749 14821 flags.cc:302] 1 unsafe flag(s) in use. E0824 14:04:57.263761 14821 flags.cc:303] Use --unlock_unsafe_flags to proceed at your own risk. E0824 14:04:57.264104 14821 flags.cc:296] Flag --local_ip_for_outbound_sockets is experimental and unsupported. E0824 14:04:57.264128 14821 flags.cc:302] 1 experimental flag(s) in use. E0824 14:04:57.264137 14821 flags.cc:303] Use --unlock_experimental_flags to proceed at your own risk. Example error output with flags unlocked: W0824 14:04:42.922560 14773 flags.cc:294] Enabled unsafe flag: --never_fsync=true W0824 14:04:42.923032 14773 flags.cc:294] Enabled experimental flag: --local_ip_for_outbound_sockets=127.0.0.1 Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Reviewed-on: http://gerrit.cloudera.org:8080/4100 Reviewed-by: Adar DemboTested-by: Todd Lipcon --- M docs/release_notes.adoc M java/kudu-client/src/test/resources/flags M python/kudu/tests/common.py M src/kudu/client/client_samples-test.sh M src/kudu/integration-tests/external_mini_cluster.cc M src/kudu/util/flag_tags-test.cc M src/kudu/util/flag_tags.h M src/kudu/util/flags.cc 8 files changed, 136 insertions(+), 5 deletions(-) Approvals: Adar Dembo: Looks good to me, approved Todd Lipcon: Verified -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 10 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd Lipcon Gerrit-Reviewer: Adar Dembo Gerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-Reviewer: Will Berkeley
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Todd Lipcon has posted comments on this change. Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. Patch Set 9: Verified+1 Hit a jenkins bug in the lint build (but previous lint builds passed) -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 9 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Adar Dembo Gerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-Reviewer: Will Berkeley Gerrit-HasComments: No
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Adar Dembo has posted comments on this change. Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. Patch Set 9: Code-Review+2 -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 9 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Adar Dembo Gerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-Reviewer: Will Berkeley Gerrit-HasComments: No
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Kudu Jenkins has posted comments on this change. Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. Patch Set 9: Build Started http://104.196.14.100/job/kudu-gerrit/3143/ -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 9 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Adar Dembo Gerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-Reviewer: Will Berkeley Gerrit-HasComments: No
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Hello Mike Percy, Adar Dembo, Alexey Serbin, Kudu Jenkins, I'd like you to reexamine a change. Please visit http://gerrit.cloudera.org:8080/4100 to look at the new patch set (#9). Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. KUDU-1231. Add "unlock" flag for experimental and unsafe flags This adds two new flags: --unlock_experimental_flags --unlock_unsafe_flags If a flag is tagged as 'unsafe' or 'experimental', and the user tries to set this flag on the command line without the corresponding 'unlock' flag being set, then the process will exit at startup with an error. Example error output without flags unlocked: E0824 14:04:57.263624 14821 flags.cc:296] Flag --never_fsync is unsafe and unsupported. E0824 14:04:57.263749 14821 flags.cc:302] 1 unsafe flag(s) in use. E0824 14:04:57.263761 14821 flags.cc:303] Use --unlock_unsafe_flags to proceed at your own risk. E0824 14:04:57.264104 14821 flags.cc:296] Flag --local_ip_for_outbound_sockets is experimental and unsupported. E0824 14:04:57.264128 14821 flags.cc:302] 1 experimental flag(s) in use. E0824 14:04:57.264137 14821 flags.cc:303] Use --unlock_experimental_flags to proceed at your own risk. Example error output with flags unlocked: W0824 14:04:42.922560 14773 flags.cc:294] Enabled unsafe flag: --never_fsync=true W0824 14:04:42.923032 14773 flags.cc:294] Enabled experimental flag: --local_ip_for_outbound_sockets=127.0.0.1 Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 --- M docs/release_notes.adoc M java/kudu-client/src/test/resources/flags M python/kudu/tests/common.py M src/kudu/client/client_samples-test.sh M src/kudu/integration-tests/external_mini_cluster.cc M src/kudu/util/flag_tags-test.cc M src/kudu/util/flag_tags.h M src/kudu/util/flags.cc 8 files changed, 136 insertions(+), 5 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/00/4100/9 -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 9 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Adar Dembo Gerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-Reviewer: Will Berkeley
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Adar Dembo has posted comments on this change. Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. Patch Set 8: Code-Review+2 -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 8 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Adar Dembo Gerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-Reviewer: Will Berkeley Gerrit-HasComments: No
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Hello Mike Percy, Adar Dembo, Alexey Serbin, Kudu Jenkins, I'd like you to reexamine a change. Please visit http://gerrit.cloudera.org:8080/4100 to look at the new patch set (#8). Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. KUDU-1231. Add "unlock" flag for experimental and unsafe flags This adds two new flags: --unlock_experimental_flags --unlock_unsafe_flags If a flag is tagged as 'unsafe' or 'experimental', and the user tries to set this flag on the command line without the corresponding 'unlock' flag being set, then the process will exit at startup with an error. Example error output without flags unlocked: E0824 14:04:57.263624 14821 flags.cc:296] Flag --never_fsync is unsafe and unsupported. E0824 14:04:57.263749 14821 flags.cc:302] 1 unsafe flag(s) in use. E0824 14:04:57.263761 14821 flags.cc:303] Use --unlock_unsafe_flags to proceed at your own risk. E0824 14:04:57.264104 14821 flags.cc:296] Flag --local_ip_for_outbound_sockets is experimental and unsupported. E0824 14:04:57.264128 14821 flags.cc:302] 1 experimental flag(s) in use. E0824 14:04:57.264137 14821 flags.cc:303] Use --unlock_experimental_flags to proceed at your own risk. Example error output with flags unlocked: W0824 14:04:42.922560 14773 flags.cc:294] Enabled unsafe flag: --never_fsync=true W0824 14:04:42.923032 14773 flags.cc:294] Enabled experimental flag: --local_ip_for_outbound_sockets=127.0.0.1 Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 --- M docs/release_notes.adoc M java/kudu-client/src/test/resources/flags M python/kudu/tests/common.py M src/kudu/client/client_samples-test.sh M src/kudu/integration-tests/external_mini_cluster.cc M src/kudu/util/flag_tags-test.cc M src/kudu/util/flag_tags.h M src/kudu/util/flags.cc 8 files changed, 136 insertions(+), 5 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/00/4100/8 -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 8 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Adar Dembo Gerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-Reviewer: Will Berkeley
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Kudu Jenkins has posted comments on this change. Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. Patch Set 7: Build Started http://104.196.14.100/job/kudu-gerrit/3135/ -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 7 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Adar Dembo Gerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-Reviewer: Will Berkeley Gerrit-HasComments: No
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Hello Mike Percy, Alexey Serbin, Kudu Jenkins, I'd like you to reexamine a change. Please visit http://gerrit.cloudera.org:8080/4100 to look at the new patch set (#7). Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. KUDU-1231. Add "unlock" flag for experimental and unsafe flags This adds two new flags: --unlock_experimental_flags --unlock_unsafe_flags If a flag is tagged as 'unsafe' or 'experimental', and the user tries to set this flag on the command line without the corresponding 'unlock' flag being set, then the process will exit at startup with an error. Example error output without flags unlocked: E0824 14:04:57.263624 14821 flags.cc:296] Flag --never_fsync is unsafe and unsupported. E0824 14:04:57.263749 14821 flags.cc:302] 1 unsafe flag(s) in use. E0824 14:04:57.263761 14821 flags.cc:303] Use --unlock_unsafe_flags to proceed at your own risk. E0824 14:04:57.264104 14821 flags.cc:296] Flag --local_ip_for_outbound_sockets is experimental and unsupported. E0824 14:04:57.264128 14821 flags.cc:302] 1 experimental flag(s) in use. E0824 14:04:57.264137 14821 flags.cc:303] Use --unlock_experimental_flags to proceed at your own risk. Example error output with flags unlocked: W0824 14:04:42.922560 14773 flags.cc:294] Enabled unsafe flag: --never_fsync=true W0824 14:04:42.923032 14773 flags.cc:294] Enabled experimental flag: --local_ip_for_outbound_sockets=127.0.0.1 Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 --- M docs/release_notes.adoc M java/kudu-client/src/test/resources/flags M python/kudu/tests/common.py M src/kudu/client/client_samples-test.sh M src/kudu/integration-tests/external_mini_cluster.cc M src/kudu/util/flag_tags-test.cc M src/kudu/util/flag_tags.h M src/kudu/util/flags.cc 8 files changed, 136 insertions(+), 5 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/00/4100/7 -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 7 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Adar Dembo Gerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-Reviewer: Will Berkeley
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Adar Dembo has posted comments on this change. Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. Patch Set 7: Code-Review+2 -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 7 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Adar Dembo Gerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-Reviewer: Will Berkeley Gerrit-HasComments: No
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Todd Lipcon has posted comments on this change. Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. Patch Set 6: (5 comments) http://gerrit.cloudera.org:8080/#/c/4100/6/python/kudu/tests/common.py File python/kudu/tests/common.py: PS6, Line 56: "--unlock_unsafe_flags", : "--unlock_experimental_flags", > Nit: use single dash for consistency with the other flags. Below too. Done http://gerrit.cloudera.org:8080/#/c/4100/6/src/kudu/util/flag_tags-test.cc File src/kudu/util/flag_tags-test.cc: Line 36: > Nit: there's an extra empty line here. Done Line 75: ASSERT_DEATH({ HandleCommonFlags();}, > Nit: { HandleCommonFlags(); } Done PS6, Line 82: StringVectorSink sink; : ScopedRegisterSink reg(); > You know you've made it as a project when you've got unit tests that check \_o_/ http://gerrit.cloudera.org:8080/#/c/4100/6/src/kudu/util/flags.cc File src/kudu/util/flags.cc: Line 312: void CheckFlagsUnlocked() { > Nit: perhaps adjust the function name slightly? When I saw FooUnlocked() I Done -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 6 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Adar Dembo Gerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-Reviewer: Will Berkeley Gerrit-HasComments: Yes
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Adar Dembo has posted comments on this change. Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. Patch Set 6: (5 comments) http://gerrit.cloudera.org:8080/#/c/4100/6/python/kudu/tests/common.py File python/kudu/tests/common.py: PS6, Line 56: "--unlock_unsafe_flags", : "--unlock_experimental_flags", Nit: use single dash for consistency with the other flags. Below too. http://gerrit.cloudera.org:8080/#/c/4100/6/src/kudu/util/flag_tags-test.cc File src/kudu/util/flag_tags-test.cc: Line 36: Nit: there's an extra empty line here. Line 75: ASSERT_DEATH({ HandleCommonFlags();}, Nit: { HandleCommonFlags(); } (space between semicolon and end brace). Below too. PS6, Line 82: StringVectorSink sink; : ScopedRegisterSink reg(); You know you've made it as a project when you've got unit tests that check log output. http://gerrit.cloudera.org:8080/#/c/4100/6/src/kudu/util/flags.cc File src/kudu/util/flags.cc: Line 312: void CheckFlagsUnlocked() { Nit: perhaps adjust the function name slightly? When I saw FooUnlocked() I assumed that meant a lock must be held when calling it. -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 6 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Adar Dembo Gerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-Reviewer: Will Berkeley Gerrit-HasComments: Yes
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Alexey Serbin has posted comments on this change. Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. Patch Set 6: Code-Review+1 -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 6 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-Reviewer: Will Berkeley Gerrit-HasComments: No
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Kudu Jenkins has posted comments on this change. Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. Patch Set 6: Build Started http://104.196.14.100/job/kudu-gerrit/3051/ -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 6 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-Reviewer: Will Berkeley Gerrit-HasComments: No
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Hello Mike Percy, Kudu Jenkins, I'd like you to reexamine a change. Please visit http://gerrit.cloudera.org:8080/4100 to look at the new patch set (#6). Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. KUDU-1231. Add "unlock" flag for experimental and unsafe flags This adds two new flags: --unlock_experimental_flags --unlock_unsafe_flags If a flag is tagged as 'unsafe' or 'experimental', and the user tries to set this flag on the command line without the corresponding 'unlock' flag being set, then the process will exit at startup with an error. Example error output without flags unlocked: E0824 14:04:57.263624 14821 flags.cc:296] Flag --never_fsync is unsafe and unsupported. E0824 14:04:57.263749 14821 flags.cc:302] 1 unsafe flag(s) in use. E0824 14:04:57.263761 14821 flags.cc:303] Use --unlock_unsafe_flags to proceed at your own risk. E0824 14:04:57.264104 14821 flags.cc:296] Flag --local_ip_for_outbound_sockets is experimental and unsupported. E0824 14:04:57.264128 14821 flags.cc:302] 1 experimental flag(s) in use. E0824 14:04:57.264137 14821 flags.cc:303] Use --unlock_experimental_flags to proceed at your own risk. Example error output with flags unlocked: W0824 14:04:42.922560 14773 flags.cc:294] Enabled unsafe flag: --never_fsync=true W0824 14:04:42.923032 14773 flags.cc:294] Enabled experimental flag: --local_ip_for_outbound_sockets=127.0.0.1 Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 --- M docs/release_notes.adoc M java/kudu-client/src/test/resources/flags M python/kudu/tests/common.py M src/kudu/client/client_samples-test.sh M src/kudu/integration-tests/external_mini_cluster.cc M src/kudu/util/flag_tags-test.cc M src/kudu/util/flag_tags.h M src/kudu/util/flags.cc 8 files changed, 137 insertions(+), 5 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/00/4100/6 -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 6 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-Reviewer: Will Berkeley
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Kudu Jenkins has posted comments on this change. Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. Patch Set 5: Build Started http://104.196.14.100/job/kudu-gerrit/3050/ -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 5 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-Reviewer: Will Berkeley Gerrit-HasComments: No
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Todd Lipcon has posted comments on this change. Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. Patch Set 4: (1 comment) http://gerrit.cloudera.org:8080/#/c/4100/4/src/kudu/client/client_samples-test.sh File src/kudu/client/client_samples-test.sh: Line 125: --unlock_experimental_flags \ > What about unsafe flags? Not needed here? I think this sample only uses an experimental flag (--local_ip_for_outbound_sockets) -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 4 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-Reviewer: Will Berkeley Gerrit-HasComments: Yes
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Mike Percy has posted comments on this change. Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. Patch Set 4: Code-Review+1 (1 comment) http://gerrit.cloudera.org:8080/#/c/4100/4/src/kudu/util/flags.cc File src/kudu/util/flags.cc: PS4, Line 293: exit(1) > Can you print out all enabled experimental and unsafe flags before exiting? This is a good idea, and pretty easy to do. -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 4 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Will Berkeley Gerrit-HasComments: Yes
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Hello Kudu Jenkins, I'd like you to reexamine a change. Please visit http://gerrit.cloudera.org:8080/4100 to look at the new patch set (#4). Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. KUDU-1231. Add "unlock" flag for experimental and unsafe flags This adds two new flags: --unlock_experimental_flags --unlock_unsafe_flags If a flag is tagged as 'unsafe' or 'experimental', and the user tries to set this flag on the command line without the corresponding 'unlock' flag being set, then the process will exit at startup with an error. Example error output without unsafe flags unlocked: E0823 15:12:08.163079 28376 flags.cc:300] Flag --never_fsync is unsafe and unsupported. E0823 15:12:08.163204 28376 flags.cc:301] Use --unlock_unsafe_flags to allow this flag at your own risk. Example error output with flag unlocked: W0823 15:12:47.344476 28382 flags.cc:304] Enabled unsafe flag: --never_fsync=true Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 --- M docs/release_notes.adoc M java/kudu-client/src/test/resources/flags M python/kudu/tests/common.py M src/kudu/client/client_samples-test.sh M src/kudu/integration-tests/external_mini_cluster.cc M src/kudu/util/flags.cc 6 files changed, 67 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/00/4100/4 -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 4 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Kudu Jenkins has posted comments on this change. Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. Patch Set 2: Build Started http://104.196.14.100/job/kudu-gerrit/3031/ -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 2 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-HasComments: No
[kudu-CR] KUDU-1231. Add "unlock" flag for experimental and unsafe flags
Hello Kudu Jenkins, I'd like you to reexamine a change. Please visit http://gerrit.cloudera.org:8080/4100 to look at the new patch set (#2). Change subject: KUDU-1231. Add "unlock" flag for experimental and unsafe flags .. KUDU-1231. Add "unlock" flag for experimental and unsafe flags This adds two new flags: --unlock_experimental_flags --unlock_unsafe_flags If a flag is tagged as 'unsafe' or 'experimental', and the user tries to set this flag on the command line without the corresponding 'unlock' flag being set, then the process will exit at startup with an error. Example error output without unsafe flags unlocked: E0823 15:12:08.163079 28376 flags.cc:300] Flag --never_fsync is unsafe and unsupported. E0823 15:12:08.163204 28376 flags.cc:301] Use --unlock_unsafe_flags to allow this flag at your own risk. Example error output with flag unlocked: W0823 15:12:47.344476 28382 flags.cc:304] Enabled unsafe flag: --never_fsync=true Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 --- M docs/release_notes.adoc M java/kudu-client/src/test/resources/flags M python/kudu/tests/common.py M src/kudu/integration-tests/external_mini_cluster.cc M src/kudu/util/flags.cc 5 files changed, 65 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/00/4100/2 -- To view, visit http://gerrit.cloudera.org:8080/4100 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Iec49e77fca604a7c5ee7501121a6263b7ee590d6 Gerrit-PatchSet: 2 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd LipconGerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy