is Hbase Scan really need thorough Get (Hbase+solr+spark)

2016-01-19 Thread beeshma r
Hi I trying to integrated Hbase-solr-spark. Solr is indexing all the documents from Hbase through hbase-indexer . Through the Spark I am manipulating all datasets .Thing is after getting the solrdocuments from the solr query ,it has the rowkey and rowvalues .So directly i got the rowkeys and

Re: is Hbase Scan really need thorough Get (Hbase+solr+spark)

2016-01-19 Thread beeshma r
ys R1...R5. >> Then list will be [R1,R2,...R5] >> >> Then table.get(list) will do something like: >> >> res=[] >> for k in list: >> v = getFromHbaseWithRowKey(k)## This is just for >> illustration, there is no such function :) >>

Serialization stack error

2016-01-15 Thread beeshma r
HI i am trying to get data from Solr server . This is my code /*input is JavaRDD li *output is JavaRDD for scanning Hbase*/ public static JavaRDD getdocs(JavaRDD li) { JavaRDD newdocs=li; JavaRDD n=newdocs.map(new Function(){ public Get

Re: Serialization stack error

2016-01-15 Thread beeshma r
:40 AM, Ted Yu <yuzhih...@gmail.com> wrote: > Here is signature for Get: > > public class Get extends Query > > implements Row, Comparable { > > It is not Serializable. > > > FYI > > On Fri, Jan 15, 2016 at 6:37 AM, beeshma r <beeshm...