storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dilpreet Singh <dilpreet...@gmail.com>
Subject Python bolt writing to files
Date Wed, 28 May 2014 20:30:43 GMT
Hi,

I'm writing the output of a python bolt to a file by:

f = open('/tmp/clusters.txt', 'a')
f.write(json.dumps(self.clusters) + 'l\n')
f.close()

It is working fine while testing locally, however, there is no file formed
after it is submitted to the cluster.
Any ideas on how to save the output from python bolt to a file?

Thanks.

Regards,
Dilpreet

Mime
View raw message