Uploaded image for project: 'Apache HAWQ (Retired)'
  1. Apache HAWQ (Retired)
  2. HAWQ-473

Implement adding a entry into gp_configuration_history when segment' status is changed

    XMLWordPrintableJSON

Details

    Description

      1. Implement adding a entry into gp_configuration_history when segment' status is changed, so that users can know the reason of status change by querying this catalog table.
      A cleanup function is needed when user decides to clear this table.

      2. remove failed_tmp_dir and failed_tmp_dir_num columns in gp_segment_configuration. add a "description" column to show the reason of this segment is down.

      3. merge YARN mode and NONE mode status.

      postgres=# select * from gp_segment_configuration ;
      registration_order | role | status | port | hostname | address | description
      ------------------------------------------------------------------------------------------------------------------------
      0 | m | u | 5432 | master | master |
      2 | p | d | 40000 | node4 | 192.168.2.205 | no YARN node report;
      3 | p | d | 40000 | node3 | 192.168.2.204 | heartbeat timeout;
      1 | p | d | 40000 | node2 | 192.168.2.203 | failed temporary directory:/home/gpadmin/greenplum-db-data/tmp1;
      (4 rows)

      Attachments

        Activity

          People

            wlin Wen Lin
            wlin Wen Lin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: