[MCOL-637] Getting errors when using cpimport mode 3 Created: 2017-03-24 Updated: 2020-08-25 Resolved: 2018-09-13 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | cpimport |
| Affects Version/s: | 1.0.6.1 |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Minor |
| Reporter: | Anders Karlsson | Assignee: | Andrew Hutchings (Inactive) |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS 6.4 |
||
| Description |
|
Loading a simple table gets an error, but only in mode 3:
Then a simple data file, a.dat:
Then run cpimport: Using table OID 3399 as the default JOB ID Error in loading job data |
| Comments |
| Comment by David Thompson (Inactive) [ 2017-03-24 ] | |||||
|
can you run: Not able to reproduce this locally so there must have been some series of steps before. | |||||
| Comment by Anders Karlsson [ 2017-03-24 ] | |||||
|
| |||||
| Comment by Anders Karlsson [ 2017-03-24 ] | |||||
|
$ ls -l /home2/local/mariadb/columnstore/data1/000.dir/000.dir/013.dir/072.dir/000.dir/FILE000.cdf | |||||
| Comment by David Thompson (Inactive) [ 2017-03-24 ] | |||||
|
does the same cpimport command still fail now? | |||||
| Comment by Andrew Hutchings (Inactive) [ 2018-09-13 ] | |||||
|
Is this a root or non-root install? Mode 3 writes to the data files directly so if this a root install the unprivileged user you are using cannot have access to the files. | |||||
| Comment by Anders Karlsson [ 2018-09-13 ] | |||||
|
I tested it with 1.1.5 now, and it seems to work as expected. I I run cpimport as root (with sudo) it works out of the box. If I run it as a non-root users I get reasonable errors, i.e. oermission problems accessing this or that file / directory. Changing a few permission flags and it works as expected. So the error messages I get are reasonable and fixable, and after fixing them it works, so you can close this issue I guess. | |||||
| Comment by Andrew Hutchings (Inactive) [ 2018-09-13 ] | |||||
|
I'll close it for now. We have longer term plans regarding permissions and ownership that would make these kind of issues go away. |