metadata_server
SQream DB’s cluster manager/coordinator is called metadata_server.
In general, you should not need to run metadata_server manually, but it is sometimes useful for testing.
Command Line Arguments
Argument |
Default |
Description |
|---|---|---|
|
|
The configuration file to use |
|
|
The metadata server listening port |
|
|
The |
|
None |
Specifies the location of the configuration file for the |
|
1 |
Specifies the number of threads to use for the file reaper in a system or program. |
|
|
Specifies the path to the directory where metadata files are stored for a system or program. |
|
None |
Used to display a help message or documentation for a particular program or command. |
Starting metadata server
Starting temporarily
nohup metadata_server -config ~/.sqream/metadata_server_config.json &
MS_PID=$!
Using nohup and & sends metadata server to run in the background.
Note
Logs are saved to the current directory, under
metadata_server_logs.The default listening port is 3105
Starting temporarily with non-default port
To use a non-default port, specify the logging path as well.
nohup metadata_server --log_path=/home/rhendricks/metadata_logs --port=9241 &
MS_PID=$!
Using nohup and & sends metadata server to run in the background.
Note
Logs are saved to the
/home/rhendricks/metadata_logsdirectory.The listening port is 9241
Stopping metadata server
To stop metadata server:
kill -9 $MS_PID
Tip
It is safe to stop any SQream DB component at any time using kill. No partial data or data corruption should occur when using this method to stop the process.