You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by stack <st...@duboce.net> on 2008/03/06 06:23:38 UTC

Re: svn commit: r634168 - in /hadoop/hbase/trunk: ./ lib/ src/test/ src/test/org/apache/hadoop/hbase/

jimk@apache.org wrote:
> ...
> URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/test/hbase-site.xml?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


Re: svn commit: r634168 - in /hadoop/hbase/trunk: ./ lib/ src/test/ src/test/org/apache/hadoop/hbase/

Posted by stack <st...@duboce.net>.
OK.  I see this in the build.xml:

      <sysproperty key="user.dir" value="${build.test}/data"/>

St.Ack


Jim Kellerman wrote:
> 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:stack@duboce.net]
>> Sent: Wednesday, March 05, 2008 9:24 PM
>> To: hbase-dev@hadoop.apache.org
>> Subject: Re: svn commit: r634168 - in /hadoop/hbase/trunk: ./
>> lib/ src/test/ src/test/org/apache/hadoop/hbase/
>>
>> jimk@apache.org 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
>
>   


RE: svn commit: r634168 - in /hadoop/hbase/trunk: ./ lib/ src/test/ src/test/org/apache/hadoop/hbase/

Posted by Jim Kellerman <ji...@powerset.com>.
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:stack@duboce.net]
> Sent: Wednesday, March 05, 2008 9:24 PM
> To: hbase-dev@hadoop.apache.org
> Subject: Re: svn commit: r634168 - in /hadoop/hbase/trunk: ./
> lib/ src/test/ src/test/org/apache/hadoop/hbase/
>
> jimk@apache.org 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