Andrew Wong has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/17738 )
Change subject: [docker] KUDU-3307: allow using multiple directories ...................................................................... [docker] KUDU-3307: allow using multiple directories Previously, the Docker entrypoint would by default use a single root directory, suffixed with either 'master' or 'tserver'. This makes it a poor fit for production systems that may want to use Docker, since most reasonable deployments use multple data directories, and don't colocate WALs and data. This patch adds a couple of environment variables to the entrypoint, FS_WAL_DIR and FS_DATA_DIRS, that map directly to the --fs_wal_dir and --fs_data_dirs gflags that Kudu masters and tservers know and love. To maintain compatibility with existing guides, the existing single-root DATA_DIR remains, but the new environment variables, if set, take precedence. Change-Id: I20e5f75c1f1f8280dca60de75255a4a948e44be1 Reviewed-on: http://gerrit.cloudera.org:8080/17738 Tested-by: Kudu Jenkins Reviewed-by: Bankim Bhavsar <[email protected]> --- M docker/kudu-entrypoint.sh 1 file changed, 43 insertions(+), 6 deletions(-) Approvals: Kudu Jenkins: Verified Bankim Bhavsar: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/17738 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I20e5f75c1f1f8280dca60de75255a4a948e44be1 Gerrit-Change-Number: 17738 Gerrit-PatchSet: 4 Gerrit-Owner: Andrew Wong <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Bankim Bhavsar <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120)
