I have been trying to figure out if one can develop unit tests for custom input and output format implementations. I have found this example with MRunit :http://ift.tt/1ec1lJ8. It looks like MRUnit is good for testing mapper and reducer only. I also saw this post :How to do unit testing of custom RecordReader and InputFormat classes?. But looks like this particular example depends on HDFS paths?
Ideally, what I need is to be able to test custom input and output format implementation as junit test case from IDE environment (Eclipse).
Aucun commentaire:
Enregistrer un commentaire