Hi Bhushan, i executed your command and i got the following exception:
java.io.IOException: Error opening job jar: ../contrib/index/hadoop-0.19.1-index.jar at org.apache.hadoop.util.RunJar.main(RunJar.java:91) at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:114) at java.util.jar.JarFile.<init>(JarFile.java:133) at java.util.jar.JarFile.<init>(JarFile.java:70) at org.apache.hadoop.util.RunJar.main(RunJar.java:89) what can it be due to? Regards, Raakhi On Mon, Jul 13, 2009 at 6:47 PM, bhushan_mahale < bhushan_mah...@persistent.co.in> wrote: > Hi Rakhi, > > Yes. There is not much information available. > You can use following command to run th Hadoop-index.jar: > > bin/hadoop jar -libjars src/contrib/index/lib/lucene-core-2.3.1.jar > contrib/index/hadoop-0.19.1-index.jar -inputPaths <input-path> -outputPath > <output-path-for-log> -indexPath <path-to-store-indexes> -conf > src/contrib/index/conf/index-config.xml > > I hope this helps. > > Regards, > - Bhushan > > > -----Original Message----- > From: Rakhi Khatwani [mailto:rakhi.khatw...@gmail.com] > Sent: Monday, July 13, 2009 3:07 PM > To: core-user > Subject: Using Hadoop Index located in contrib folder > > Hi, > i was going through Hadoop-contrib and came across hadoop-index.jar > was wondering how to use it. there is no help online. i would greatly > appreciate if i could get a small tutorial. forexample i have a file which > contains data, i would like to create index for it. how do i go about it? > > Regards > Raakhi > > DISCLAIMER > ========== > This e-mail may contain privileged and confidential information which is > the property of Persistent Systems Ltd. It is intended only for the use of > the individual or entity to which it is addressed. If you are not the > intended recipient, you are not authorized to read, retain, copy, print, > distribute or use this message. If you have received this communication in > error, please notify the sender and delete all copies of this message. > Persistent Systems Ltd. does not accept any liability for virus infected > mails. >