Sorry if this is not the right place to ask about Unit Test.
There are logs in ES and I wrote MR job which reads documents from ES and saves aggregation result back to ES.
I'm wondering How can I do Unit Test for My MR job on my local PC efficiently and simply. I'm reading es-hadoop source code and there seems like
EsEmbeddedServer and resources about artists.dat exist. I think you are doing Unit Test using these. But I can't understand how to adapt your approach exactly.
It would be really appreciated it if you could help me.
One more question.
My logs are come from Apache Storm and saved into ES. So, I have to do Unit Test if my Bolt works fine as well. How do you test elasticsearch Storm. Is there something like embedded Storm?
Thanks in advanced.