In the test suite user.dir resolves to the root of your workspace +
"/build/test/data". On Windows for example, my workspace is:
C:\workspace\HBase-test so user.dir resolves to:
[junit] user.dir=C:\workspace\HBase-test\build\test/data
---
Jim Kellerman, Senior Engineer; Powerset
> -----Original Message-----
> From: stack [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2008 9:24 PM
> To: [email protected]
> Subject: Re: svn commit: r634168 - in /hadoop/hbase/trunk: ./
> lib/ src/test/ src/test/org/apache/hadoop/hbase/
>
> [EMAIL PROTECTED] wrote:
> > ...
> > URL:
> >
> http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/test/hbase-site.xm
> > l?rev=634168&r1=634167&r2=634168&view=diff
> >
> ======================================================================
> > ========
> > --- hadoop/hbase/trunk/src/test/hbase-site.xml (original)
> > +++ hadoop/hbase/trunk/src/test/hbase-site.xml Wed Mar 5 21:09:33
> > +++ 2008
> > @@ -107,4 +107,8 @@
> > Keep the maximum filesize small so we split more often
> in tests.
> > </description>
> > </property>
> > + <property>
> > + <name>hadoop.log.dir</name>
> > + <value>${user.dir}/logs</value>
> > + </property>
> > </configuration>
> >
> >
>
> Does the above user.dir have a value and get interpolated?
> Is this the java system property user.dir? Isn't the default
> your homedir -- e.g.
> ~/jimk -- and logs are put into your home dir? Or does test
> suite set this to a different value?
>
> St.Ack
>
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.21.4/1313 - Release
> Date: 3/5/2008 9:50 AM
>
>
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.21.4/1313 - Release Date: 3/5/2008 9:50
AM