Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
# Before initializing HAWQ, you need to install HDFS and make sure it works. 
source /hawq/install/path/greenplum_path.sh
hawq init cluster # after initialization, HAWQ is started by default

#Now# Now you can stop/restart/start the cluster by using:  
hawq stop/restart/start cluster
 
# HAWQ master and segments are completely decoupled. So you can also init, start or stop the master and segments separately.
# For example, to init: hawq init master, then hawq init segment
# to stop: hawq stop master, then hawq stop segment
# to start: hawq start master, then hawq start segment
 

Connect and Run basic queries

...