[ERROR] /Users/chsieh/gitebay/NewbieScalding/src/main/scala/wordcount.scala:62: error: overloaded method value apply with alternatives:
[ERROR] [T](paths: Seq[String])(implicit mf: Manifest[T], implicit conv: com.twitter.scalding.TupleConverter[T], implicit tset: com.twitter.scalding.TupleSetter[T], implicit avroType: com.twitter.scalding.avro.AvroSchemaType[T])com.twitter.scalding.avro.PackedAvroSource[T] <and>
[ERROR] [T](path: String)(implicit evidence$1: com.twitter.scalding.avro.AvroSchemaType[T], implicit evidence$2: Manifest[T], implicit evidence$3: com.twitter.scalding.TupleConverter[T])com.twitter.scalding.avro.PackedAvroSource[T]
[ERROR] cannot be applied to (String, org.apache.avro.Schema)
[ERROR] o.write(PackedAvroSource(args("output"), avroSchema))
[ERROR] ^
[ERROR] one error found
Caused by: java.lang.AssertionError: assertion failed: Arity of (class com.twitter.scalding.LowPriorityTupleSetters$$anon$1) is 1, which doesn't match: + ('word', 'size')
at scala.Predef$.assert(Predef.scala:179)
at com.twitter.scalding.TupleArity$class.assertArityMatches(TupleArity.scala:42)
at com.twitter.scalding.LowPriorityTupleSetters$$anon$1.assertArityMatches(TupleSetter.scala:37)
at com.twitter.scalding.RichPipe.flatMapTo(RichPipe.scala:430)
at com.twitter.scalding.typed.TypedPipeInst.toPipe(TypedPipe.scala:585)
at com.twitter.scalding.typed.TypedPipe$class.write(TypedPipe.scala:306)
at com.twitter.scalding.typed.TypedPipeInst.write(TypedPipe.scala:512)
at WordCountJob.<init>(wordcount.scala:62)
... 16 more
def writePackedAvro[T](pipe: TypedPipe[T], path: String)(implicit mf: Manifest[T], st: AvroSchemaType[T], conv: TupleConverter[T], set: TupleSetter[T], flow: FlowDef, mode: Mode): Unit = { val sink = PackedAvroSource[T](path) pipe.write(sink) }
def writeUnpackedAvro[T <: Product](pipe: TypedPipe[T], path: String, schema: Schema)
[ERROR] /Users/chsieh/gitebay/NewbieScalding/src/main/scala/wordcount.scala:60: error: could not find implicit value for parameter st: com.twitter.scalding.avro.AvroSchemaType[WordCount]
[ERROR] avro.writePackedAvro[WordCount](o, args("output)"))
trait AvroSchemaType[T] extends Serializable { def schema: Schema}
[ERROR] /Users/chsieh//NewbieScalding/src/main/scala/wordcount.scala:38: error: type arguments [com.fun.WordCount] do not conform to method writeUnpackedAvro's type parameter bounds [T <: Product]
[ERROR] avro.writeUnpackedAvro[WordCount](data, args("output") + "_unpacked.avro")