[MCOL-4483] Consolidate Log Location Created: 2020-12-30 Updated: 2021-03-19 Resolved: 2021-03-04 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.5.2 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Kathryn Sizemore | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | UX | ||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Epic Link: | ColumnStore Message & Logging Improvements | ||||||||||||||||||||
| Sprint: | 2021-1, 2021-2, 2021-3, 2021-4 | ||||||||||||||||||||
| Description |
|
ColumnStore logs are located in /tmp, /var/lib/columnstore/data/bulk/log, /var/log/mariadb/columnstore, etc. cmapi doesn't even have a log file. You have to use the journalctl utility. Can this be simplified and standardized into one location for all processes. Additionally, when using cpimport the .bad file does not get written to any folder. It instead throws a 'permissions' error into the job log. |
| Comments |
| Comment by Ben Thompson (Inactive) [ 2021-01-15 ] |
|
WORKAROUND FOR MISSING .bad FILES: set the variable "WorkingDIrectory" in /usr/lib/systemd/system/mcs-writeengineserver.service [Service] make sure the user running the writeengineserver process (mysql default) has write access to this directory this is just going to have a file temporarily while cpimport.bin creates and sends the data for the bad file to cpimport on PM1 after updating the file restart WES process with |
| Comment by Daniel Lee (Inactive) [ 2021-02-22 ] |
|
Build tested: 5.5.2 (Drone #1718) Tested on multi-node cluster, and different cpimport modes /var/log/mariadb/columnstore/data is now being used in place of /var/lib/columnstore/data. I observed the following: /tmp/columnstore_tmp_file directory is still being used or some log files |
| Comment by Ben Thompson (Inactive) [ 2021-02-22 ] |
|
/tmp/columnstore_tmp_files is still getting some tmp files as expected it was not solely for cpimport logging there might be the output of a brm related command going there still but its not really useful so left it alone in tmp dir. |
| Comment by Daniel Lee (Inactive) [ 2021-02-22 ] |
|
There are cpimport logs in /tmp/columnstore_tmp_files. |
| Comment by Daniel Lee (Inactive) [ 2021-03-04 ] |
|
Build verified: 5.5.2 (Drone #1810) The mentioned directories have been removed |