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 f
Are you sure the bolt ran properly? If so, on which machine are you
looking for the file?
On Wed, May 28, 2014 at 4:30 PM, Dilpreet Singh wrote:
> 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')
>