-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENG-4801 (#944): yb-ctl improvements for easier onboarding
Summary: This diff includes changes to - Enable YSQL by default (add --disable_ysql to disable the feature) - Make replication factor 1 by default - Change YB data dir to $HOME/yugabyte-data by default and ensure that data_dir is writeable. - Suppress logs from initdb and add a message indicating that initdb may take upto a minute Test Plan: Jenkins: skip ``` ./bin/yb-ctl create ``` This created cluster in $HOME/yugabyte-data with rf 1 and YSQL enabled ``` ./bin/yb-ctl create --disable-ysql ``` This created cluster in $HOME/yugabyte-data with rf 1 and YSQL disabled ``` ./bin/yb-ctl create --enable-ysql ``` This created cluster in $HOME/yugabyte-data with rf 1 and YSQL enabled Specify dir on which we don't have write access as --data_dir: ``` ./bin/yb-ctl --data_dir foo/yugabyte-data create 2019-03-07 11:15:23,565 ERROR: No write permission on foo/yugabyte-data. Use --data_dir to specify a different data directory. ``` Reviewers: mikhail, karthik, kannan, sid, bogdan Reviewed By: bogdan Subscribers: bogdan, yql Differential Revision: https://phabricator.dev.yugabyte.com/D6287
- Loading branch information
Showing
2 changed files
with
34 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters