They are lucene indices. Do you not know what to do with them? (You need to open a lucene Searcher -- or whatever its called these days -- and pass path to your index ... or open a MultiSearcher across all indices. Then run queries). St.Ack
On Tue, Apr 28, 2009 at 4:24 AM, Puri, Aseem <[email protected]>wrote: > Thanks Stack and Lars > > My exception is solved. I able to run that program and I got > some files in my output directory. But I don't know how I can use them > for my search purpose. Can you please tell me how I should proceed now > so I can make search HBase? > > Thanks & Regards > Aseem Puri > > -----Original Message----- > From: Lars George [mailto:[email protected]] > Sent: Tuesday, April 28, 2009 3:57 PM > To: [email protected] > Subject: Re: search on HBase > > Hi Aseem, > > As Stack suggests, you have to make sure both Lucene libs are in the > Hadoop classpath, i.e. added to the HADOOP_CLASSPATH in hadoop-env.sh. > This includes lucene-core-x.y.z.jar as well as > lucene-analyzers-x.y.z.jar. The latter seems to be missing from yours. > > Lars > > > Puri, Aseem wrote: > > Hi > > During while running BuildTableIndex I got this exception. Can > > anybody tell about how I can solve this exception? > > > > 09/04/26 16:24:23 WARN mapred.JobClient: Use GenericOptionsParser for > > parsing the arguments. Applications should implement Tool for the > same. > > 09/04/26 16:24:24 INFO mapred.TableInputFormatBase: split: 0->master:, > > 09/04/26 16:24:25 INFO mapred.JobClient: Running job: > > job_200904261454_0018 > > 09/04/26 16:24:26 INFO mapred.JobClient: map 0% reduce 0% > > 09/04/26 16:24:41 INFO mapred.JobClient: map 100% reduce 0% > > 09/04/26 16:25:03 INFO mapred.JobClient: Task Id : > > attempt_200904261454_0018_r_000000_0, Status : FAILED > > java.io.IOException: Error in creating an analyzer object > > org.apache.lucene.analysis.standard.StandardAnalyzer > > at > > > org.apache.hadoop.hbase.mapred.IndexOutputFormat.getRecordWriter(IndexOu > > tputFormat.java:75) > > at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:404) > > at org.apache.hadoop.mapred.Child.main(Child.java:158) > > > > > > Thanks & Regards > > Aseem Puri > > > > -----Original Message----- > > From: Stack [mailto:[email protected]] > > Sent: Wednesday, April 22, 2009 9:32 PM > > To: [email protected] > > Subject: Re: search on HBase > > > > See the build table index mr job in the hbase mapred package > > > > Stack > > > > > > > > On Apr 22, 2009, at 8:21, "Puri, Aseem" <[email protected]> > > wrote: > > > > > >> Hi > >> > >> I am a new HBase user. I have a table in which I am > storing > >> data. Can anybody tell me how should I search values in table with > >> help > >> of map reduce. If somebody have some code snippet then please share > >> with > >> me. > >> > >> > >> > >> Thanks & Regards > >> > >> Aseem Puri > >> > >> > >> > >> > > > > >
