Sunday, August 25, 2013

Thursday, August 22, 2013

Decipher hdfs dfs -count -q

sudo -u auser -c "hadoop dfs -count -q /projects/xyz"
| QUOTA      | REMAINING_QUOTA | SPACE_QUOTA    | REMAINING_SPACE_QUOTA | DIR_COUNT | FILE_COUNT | CONTENT_SIZE    |    FILE_NAME |
| 6679830  |  3611848        | 1880164883496960 | 1404566776912681      |    32522  |   3035460  | 155321286319159 |   /projects/xyz |


not sure, why the docs are not so clear. On the docs section on hadoop its only this.

List directories via 'ls -d' - surprised me

List directories via 'ls -d' - surprised me This was one of those feelings where I was left surprised with the humble linux comm...