You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by al...@apache.org on 2020/04/22 19:41:03 UTC
[kudu] branch master updated: [script] Added --unlock_unsafe_flags
to start_kudu.sh
This is an automated email from the ASF dual-hosted git repository.
alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new 5b12fa9 [script] Added --unlock_unsafe_flags to start_kudu.sh
5b12fa9 is described below
commit 5b12fa9039d5e5c9c8985bff5927aa88537c924e
Author: Volodymyr Verovkin <ve...@cloudera.com>
AuthorDate: Tue Apr 21 22:00:29 2020 -0700
[script] Added --unlock_unsafe_flags to start_kudu.sh
Without --unlock_unsafe_flags start_kudu.sh shows
warning:
WARNING: Logging before InitGoogleLogging() is written to STDERR
WARNING: Logging before InitGoogleLogging() is written to STDERR
E0421 21:54:53.600564 17547 hybrid_clock.cc:157] --unlock_unsafe_flags
should be set if configuring --time_source to be system_unsync or mock
E0421 21:54:53.600500 17545 hybrid_clock.cc:157] --unlock_unsafe_flags
should be set if configuring --time_source to be system_unsync or mock
Change-Id: If7cc93849cf61d5a80001f4fd544dd678426fa5d
Reviewed-on: http://gerrit.cloudera.org:8080/15780
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <as...@cloudera.com>
---
src/kudu/scripts/start_kudu.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/kudu/scripts/start_kudu.sh b/src/kudu/scripts/start_kudu.sh
index 31fd2d2..38607d5 100755
--- a/src/kudu/scripts/start_kudu.sh
+++ b/src/kudu/scripts/start_kudu.sh
@@ -146,6 +146,7 @@ function start_master() {
ARGS="$ARGS --log_dir=$dir_log"
ARGS="$ARGS --rpc_bind_addresses=$IP:$RPC_PORT"
ARGS="$ARGS --time_source=$TIME_SOURCE"
+ ARGS="$ARGS --unlock_unsafe_flags"
ARGS="$ARGS --webserver_port=$HTTP_PORT"
ARGS="$ARGS --webserver_interface=$IP"
ARGS="$ARGS --webserver_doc_root=$WEBSERVER_DOC_ROOT"
@@ -164,6 +165,7 @@ function start_tserver() {
ARGS="$ARGS --log_dir=$dir_log"
ARGS="$ARGS --rpc_bind_addresses=$IP:$RPC_PORT"
ARGS="$ARGS --time_source=$TIME_SOURCE"
+ ARGS="$ARGS --unlock_unsafe_flags"
ARGS="$ARGS --webserver_port=$HTTP_PORT"
ARGS="$ARGS --webserver_interface=$IP"
ARGS="$ARGS --webserver_doc_root=$WEBSERVER_DOC_ROOT"