Preston Carman created VXQUERY-207:
--------------------------------------

             Summary: Data and Index Directories Set In Configuration
                 Key: VXQUERY-207
                 URL: https://issues.apache.org/jira/browse/VXQUERY-207
             Project: VXQuery
          Issue Type: Task
            Reporter: Preston Carman
            Assignee: Steven Jacobs


The cluster configuration should be updated to set the cluster data nad index 
directories in the configuration.

If the cluster configuration has the data and index directories defined (maybe 
its required). The system can use these paths as the base for executing 
relative file paths for doc, collection and other collection based functions.

The configuration should have a separate path for each partition. The number of 
partitions should match the number of paths. The data_dir and index_dir could 
be defined for the whole cluster or by each node controller.

Example two node global cluster settings:
<cluster xmlns="cluster">
    <name>Two nodes - Two partitions</name>
    <username>joe</username>
    <data_dir>/path/to/partition/1,/path/to/partition/2</data_dir>
    <index_dir>/path/to/index/partition/1,/path/to/index/partition/2</index_dir>
    <master_node>
        <id>master</id>
        <client_ip>128.195.52.177</client_ip>
        <cluster_ip>192.168.100.0</cluster_ip>
    </master_node>
    <node>
        <id>nodeA</id>
        <cluster_ip>192.168.100.1</cluster_ip>
    </node>
    <node>
        <id>nodeB</id>
        <cluster_ip>192.168.100.2</cluster_ip>
    </node>
</cluster>




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

Reply via email to