java - Is that hadoop 2 is atomic in transcation -
i read through many blogs saying hadoop atomic in nature in version 2 on-wards,
but when experiment it, shows not atomic in nature.
scenario 1:
i used tomcat upload 1gb of data in hdfs, when stopped hadoop in between forcefully, data transcation not proper, becoz old data (half of data) still remains there in it.
scenario 2:
when uploading same 1gb file location of hdfs, stopped tomcat forcefully still data transaction not proper, becoz old data (half of data) still remains there in it.
anyone pls going wrong?? need different kind of test in it.
please tell me whether hadoop supports atomic transcation through map reduce?
thanks, hari
hadoop's hdfs not transactional. need take care of ensuring data complete
Comments
Post a Comment