Andrew Wong created KUDU-2286:
---------------------------------

             Summary: Redistribute tablet data when removing directories
                 Key: KUDU-2286
                 URL: https://issues.apache.org/jira/browse/KUDU-2286
             Project: Kudu
          Issue Type: Improvement
          Components: fs, tablet
            Reporter: Andrew Wong


Today, the `update_dirs` tool will allow the removal of a directory, even if 
tablet data exists on it. For tablet servers, this means upon the next startup, 
those tablets will be re-replicated to other servers. For masters, this means 
the node will crash.

While a well-provisioned Kudu cluster should be able to handle both of these 
cases, it would be nice to redistribute the tablet's data locally to avoid 
either outcome. This entails moving the data blocks from the removed directory, 
and rewriting the tablet metadata (which keeps a record of the data directories 
across which the tablet's data is stored) to exclude the removed directory.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to