incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <>
Subject /var/tmp in FailureDetector
Date Wed, 20 Oct 2010 08:48:28 GMT
I was reading through some code and noticed the following in FailureDetector.dumpInterArrivealTimes()

            FileOutputStream fos = new FileOutputStream("/var/tmp/output-" + System.currentTimeMillis()
+ ".dat", true);

If this is meant to be cross platform I'm happy to create a bug and change it to use File.createTempFile()

Also I could not find any use of the  dumpInterArrivalTimes(InetAddress ep) overload. Anyone
know if it should be kept?


View raw message