You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by 小学园PHP <xx...@qq.com> on 2013/04/22 09:23:04 UTC

How can i use the "Get File Checksum" in WebHDFS?

When i request for "Get File Checksum" with WebHDFS, i got this:{"FileChecksum":{"algorithm":"MD5-of-0MD5-of-512CRC32","bytes":"00000200000000000000000035b986d923acebaffa5b5c7f31c0cd0000000000","length":28}}


OK, but in the algorithm, there is MD5 and CRC32. How  does this work? My client for WebHDFS just use the md5, and the hash value is 6603abc8df3002cf66e73d715d32a3b0.


Can i compare the two hash? I mean the 00000200000000000000000035b986d923acebaffa5b5c7f31c0cd0000000000  and  6603abc8df3002cf66e73d715d32a3b0.