Hi Sugandha, > The ShapefileDataStore class not found in main is the error. Inspite of > specifying all the relevant jars in the classpath. Also, the same code works > in Eclipse. But not, in hadoop's prompt.
I tried to run some raster processing successfully through hadoop's mapreduce engine. It was quite easy to setup, and there were no issues related to teh geotools nature. So my only guess here is that the needed jars are not in the hadoop's classpath. Try to give that one look again. Good luck, Andrea > > > -- > Thanks & Regards, > Sugandha Naolekar > > > > > > > On Fri, Nov 9, 2012 at 1:13 PM, Jody Garnett <[email protected]> wrote: >> >> No experience with Hadoop - what kind of errors are you getting? >> >> -- >> Jody Garnett >> >> On 09/11/2012, at 5:08 AM, Sugandha Naolekar <[email protected]> >> wrote: >> >> Hello! >> >> I am running a GIS code through hadoop's prompt in following manner:\ >> >> -> Wrote the GIS code in Eclipse including all the GIS jars (relevant). >> -> Went into the dir. where my eclipse workspace is. >> -> Compiled the code by adding all the relevant jars in the classpath. >> *(The compilation was successful). >> -> Built the jar. >> -> Now running the same jar using hadoop: bin/hadoop jar >> my_jar_file_name.jar my_pkg_structure.Main_class_file >> >> Now, inspite of the code being error free, when i try to execute through >> hadoop's propmpt, it gives me multiple issues. >> >> Is there a workable alternative way to do the same without any hassles? >> >> Also note, the gid code runs beautifully in eclipse. Since, I have to do >> Geo processing over hadoop, I need to run it through hadoop's prompt. >> >> -- >> Thanks & Regards, >> Sugandha Naolekar >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_nov >> >> _______________________________________________ >> GeoTools-GT2-Users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_nov > _______________________________________________ > GeoTools-GT2-Users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ GeoTools-GT2-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
