[
https://issues.apache.org/jira/browse/KUDU-3307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390733#comment-17390733
]
ASF subversion and git services commented on KUDU-3307:
-------------------------------------------------------
Commit e7cd1f6cfab4d8448ad4ebd834727c83f23f4899 in kudu's branch
refs/heads/master from Andrew Wong
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=e7cd1f6 ]
[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]>
> Update Kudu docker entry script to take data directories parameter
> ------------------------------------------------------------------
>
> Key: KUDU-3307
> URL: https://issues.apache.org/jira/browse/KUDU-3307
> Project: Kudu
> Issue Type: Improvement
> Components: docker
> Reporter: Bankim Bhavsar
> Assignee: Abhishek
> Priority: Major
> Labels: newbie
>
> Current docker entry point script takes environment variable {{DATA_DIR}}.
> However it's expected to be a single directory and that's supplied as
> {{-fs_wal_dir}} and not as one would expect {{-fs_data_dirs}}.
> [https://github.com/apache/kudu/blob/master/docker/kudu-entrypoint.sh#L41]
> [https://github.com/apache/kudu/blob/master/docker/kudu-entrypoint.sh#L57-L59]
> We need to make updates to the entry script to be able to supply separate
> configuration for data directories. Need to ensure these directories are
> either created in the script or possibly within kudu server.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)