FileInputFormat.setInputPaths Problem

2010-12-04 Thread Rawan AlSaad
Dear all, I would very much appreciate your advise on this problem [I am using Hadoop 20.0]: I need to know how to pass the input folder path to the java class throught the function( FileInputFormat.setInputPaths(conf, new Path("input")) I have tried many alternatives to change the secon

Re: FileInputFormat.setInputPaths Problem

2010-12-04 Thread Harsh J
Hi, 2010/12/4 Rawan AlSaad : > I need to know how to pass the input folder path to the java class throught > the function( FileInputFormat.setInputPaths(conf, new Path("input")) Try FileInputFormat.addInputPath(...) for a single path entry at a time perhaps? I'm not sure what's going wrong here

RE: FileInputFormat.setInputPaths Problem

2010-12-04 Thread Rawan AlSaad
Thank you for your suggestion, but it will not work since the only available method is addInputPaths and no method for addInputPath! I am using only one path at a time, currently trying to use these two lines and getting the below error: FileInputFormat.setInputPaths(conf, new Path(args[0]))

Native code and autoconf generated files

2010-12-04 Thread Noah Watkins
Hi, This question pertains to the 0.21 release. When adding code to the Hadoop native code library what is the preferred method for regenerating Makefile.in? I've tried to use autoreconf, but it seems as though my newer version of autotools is causing compilation problems for the other native

Re: Native code and autoconf generated files

2010-12-04 Thread Eli Collins
Hey Noah, The short answer is use older versions (RHEL/Centos 5) of autotools. Longer term we need to stop checking in auto-generated files (HADOOP-6436). This pertains to trunk and all releases btw. Thanks, Eli On Sat, Dec 4, 2010 at 3:43 PM, Noah Watkins wrote: > Hi, > > This question perta