I have to calculate space count percentage from hadoop. I'm trying to develop a script related to that. - I'm using command 'hadoop fs -count -q -h /db/xxxxx'
- this is the output i get 100 T 100.0 T 260 T 16.3 T 51.5 K 672.6 K 81.2 T /db/XXXXX
- i need to get the 16.3 number to calculate the usage percentage. Anyone did it using similar method? any help is appreciated.!