If you find that the size of your Kudu cloud deployment has exceeded previous
expectations, or you simply wish to allocate more storage to Kudu, use the following set of
high-level steps as a guide to increasing storage on your Kudu master or tablet server hosts.
You must work with your cluster's Hadoop administrators and the system administrators to
complete this process. Replace the file paths in the following steps to those relevant to your
setup.
-
Run a consistency check on the cluster hosts using
ksck
.
-
On all Kudu hosts, create a new file system with the storage capacity you require. For
example,
/new/data/dir
.
-
Shutdown the cluster services. For a cluster managed by Cloudera Manager, see
Stopping a cluster.
-
Copy the contents of your existing data directory,
/current/data/dir
,
to the new filesystem at /new/data/dir
.
-
Move your existing data directory,
/current/data/dir
, to a separate
temporary location such as /tmp/data/dir
.
-
Create a new
/current/data/dir
directory.
-
Mount
/new/data/dir
as /current/data/dir
. Make
changes to fstab
as needed.
-
Perform steps 4-7 on all Kudu hosts.
-
Startup cluster services.
-
Run a consistency check on the cluster hosts using
ksck
.
-
After 10 days, if everything is in working order on all the hosts, get approval from
the Hadoop administrators to remove the
/backup/data/dir
directory.