crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Wills <jwi...@cloudera.com>
Subject Re: BloomFilter giving Serialization Exception
Date Fri, 21 Feb 2014 04:57:32 GMT
Hey Saranya,

That's a bug; I posted a fix in
https://issues.apache.org/jira/browse/CRUNCH-350 and will commit it in a
moment. Thanks for finding it!

Josh


On Thu, Feb 20, 2014 at 3:44 PM, Ramesh,Saranya
<Saranya.Ramesh@cerner.com>wrote:

> Hi
> I was trying to use the Bloom Filter but I keep getting Serialization
> Exception.
> Here is how my code looks like
>
> PTable<K, U> A
> PTable<K, V> B
> bloomFilterStrategy= new BlomFilterStragtegy<K,U,V>();
> bloomFilterJoinStrategy.join(A, B, JoinType.INNER_JOIN)
>
> Link to Exception
> http://pastebin.com/qxBwajzG
>
> So I tried to find out if any of my object was not Serializable. So I
> changed my code to this
>
> PTable<K, U> A
> PTable<K, V> B
> bloomFilterStrategy= new BlomFilterStragtegy<K,U,V>();
> for (final Pair<K, U> p : A.materialize()) {
> System.out.println(p);
> }
>
> for (final Pair<K, V> p : B.materialize()) {
>      System.out.println(p);
> }
>
> bloomFilterJoinStrategy.join(A, B, JoinType.INNER_JOIN)
>
> But still I get the same exception
>
> Saranya Ramesh
>
> CONFIDENTIALITY NOTICE This message and any included attachments are from
> Cerner Corporation and are intended only for the addressee. The information
> contained in this message is confidential and may constitute inside or
> non-public information under international, federal, or state securities
> laws. Unauthorized forwarding, printing, copying, distribution, or use of
> such information is strictly prohibited and may be unlawful. If you are not
> the addressee, please promptly delete this message and notify the sender of
> the delivery error by e-mail or you may call Cerner's corporate offices in
> Kansas City, Missouri, U.S.A at (+1) (816)221-1024.
>



-- 
Director of Data Science
Cloudera <http://www.cloudera.com>
Twitter: @josh_wills <http://twitter.com/josh_wills>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message