You can use a checksum to compare the file in the source and the file uploaded on the hdfs.
Try this:
$ hdfs dfs -cat /file/in/hdfs | md5sum
$ hdfs dfs -cat /file/at/source | md5sum
If these two commands return the same value, then the file is not corrupted.