Skip to content

Commit

Permalink
Stringify still not working. FML.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcrankshaw committed Feb 23, 2014
1 parent 6a4e492 commit da93886
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 204 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ import org.apache.spark.serializer.KryoRegistrator
import org.apache.spark.util.collection.BitSet
import org.apache.spark.util.BoundedPriorityQueue
import scala.collection.mutable
import org.apache.hadoop.io.LongWritable
import org.apache.hadoop.io.Text
import org.apache.hadoop.io.{LongWritable, Text}
// import org.apache.hadoop.conf.Configuration
import org.apache.mahout.text.wikipedia._

Expand All @@ -52,6 +51,9 @@ class GraphKryoRegistrator extends KryoRegistrator {
kryo.register(classOf[LongWritable])
kryo.register(classOf[Text])
kryo.register(classOf[WikiArticle])
// kryo.register(classOf[MakeString])
// kryo.register(classOf[PrePostProcessWikipedia])
// kryo.register(classOf[(LongWritable, Text)])

// This avoids a large number of hash table lookups.
kryo.setReferences(false)
Expand Down

0 comments on commit da93886

Please sign in to comment.