You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by "Sesterhenn, Mike" <ms...@cars.com> on 2016/10/04 18:02:25 UTC

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....



Re: Time-unit of RDD.countApprox timeout parameter

Posted by "Sesterhenn, Mike" <ms...@cars.com>.
It only exists in the latest docs, not in versions <= 1.6.

________________________________
From: Sean Owen <so...@cloudera.com>
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: "maximum time to wait for the job, in milliseconds"

On Tue, Oct 4, 2016 at 7:14 PM Sesterhenn, Mike <ms...@cars.com>> wrote:

Nevermind. Through testing it seems it is MILLISECONDS.  This should be added to the docs.

________________________________
From: Sesterhenn, Mike <ms...@cars.com>>
Sent: Tuesday, October 4, 2016 1:02:25 PM
To: user@spark.apache.org<ma...@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....



Re: Time-unit of RDD.countApprox timeout parameter

Posted by Sean Owen <so...@cloudera.com>.
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 <ms...@cars.com>
wrote:

> Nevermind. Through testing it seems it is MILLISECONDS.  This should be
> added to the docs.
> ------------------------------
> *From:* Sesterhenn, Mike <ms...@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....
>
>
>
>

Re: Time-unit of RDD.countApprox timeout parameter

Posted by "Sesterhenn, Mike" <ms...@cars.com>.
Nevermind. Through testing it seems it is MILLISECONDS.  This should be added to the docs.

________________________________
From: Sesterhenn, Mike <ms...@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....