@Praveen PentaReddy,
As @Timothy Spann mentioned above - hive MD5 should work. But since you don't have it as built-in in your version of Hive, you still have few more option to choose from:
- Use built-in "hash" function (32 bits, since it is INT)
- Create your custom UDF and implement checksum as you would do in regular Java
- Use ReflectUDF:
SELECT reflect('org.apache.commons.codec.digest.DigestUtils', '<your_method>', 'your_string')
where <your_method> can be: md5Hex, sha1Hex, etc...
Consider the trade-off on coding/dev investments and performance.