The API docs already say: "maximum time to wait for the job, in milliseconds"
On Tue, Oct 4, 2016 at 7:14 PM Sesterhenn, Mike <msesterh...@cars.com> wrote: > Nevermind. Through testing it seems it is MILLISECONDS. This should be > added to the docs. > ------------------------------ > *From:* Sesterhenn, Mike <msesterh...@cars.com> > *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() function? > (ie. is that seconds, milliseconds, nanoseconds, ...?) > > > I was searching through the source but it got hairy pretty quickly. > > > Thanks.... > > > >