Re: toolrunner issue

2014-09-01 Thread rab ra
Yes, its my bad.. U r right.. Thanks On 1 Sep 2014 17:11, "unmesha sreeveni" wrote: > public class MyClass extends Configured implements Tool{ > public static void main(String[] args) throws Exception { > Configuration conf = new Configuration(); > int res = ToolRunner.run(conf, new MyClass(), a

Re: toolrunner issue

2014-09-01 Thread unmesha sreeveni
public class MyClass extends Configured implements Tool{ public static void main(String[] args) throws Exception { Configuration conf = new Configuration(); int res = ToolRunner.run(conf, new MyClass(), args); System.exit(res); } @Override public int run(String[] args) throws Exception { // T

toolrunner issue

2014-09-01 Thread rab ra
Hello I m having an issue in running one simple map reduce job. The portion of the code is below. It gives a warning that Hadoop command line parsing was not peformed. This occurs despite the class implements Tool interface. Any clue? public static void main(String[] args) throws Exception {