MapReduce compilation error
Hi, When I am compiling MapReduce source code after checking-in Eclipse, I am getting the following error: The declared package "" does not match the expected package "testjar" ClassWithNoPackage.java Hadoop-MR/src/test/mapred/testjar Any thoughts? Thanks, Bikash
Re: MapReduce compilation error
This shouldn't really interfere with your development. You may try to exclude it from Eclipse's build, perhaps. On Sat, Mar 19, 2011 at 1:39 AM, bikash sharma wrote: > Hi, > When I am compiling MapReduce source code after checking-in Eclipse, I am > getting the following error: > > The declared package "" does not match the expected package "testjar" > ClassWithNoPackage.java Hadoop-MR/src/test/mapred/testjar > > Any thoughts? > > Thanks, > Bikash > -- Harsh J http://harshj.com
Re: MapReduce compilation error
Today I ran into the same error and I was puzzled by the content of this file. What is the purpose of a test file that appears to have a deliberate error and no code what so ever? 2011/3/19 Harsh J : > This shouldn't really interfere with your development. You may try to > exclude it from Eclipse's build, perhaps. > > On Sat, Mar 19, 2011 at 1:39 AM, bikash sharma > wrote: >> Hi, >> When I am compiling MapReduce source code after checking-in Eclipse, I am >> getting the following error: >> >> The declared package "" does not match the expected package "testjar" >> ClassWithNoPackage.java Hadoop-MR/src/test/mapred/testjar >> >> Any thoughts? >> >> Thanks, >> Bikash >> > > > > -- > Harsh J > http://harshj.com > -- Met vriendelijke groeten, Niels Basjes
Re: MapReduce compilation error
Its a streaming test thing. Have a look at: https://issues.apache.org/jira/browse/MAPREDUCE-1686 On Thu, May 19, 2011 at 1:30 AM, Niels Basjes wrote: > Today I ran into the same error and I was puzzled by the content of this file. > What is the purpose of a test file that appears to have a deliberate > error and no code what so ever? > > > 2011/3/19 Harsh J : >> This shouldn't really interfere with your development. You may try to >> exclude it from Eclipse's build, perhaps. >> >> On Sat, Mar 19, 2011 at 1:39 AM, bikash sharma >> wrote: >>> Hi, >>> When I am compiling MapReduce source code after checking-in Eclipse, I am >>> getting the following error: >>> >>> The declared package "" does not match the expected package "testjar" >>> ClassWithNoPackage.java Hadoop-MR/src/test/mapred/testjar >>> >>> Any thoughts? >>> >>> Thanks, >>> Bikash >>> >> >> >> >> -- >> Harsh J >> http://harshj.com >> > > > > -- > Met vriendelijke groeten, > > Niels Basjes > -- Harsh J