shlogg · Early preview
Franck Pachot @franckpachot

Start YugabyteDB In 2 Seconds With Yb-master And Yb-tserver

For a faster YugabyteDB lab start, run yb-master and yb-tserver directly with --replication_factor=1 and --fs_data_dirs for logs and data. This skips HA setup and downloads the latest preview version.

For starting a YugabyteDB lab, the best is running yugabyted. However, it takes some time (few seconds) to check the OS prerequisites. If you want a faster start, you can run directly one yb-master and yb-tserver with --replication_factor=1 (no need for HA in a lab) and the mandatory --fs_data_dirs for the location of logs and data.
The following goes to /var/tmp (it must be clear at this point that this is not for production), downloads the latest preview version, if not already there, and starts YugabyteDB yb-master and yb-server with all defaults.

# needs the following to download the late...