spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tae-Hyuk Ahn <ahn....@gmail.com>
Subject Re: How to access OpenHashSet in my standalone program?
Date Tue, 13 Jan 2015 20:39:30 GMT
Thank, Josh and Reynold. Yes, I can incorporate it to my package and
use it. But I am still wondering why you designed such useful
functions as private.

On Tue, Jan 13, 2015 at 3:33 PM, Reynold Xin <rxin@databricks.com> wrote:
> It is not meant to be a public API. If you want to use it, maybe copy the
> code out of the package and put it in your own project.
>
> On Fri, Jan 9, 2015 at 7:19 AM, Tae-Hyuk Ahn <ahn.no1@gmail.com> wrote:
>>
>> Hi,
>>
>> I would like to use OpenHashSet
>> (org.apache.spark.util.collection.OpenHashSet) in my standalone program. I
>> can import it without error as:
>>
>> import org.apache.spark.util.collection.OpenHashSet
>>
>> However, when I try to access it, I am getting an error as:
>>
>> object OpenHashSet in package collection cannot be accessed in package
>> org.apache.spark.util.collection
>>
>> I suspect this error is caused by private object. I am wondering how I can
>> use this object in my standalone program.
>>
>> Thanks,
>>
>> Ted
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-spark-user-list.1001560.n3.nabble.com/How-to-access-OpenHashSet-in-my-standalone-program-tp21065.html
>> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
>> For additional commands, e-mail: user-help@spark.apache.org
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message