Red Hat Training

A Red Hat training course is available for Red Hat Gluster Storage

12.4. Disabling a Volume for use with Hadoop

To keep a volume available but not accessible by Hadoop for analytics, you can disable the volume for use with Hadoop. Perform the following steps to disable the volume:
  1. Open the terminal window of the server designated to be the Ambari Management Server and navigate to the /usr/share/rhs-hadoop-install/ directory.
  2. Run the Hadoop cluster configuration script as shown below:
    disable_vol.sh [-y] [--hadoop-mgmt-node node] [--user admin-user] [--pass admin-password] [--port mgmt-port-num] --yarn-master node volName
    For example,
    disable_vol.sh --hadoop-mgmt-node mgmt-node --yarn-master yarn-node HadoopVol