compile hadoop failed, src/test/lib does not exist?

2012-10-13 Thread Nan Zhu
Hi, all I'm modifying the source code of hadoop, specifically, source code of FairScheduler In last weeks, no problem during my development, but last night, when i add some code on PoolSchedulable.java, I cannot build Hadoop source code, ant tells that

回复: compile hadoop failed, src/test/lib does not exist?

2012-10-13 Thread Nan Zhu
I added that directory manually, but failed when compiling compile-hdfs-classes: build.xml:556: java.lang.NoClassDefFoundError: javax/servlet/jsp/JspFactory the jetty library missing? how to add? Best, -- Nan Zhu School of Computer Science, McGill University 在

回复: compile hadoop failed, src/test/lib does not exist?

2012-10-13 Thread Nan Zhu
I build hadoop.jar -- Nan Zhu School of Computer Science, McGill University 在 2012年10月13日星期六,下午12:15,Chen He 写道: Hi Nan you can uncheck the test package and have a try. Chen On Sat, Oct 13, 2012 at 10:49 AM, Nan Zhu zhunans...@gmail.com (mailto:zhunans...@gmail.com) wrote:

Re: 回复: compile hadoop failed, src/test/lib does not exist?

2012-10-13 Thread Chen He
addition, the web module package also. Probably your modification affect the interaction between fair-sharing scheduler and the web interface if you did not make mistake on losing library. On Sat, Oct 13, 2012 at 11:15 AM, Chen He airb...@gmail.com wrote: Hi Nan you can uncheck the test

回复: compile hadoop failed, src/test/lib does not exist?

2012-10-13 Thread Nan Zhu
I just checked jar option the only related part to web interface I modified is fairschedulerservlet, but in the passed days, I modified it for many times, no problem happened, really weird... Best, -- Nan Zhu School of Computer Science, McGill University 在

Re: 回复: compile hadoop failed, src/test/lib does not exist?

2012-10-13 Thread Chen He
hmmm... Interesting, I used to modify the fair-sharing scheduler in hadoop 0.21, there was no problem. Which version you are working on? Chen On Sat, Oct 13, 2012 at 11:28 AM, Nan Zhu zhunans...@gmail.com wrote: I just checked jar option the only related part to web interface I modified is

回复: compile hadoop failed, src/test/lib does not exist?

2012-10-13 Thread Nan Zhu
1.0.3 stable release -- Nan Zhu School of Computer Science, McGill University 在 2012年10月13日星期六,下午12:34,Chen He 写道: hmmm... Interesting, I used to modify the fair-sharing scheduler in hadoop 0.21, there was no problem. Which version you are working on? Chen On Sat, Oct 13, 2012 at