Versions Compared

Key

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

...

Init/Start/Stop Apache HAWQ

 

  • Before initializing HAWQ, you need to install HDFS and make sure it works
    • source /install/dir/greenplum_path.sh
    • hawq init cluster (after initialization, HAWQ is started by default)
    • Now you can stop/restart/start the cluster by using: hawq stop/restart/start cluster

...

Connect and Run basic queries

...

  • psql -d postgres
  • create table t ( i int );
  • insert into t values(1);
  • select * from t;

...