In the past I've found if I do a jstack when running some tests, it
sits forever inside of a hostname resolution step or something. I
never narrowed it down, though.

- Patrick

On Thu, Aug 7, 2014 at 10:45 AM, Dmitriy Lyubimov <dlie...@gmail.com> wrote:
> Thanks.
>
> let me check this hypothesis (i have dhcp connection on a private net but
> consequently not sure if there's an inverse).
>
>
> On Thu, Aug 7, 2014 at 10:29 AM, Madhu <ma...@madhu.com> wrote:
>
>> How long does it take to get a spark context?
>> I found that if you don't have a network connection (reverse DNS lookup
>> most
>> likely), it can take up 30 seconds to start up locally. I think a hosts
>> file
>> entry is sufficient.
>>
>>
>>
>> -----
>> --
>> Madhu
>> https://www.linkedin.com/in/msiddalingaiah
>> --
>> View this message in context:
>> http://apache-spark-developers-list.1001551.n3.nabble.com/Unit-test-best-practice-for-Spark-derived-projects-tp7704p7731.html
>> Sent from the Apache Spark Developers List mailing list archive at
>> Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org
>> For additional commands, e-mail: dev-h...@spark.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org
For additional commands, e-mail: dev-h...@spark.apache.org

Reply via email to