• Data Warehouse Service

dws
  1. Help Center
  2. Data Warehouse Service
  3. Developer Guide
  4. Data Import
  5. Using GDS to Import Data from a Remote Server
  6. Stopping GDS

Stopping GDS

Scenarios

Stop GDS after data is imported successfully.

Procedure

  1. Log in as user gds_user to the data server where GDS is installed.
  2. Select the mode of stopping GDS based on the mode of starting it.

    • If GDS is started using the gds command, perform the following operations to stop GDS:
      1. Query the GDS process ID:
        ps -ef|grep gds

        For example, the GDS process ID is 128954.

        ps -ef|grep gds
        gds_user 128954      1  0 15:03 ?        00:00:00 gds -d /input_data/ -p 192.168.0.90:5000 -l /log/gds_log.txt -D
        gds_user 129003 118723  0 15:04 pts/0    00:00:00 grep gds
      2. Run the kill command to stop GDS. 128954 in the command is the GDS process ID.
        kill -9 128954
    • If GDS is started using the gds_ctl.py command, perform the following operations to stop GDS:
      cd /opt/bin/gds
      python gds_ctl.py stop