hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "小学园PHP" <xxy-...@qq.com>
Subject How can i use the "Get File Checksum" in WebHDFS?
Date Mon, 22 Apr 2013 07:23:04 GMT
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.
View raw message