Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-3494

S3 When postConfigure failed to access online storage, better error msg is needed

    XMLWordPrintable

    Details

    • Sprint:
      2020-1, 2020-2, 2020-3, 2020-4, 2020-5, 2020-6, 2020-7

      Description

      Build tested: 1.4.0-1

      server commit:
      67452bc
      engine commit:
      64ceb86

      I configured the storagemanager.cnf to use AWS S3, but have the region setup incorrectly, used us-west-2b instead of us-west-2. postConfigure would return the following messages:

      We should output better messages to indicate that ColumnStore failed to connect to online S3 storage.

      postConfigure terminal output

      s1pm1: DBRM::send_recv caught: InetStreamSocket::connect: connect() error: Connection refused to: InetStreamSocket: sd: 10 inet: 127.0.0.1 port: 8616
      s1pm1: DBRM::send_recv caught: InetStreamSocket::connect: connect() error: Connection refused to: InetStreamSocket: sd: 10 inet: 127.0.0.1 port: 8616
      s1pm1: DBRM::send_recv caught: InetStreamSocket::connect: connect() error: Connection refused to: InetStreamSocket: sd: 10 inet: 127.0.0.1 port: 8616

      crit.log file:

      [root@localhost columnstore]# cat crit.log
      Sep 10 14:32:34 localhost workernode[16006]: 34.479403 |0|0|0| C 30 CAL0000: An error occured: Could not open the BRM journal for writing!
      Sep 10 14:32:36 localhost ProcessMonitor[15107]: 36.251417 |0|0|0| C 18 CAL0000: *****MariaDB ColumnStore Process Restarting: DBRMWorkerNode, old PID = 16006
      Sep 10 14:32:47 localhost ProcessManager[15386]: 47.773078 |0|0|0| C 17 CAL0000: startMgrProcessThread Exit with a failure, error returned from startSystemThread
      Sep 10 14:32:48 localhost workernode[16469]: 48.713846 |0|0|0| C 30 CAL0000: An error occured: Could not open the BRM journal for writing!
      Sep 10 14:32:48 localhost ProcessMonitor[15107]: 48.732895 |0|0|0| C 18 CAL0000: DBRMControllerNode/15935 failed to init in 20 seconds, force killing it so it can restart

      err.log

      [root@localhost columnstore]# cat err.log
      Sep 10 14:32:01 localhost configcpp[15107]: 01.128292 |0|0|0| E 12 SocketPool::getSocket() failed to connect; got 'Connection refused'
      Sep 10 14:32:02 localhost configcpp[15107]: 02.128475 |0|0|0| E 12 SocketPool::getSocket() failed to connect; got 'Connection refused'
      Sep 10 14:32:03 localhost configcpp[15107]: 03.129094 |0|0|0| E 12 SocketPool::getSocket() failed to connect; got 'Connection refused'
      Sep 10 14:32:04 localhost configcpp[15107]: 04.130295 |0|0|0| E 12 SocketPool::getSocket() failed to connect; got 'Connection refused'

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dleeyh Daniel Lee
              Reporter:
              dleeyh Daniel Lee
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration