Re: sequenceFile and groupByKey

2014-03-10 Thread Yishu Lin
; org.apache.hadoop.io.Text >> >> another thing is: >> t2.take(5) - returns 5 identical items, i guess I have to map/clone items, >> but i get something like org.apache.hadoop.io.Text cannot be cast to >> java.lang.String, how do i clone it? >> >> Thanks. >> >> >> >> -- >> View this message in context: >> http://apache-spark-user-list.1001560.n3.nabble.com/sequenceFile-and-groupByKey-tp2428.html >> Sent from the Apache Spark User List mailing list archive at Nabble.com. >> >

Re: sequenceFile and groupByKey

2014-03-10 Thread Yishu Lin
org.apache.hadoop.io.Text > > another thing is: > t2.take(5) - returns 5 identical items, i guess I have to map/clone items, > but i get something like org.apache.hadoop.io.Text cannot be cast to > java.lang.String, how do i clone it? > > Thanks. > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/sequenceFile-and-groupByKey-tp2428.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. >

Re: sequenceFile and groupByKey

2014-03-09 Thread Shixiong Zhu
org.apache.hadoop.io.Text cannot be cast to > java.lang.String, how do i clone it? > > Thanks. > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/sequenceFile-and-groupByKey-tp2428.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. >

sequenceFile and groupByKey

2014-03-08 Thread Kane
nabble.com/sequenceFile-and-groupByKey-tp2428.html Sent from the Apache Spark User List mailing list archive at Nabble.com.