[MCOL-1149] ColumnStore not starting in CentOS 6 Created: 2018-01-08 Updated: 2018-04-20 Resolved: 2018-04-20 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | installation, ProcMgr |
| Affects Version/s: | 1.0.13, 1.1.3 |
| Fix Version/s: | 1.0.13, 1.1.3 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Andrew Hutchings (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
postConfigure doesn't appear to start ProcMgr in CentOS 6 so the "please wait" hangs forever. Manually starting ProgMgr means the newly spawned one is killed, and ColumnStore starts one. Startup then continues and then hangs around DMLProc start. |
| Comments |
| Comment by David Hill (Inactive) [ 2018-01-08 ] | ||||||
|
could not reproduce on build machine centos 6.7 system build and installed Running the MariaDB ColumnStore setup scripts post-mysqld-install Successfully Completed Starting MariaDB Columnstore Database Platform MariaDB ColumnStore Database Platform Starting, please wait ....... DONE System Catalog Successfull Created MariaDB ColumnStore Install Successfully Completed, System is Active Enter the following command to define MariaDB ColumnStore Alias Commands . /usr/local/mariadb/columnstore/bin/columnstoreAlias Enter 'mcsmysql' to access the MariaDB ColumnStore SQL console [root@ip-172-30-0-72 bin]# cat /etc/issue | ||||||
| Comment by Andrew Hutchings (Inactive) [ 2018-01-08 ] | ||||||
|
Triggered by this commit:
| ||||||
| Comment by David Hill (Inactive) [ 2018-01-10 ] | ||||||
|
problem related to system status initialing setting, which is set to DOWN = 9, and the stop in main.ccp that reads and checks the status to determine if it needs to launch processes, which is shown here main.cpp:736 if ( systemstatus.SystemOpState != MAN_OFFLINE && !DISABLED) { At the time line is hit, the system status = MAN_OFFLINE (0). It should be DOWN (9). [root@ip-172-30-0-167 ~]# ma getsystemi System columnstore-1 System and Module statuses Component Status Last Status Change So need to see why its not DOWN ----------------------------------- Breakpoint 1, main (argc=1, argv=0x7fffffffe648) at /home/builder/mariadb-columnstore-server/mariadb-columnstore-engine/procmon/main.cpp:736 | ||||||
| Comment by David Hill (Inactive) [ 2018-01-10 ] | ||||||
|
ok,this explains it.. the thread that is setting up the shared memory and setting the initial settings to DOWN is taking place after the main.cpp code, where it got launch is making the call to get the status... Code has a sleep of 6 seconds to allow the shared memory to be completed, but that is not long enough. Jan 10 17:10:15 ip-172-30-0-167 ProcessMonitor[11724]: 15.163827 |0|0|0| D 18 CAL0000: | ||||||
| Comment by David Hill (Inactive) [ 2018-01-10 ] | ||||||
|
pull request is done, please review. Code change, replaced a sleep with a resume main thread flag to resolve problem | ||||||
| Comment by David Hill (Inactive) [ 2018-01-10 ] | ||||||
|
to test, should be done on a centos 6.9, but fix wasnt really specifically related to 6.9.problem was a timing issue.. Just perform a binary install and run postConfigure for a single-server install and make sure postConfigure completes and system is ACTIVE. | ||||||
| Comment by Andrew Hutchings (Inactive) [ 2018-04-20 ] | ||||||
|
Closing this issue as it was released months ago and slipped through the cracks. |