[MCOL-58] columnstore mysql code will not work for non-root installs Created: 2016-05-14 Updated: 2016-08-01 Resolved: 2016-08-01 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | MariaDB Server |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | David Hill (Inactive) | Assignee: | Ben Thompson (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 1.0.2-1, 1.0.2-2 |
| Description |
|
The MariaDB Columnstore mysql code has hardcoded directory paths in it, which previous was /usr/local/Calpont, now is /usr/local/MariaDB/Columnstore, which means it will not install and runn correctly on a non-root user, which gets installed in /home/'user-name'. /home/'user-name' is how the Platform code gets installed. So non-root install for MariaDB Columnstore product will not work |
| Comments |
| Comment by Dipti Joshi (Inactive) [ 2016-05-24 ] |
|
hill, David.Hall Where in the MariaDB Columnstore mysql code(modified mariadb server) code is it using hardcoded directory path /usr/local/MariaDB/Columnstore ? is it in my.cnf or start/stop scripts Or in actual C/C++ code ? |
| Comment by David Hill (Inactive) [ 2016-05-24 ] |
|
It's in the actual code in a number of spots.. I came across them when I had to make the change from /usr/local/Calpont to /usr/local/MariaDB/Columnstore. So it was hardcoded during the conversion, but Hall would need to provide that info. I don't know if the original mysql was hardcoded or not. Maybe it was and this would work for non-root installs, but it doesnt seem like it would.. Need input from Hall. |
| Comment by Dipti Joshi (Inactive) [ 2016-05-31 ] |
|
[~David.Hall Please provide response to above two comments. We need to know about this in order to complete release notes |
| Comment by Dipti Joshi (Inactive) [ 2016-06-02 ] |
|
dleeyhHave you tested install as non-root ? If not can you try please and provide your findings ? |
| Comment by David Hill (Inactive) [ 2016-06-02 ] |
|
I will also do a setup and test of the non-root install... David Hill |
| Comment by David Hill (Inactive) [ 2016-06-02 ] |
|
here is the first run of a non-root install, investigating issues: post-mysqld-install Successfully Completed Starting MariaDB Columnstore Database Platform MariaDB Columnstore Database Platform Starting, please wait ... FAILED ERROR: MariaDB Columnstore Process failed to start, check log files in /var/log/Columnstore |
| Comment by David Hill (Inactive) [ 2016-06-02 ] |
|
This error is trying to launch mysqld from /usr/local due to the hard coded paths, I do believe.. But in any case, non-root install isn't working at this time... Works needs to be done for this area.. [infinidb@node1 bin]$ ./post-mysql-install --installdir=/home/infinidb/MariaDB/Columnstore/ |
| Comment by Dipti Joshi (Inactive) [ 2016-06-02 ] |
|
hillPlease provide estimate on scope of effort that will be needed to fix this. |
| Comment by David Hill (Inactive) [ 2016-07-11 ] |
|
completed a single node and multi combo pm and multi separate um/pm non-root installs. successfully ran the nightly regression test. How-to-install, daniel follow the infinidb non-root install procedure. The columnstore install documents needs to be updated with the non-root install procured for next release of 1.0.2-1. |
| Comment by David Hill (Inactive) [ 2016-07-12 ] |
|
review install script changes |
| Comment by David Hill (Inactive) [ 2016-07-12 ] |
|
I will add in github info |
| Comment by David Hill (Inactive) [ 2016-07-12 ] |
|
all changes made to mariadb-columnstore-engine in devel. commit 7ed3c435daea25179e9d1976fa0b7b9fb7197242 commit e5c961c2f5f664590c0de72aaa121b0b03d932b4 commit f512476add0bb25f54ac47196a7e21cac9fe4b58 |
| Comment by Ben Thompson (Inactive) [ 2016-08-01 ] |
|
Reviewed |