checksum
Returns the checksum information of a file.
The usage is as follows:
$ hadoop fs -checksum [-v] URI
-v |
Displays blocks size for the file |
Example:
$ hadoop fs -checksum hdfs://nn1.example.com/file1
$ hadoop fs -checksum file:///etc/hosts