+2 votes
in Apache Storm by
Explain how to write the Output into a file using Storm?

1 Answer

0 votes
by

In Spout, when you are reading file, make FileReader object in Open() method, as such that time it initializes the reader object for worker node. And use that object in nextTuple() method.

...