Re: Time-unit of RDD.countApprox timeout parameter

2016-10-04 Thread Sesterhenn, Mike
It only exists in the latest docs, not in versions <= 1.6. From: Sean Owen Sent: Tuesday, October 4, 2016 1:51:49 PM To: Sesterhenn, Mike; user@spark.apache.org Subject: Re: Time-unit of RDD.countApprox timeout parameter The API docs already say: "maxi

Re: Time-unit of RDD.countApprox timeout parameter

2016-10-04 Thread Sean Owen
rom:* Sesterhenn, Mike > *Sent:* Tuesday, October 4, 2016 1:02:25 PM > *To:* user@spark.apache.org > *Subject:* Time-unit of RDD.countApprox timeout parameter > > > Hi all, > > > Does anyone know what the unit is on the 'timeout' parameter to the > RDD.countApprox

Re: Time-unit of RDD.countApprox timeout parameter

2016-10-04 Thread Sesterhenn, Mike
Nevermind. Through testing it seems it is MILLISECONDS. This should be added to the docs. From: Sesterhenn, Mike Sent: Tuesday, October 4, 2016 1:02:25 PM To: user@spark.apache.org Subject: Time-unit of RDD.countApprox timeout parameter Hi all, Does anyone

Time-unit of RDD.countApprox timeout parameter

2016-10-04 Thread Sesterhenn, Mike
Hi all, Does anyone know what the unit is on the 'timeout' parameter to the RDD.countApprox() function? (ie. is that seconds, milliseconds, nanoseconds, ...?) I was searching through the source but it got hairy pretty quickly. Thanks