diff options
author | Ankur Dave <ankurdave@gmail.com> | 2014-01-09 00:13:23 -0800 |
---|---|---|
committer | Ankur Dave <ankurdave@gmail.com> | 2014-01-09 00:13:23 -0800 |
commit | 7309a29c755ae833f35523546e851be4c2f328be (patch) | |
tree | 5eabba253c42b252026ac583fc60382e34c71e7b /core/src | |
parent | 22374559a23adbcb5c286e0aadc7cd40c228726f (diff) | |
download | spark-7309a29c755ae833f35523546e851be4c2f328be.tar.gz spark-7309a29c755ae833f35523546e851be4c2f328be.tar.bz2 spark-7309a29c755ae833f35523546e851be4c2f328be.zip |
Removed Kryo dependency and graphx-shell
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/scala/org/apache/spark/util/collection/BitSet.scala | 2 | ||||
-rw-r--r-- | core/src/main/scala/org/apache/spark/util/collection/OpenHashSet.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/scala/org/apache/spark/util/collection/BitSet.scala b/core/src/main/scala/org/apache/spark/util/collection/BitSet.scala index 0e12779152..f6e03bc0e1 100644 --- a/core/src/main/scala/org/apache/spark/util/collection/BitSet.scala +++ b/core/src/main/scala/org/apache/spark/util/collection/BitSet.scala @@ -22,7 +22,7 @@ package org.apache.spark.util.collection * A simple, fixed-size bit set implementation. This implementation is fast because it avoids * safety/bound checking. */ -class BitSet(numBits: Int) { +class BitSet(numBits: Int) extends Serializable { private val words = new Array[Long](bit2words(numBits)) private val numWords = words.length diff --git a/core/src/main/scala/org/apache/spark/util/collection/OpenHashSet.scala b/core/src/main/scala/org/apache/spark/util/collection/OpenHashSet.scala index c908512b0f..895ccb9be0 100644 --- a/core/src/main/scala/org/apache/spark/util/collection/OpenHashSet.scala +++ b/core/src/main/scala/org/apache/spark/util/collection/OpenHashSet.scala @@ -279,7 +279,7 @@ object OpenHashSet { * A set of specialized hash function implementation to avoid boxing hash code computation * in the specialized implementation of OpenHashSet. */ - sealed class Hasher[@specialized(Long, Int) T] { + sealed class Hasher[@specialized(Long, Int) T] extends Serializable { def hash(o: T): Int = o.hashCode() } |