You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Andrew Wong (JIRA)" <ji...@apache.org> on 2017/09/05 18:29:00 UTC

[jira] [Commented] (KUDU-2062) Tool to add and configure a data dir to an existing server

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

Andrew Wong commented on KUDU-2062:
-----------------------------------

A few more things to note:
* It would be nice if the disk configuration could be run regardless of whether the server were offline. Online configuration would be slightly more complicated, requiring some coordination with the DataDirManager and its lock, but I think this would be a reasonable feature.
* The invariant when creating a new FS layout is that the directories be empty. I think it makes sense to keep this invariant for a newly added disk.
* The block manager instance format may change to include more disk state (e.g. disk health, disk paths) that may also need to be edited in the future. This may or may not affect the design of the tooling.

> Tool to add and configure a data dir to an existing server
> ----------------------------------------------------------
>
>                 Key: KUDU-2062
>                 URL: https://issues.apache.org/jira/browse/KUDU-2062
>             Project: Kudu
>          Issue Type: New Feature
>          Components: fs
>            Reporter: Andrew Wong
>
> When a Kudu server starts up, it checks the dirs listed in  --fs_data_dirs to see if it needs to create a new fs layout. If a layout already exists in these directories, it checks the integrity of the metadata in these directories (e.g. ensuring the disks have a cohesive view of the data dir configuration) and proceeds.
> Right now, the only way to add a directory to a server and ensure the integrity of the fs layout is to wipe the entire server and add to --fs_data_dirs. It would be nice if we had a tool to instead update the appropriate files needed to pass the integrity check when adding a data dir.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)