Hi, I have a bolt written in python which tries to open a file and store the *storm.emit* output to a file. I do not see any errors while running, but I am not able to find the location of file. Below are some portion of the code.
class PythonPredictBolt(storm.BasicBolt): def process(self, tup): f = open('output.txt', 'w') data = tup.values[0].split(':') # Some Work result = "Predicted: " + str(rms) f.write(result) storm.emit([result]) f.close() PythonPredictBolt().run() I am not sure how to proceed with this. Please help me with this. Thanks and Regards, Sitakanta Mishra