asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Hillery (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ASTERIXDB-1482) NCService installation: only the first iodevice contains the "storage" directory
Date Fri, 17 Jun 2016 09:08:05 GMT

    [ https://issues.apache.org/jira/browse/ASTERIXDB-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15335745#comment-15335745
] 

Chris Hillery commented on ASTERIXDB-1482:
------------------------------------------

After some serious code diving, I've figured out what's causing this. It's going to take a
bit of time to fix, but there is a work-around for the moment. To make this work:

1. Put iodevices= and storagedir= in each individual [nc/foo] section, NOT in the default
[nc] section.

2. iodevices should be a comma-separated list of paths on each NC machine.

3. The value of storagedir needs to be a comma-separated list the *same length* as iodevices.
Currently the actual *values* in this list are ignored; each iodevice directory will contain
a directory named "storage".

So, for example, the following successfully creates two partitions for nc1:

[nc/nc1]
iodevices=/tmp/asterix/nc1/iodevice1,/tmp/asterix/nc1/iodevice2
storagedir=fred,barney


> NCService installation: only the first iodevice contains the "storage" directory
> --------------------------------------------------------------------------------
>
>                 Key: ASTERIXDB-1482
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1482
>             Project: Apache AsterixDB
>          Issue Type: Bug
>            Reporter: Yingyi Bu
>            Assignee: Chris Hillery
>
> It seems that non-first iodevices do not contain the "storage" directory and is not considered
for storage usage.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message