Re: TestFairScheduler failing - version 0.20. security 204

2011-12-18 Thread Merto Mertek
I figured out that if I run the test in console with ant
test-fairscheduler (my modification of target test in
src/contrib/build.xml) all tests runs ok. If I understand this right
probably testing is always done with ant and test files are never triggered
in eclipse ide.

Because I am rather new to all of this I would like to hear from you how do
you develop a new feature and how you test it. In my situation I would do
it as follows:
- develop a new feature ( make some code modification)
- build the scheduler with ant
- write unit tests
- run tests class from ant
- deploy a new scheduler build/jar to a cluster
- try it on a working cluster

Is there any other option how to try a new functionality locally or in any
other way? Any comments and suggestion are welcomed
Thank you..




On 17 December 2011 21:58, Merto Mertek masmer...@gmail.com wrote:

 Hi,

 I am having some problems with running the following test file

 org.apache.hadoop.mapred.TestFairScheduler

 Nearly all test fails, most of them with the error:
 javalang.runtimeexception: COULD NOT START JT. Here is a 
 tracehttp://pastebin.com/Jx90sYbw
 .
 Code was checkout from the svn branch, then I run ant build and ant
 eclipse. Test was run inside eclipse.

 I would like to solve those problems before modifying the scheduler. Any
 hints appreciated. Probably just some config issue?

 Thank you






TestFairScheduler failing - version 0.20. security 204

2011-12-17 Thread Merto Mertek
Hi,

I am having some problems with running the following test file

org.apache.hadoop.mapred.TestFairScheduler

Nearly all test fails, most of them with the error:
javalang.runtimeexception: COULD NOT START JT. Here is a
tracehttp://pastebin.com/Jx90sYbw
.
Code was checkout from the svn branch, then I run ant build and ant
eclipse. Test was run inside eclipse.

I would like to solve those problems before modifying the scheduler. Any
hints appreciated. Probably just some config issue?

Thank you