checksum

Returns the checksum information of a file.

The usage is as follows:

$ hadoop fs -checksum [-v] URI
Arguments

-v

Displays blocks size for the file

Example:

$ hadoop fs -checksum hdfs://nn1.example.com/file1
$ hadoop fs -checksum file:///etc/hosts
Found a mistake? Seleсt text and press Ctrl+Enter to report it