You can try cleaning and rebuilding: ant clean package
Then you can try running your tests: ant test How do you know that it is using hadoop 20? chris On 9/11/12 3:57 PM, "Gang Tim Liu" <g...@fb.com> wrote: >Not working. > >I must miss something. > >What command do you use after changing it? > >thanks > >On 9/11/12 2:31 PM, "Chris Drome" <cdr...@yahoo-inc.com> wrote: > >>You might try modifying the build.properties file as follows: >> >>hadoop.version=${hadoop-0.23.version} >>hadoop.security.version=${hadoop-0.23.version} >>hadoop.mr.rev=23 >> >>This works for me. >> >>chris >> >> >> >>On 9/11/12 1:59 PM, "Gang Tim Liu" <g...@fb.com> wrote: >> >>>Hello all, >>> >>>I am looking for help and thank first. >>> >>>How to run a test case for hadoop 23 only? Exact command? >>> >>>I tried the following and it didn't work: >>> >>>ant ... -Dhadoop.version=0.23.1 -Dhadoop-0.23.version=0.23.1 >>>-Dhadoop.mr.rev=23 >>> >>> >>>It still gets 0.20 as hadoop version. >>> >>>Thanks >>> >>>Tim >>> >> >