Description
Change it so instead of hbase.rootdir looking like this:
drwxr-xr-x 5 stack staff 170 Aug 5 14:43 .data -rw-r--r-- 1 stack staff 12 Aug 5 14:43 .hbase.id.crc -rw-r--r-- 1 stack staff 12 Aug 5 14:43 .hbase.version.crc drwxr-xr-x 3 stack staff 102 Aug 5 14:43 .logs drwxr-xr-x 2 stack staff 68 Aug 5 14:43 .oldlogs drwxr-xr-x 3 stack staff 102 Aug 5 14:43 .tmp -rwxrwxrwx 1 stack staff 42 Aug 5 14:43 hbase.id -rwxrwxrwx 1 stack staff 7 Aug 5 14:43 hbase.version
It looks like this:
drwxr-xr-x 5 stack staff 170 Aug 5 14:43 data -rw-r--r-- 1 stack staff 12 Aug 5 14:43 .hbase.id.crc -rw-r--r-- 1 stack staff 12 Aug 5 14:43 .hbase.version.crc drwxr-xr-x 3 stack staff 102 Aug 5 14:43 logs drwxr-xr-x 2 stack staff 68 Aug 5 14:43 oldlogs drwxr-xr-x 3 stack staff 102 Aug 5 14:43 tmp -rwxrwxrwx 1 stack staff 42 Aug 5 14:43 hbase.id -rwxrwxrwx 1 stack staff 7 Aug 5 14:43 hbase.version
Also removes any ROOT dir if it is present.