Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Format mount prior to ganglia setup

  • Loading branch information...
commit dc844603d61411cd69ee8d845c865fda4f962fb7 1 parent 7351901
authored

Showing 1 changed file with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. 10  bin/hbase-ec2-init-remote.sh
10  bin/hbase-ec2-init-remote.sh
@@ -61,6 +61,11 @@ if [ "$EXTRA_PACKAGES" != "" ] ; then
61 61
   yum -y install ${pkg[@]:1}
62 62
 fi
63 63
 
  64
+# Reformat sdb as xfs
  65
+umount /mnt
  66
+mkfs.xfs -f /dev/sdb
  67
+mount -o noatime /dev/sdb /mnt
  68
+
64 69
 # Ganglia
65 70
 
66 71
 if [ "$IS_MASTER" = "true" ]; then
@@ -83,11 +88,6 @@ else
83 88
   service gmond start
84 89
 fi
85 90
 
86  
-# Reformat sdb as xfs
87  
-umount /mnt
88  
-mkfs.xfs -f /dev/sdb
89  
-mount -o noatime /dev/sdb /mnt
90  
-
91 91
 # Probe for additional instance volumes
92 92
 
93 93
 # /dev/sdb as /mnt is always set up by base image

0 notes on commit dc84460

Please sign in to comment.
Something went wrong with that request. Please try again.