Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-1318

Can't start/stop master succesfully if ranger is enable and with a wrong RPS address

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0.0-incubating
    • Component/s: Security
    • Labels:
      None

      Description

      If ranger enable and with a wrong RPS address, hawq can start but can't start/stop succesfully.

      Lins-MacBook-Pro:apache-hawq linw$ hawq stop cluster -a
      20170209:10:21:51:043784 hawq_stop:Lins-MacBook-Pro:linw-[INFO]:-Prepare to do 'hawq stop'
      20170209:10:21:51:043784 hawq_stop:Lins-MacBook-Pro:linw-[INFO]:-You can find log in:
      20170209:10:21:51:043784 hawq_stop:Lins-MacBook-Pro:linw-[INFO]:-/Users/linw/hawqAdminLogs/hawq_stop_20170209.log
      20170209:10:21:51:043784 hawq_stop:Lins-MacBook-Pro:linw-[INFO]:-GPHOME is set to:
      20170209:10:21:51:043784 hawq_stop:Lins-MacBook-Pro:linw-[INFO]:-/Users/linw/hawq-bin
      20170209:10:21:51:043784 hawq_stop:Lins-MacBook-Pro:linw-[INFO]:-Stop hawq with args: ['stop', 'cluster']
      20170209:10:21:51:043784 hawq_stop:Lins-MacBook-Pro:linw-[INFO]:-No standby host configured
      20170209:10:21:51:043784 hawq_stop:Lins-MacBook-Pro:linw-[INFO]:-Stop hawq cluster
      20170209:10:22:22:043784 hawq_stop:Lins-MacBook-Pro:linw-[ERROR]:-Failed to connect to the running database, please check master status
      20170209:10:22:22:043784 hawq_stop:Lins-MacBook-Pro:linw-[ERROR]:-Or you can check hawq stop --help for other stop options

      501 43719 1 0 10:20AM ?? 0:00.58 /Users/linw/hawq-bin/bin/postgres -D /Users/linw/hawq-data/masterdd -i -M master -p 5432 --silent-mode=true
      501 43721 43719 0 10:20AM ?? 0:00.02 postgres: port 5432, master logger process
      501 43724 43719 0 10:20AM ?? 0:00.01 postgres: port 5432, stats collector process
      501 43725 43719 0 10:20AM ?? 0:00.07 postgres: port 5432, writer process
      501 43726 43719 0 10:20AM ?? 0:00.01 postgres: port 5432, checkpoint process
      501 43727 43719 0 10:20AM ?? 0:00.01 postgres: port 5432, seqserver process
      501 43728 43719 0 10:20AM ?? 0:00.01 postgres: port 5432, WAL Send Server process
      501 43729 43719 0 10:20AM ?? 0:00.00 postgres: port 5432, DFS Metadata Cache process
      501 43743 1 0 10:20AM ?? 0:00.79 /Users/linw/hawq-bin/bin/postgres -D /Users/linw/hawq-data/segmentdd -i -M segment -p 40000 --silent-mode=true
      501 43744 43743 0 10:20AM ?? 0:00.02 postgres: port 40000, logger process
      501 43747 43743 0 10:20AM ?? 0:00.01 postgres: port 40000, stats collector process
      501 43748 43743 0 10:20AM ?? 0:00.07 postgres: port 40000, writer process
      501 43749 43743 0 10:20AM ?? 0:00.01 postgres: port 40000, checkpoint process
      501 43750 43743 0 10:20AM ?? 0:00.16 postgres: port 40000, segment resource manager
      501 43830 43719 0 10:22AM ?? 0:00.01 postgres: port 5432, master resource manager
      501 43867 43719 0 10:24AM ?? 0:00.01 postgres: port 5432, linw template1 [local] cmd1 SELECT [local]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wlin Wen Lin
                Reporter:
                wlin Wen Lin
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: