tajo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Tajo Wiki] Update of "UnitTests" by HyunsikChoi
Date Fri, 06 Sep 2013 07:08:08 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tajo Wiki" for change notification.

The "UnitTests" page has been changed by HyunsikChoi:
https://wiki.apache.org/tajo/UnitTests?action=diff&rev1=3&rev2=4

  == How to Run Unit Tests ==
  
- Tajo supports two cluster mode: [[StandbyMode]] and [[OnDemandMode]]. All unit tests can
also be performed in both modes. Tajo uses StandbyMode as a default cluster mode in unit tests.
In order to perform the unit tests with the standby mode, you just type 'mvn clean install'
as follows:
+ Tajo supports two cluster mode: [[StandbyMode]] and [[OnDemandMode]]. All unit tests can
also be performed in both modes. Tajo uses StandbyMode as a default cluster mode in unit tests.
In order to perform the unit tests with the [[StandbyMode]], you type as the following command:
+ {{{
+ $ mvn clean install -Dtajo.resource.manager=org.apache.tajo.master.rm.TajoWorkerResourceManager
+ }}}
+ 
+ Or you can perform unit tests in [[StandbyMode]] as follows because [[StandbyMode]] is default
for unit tests.
+ 
  {{{
  $ mvn clean install
  }}}
  
+ 
- If you want to perform the unit tests with the on-demand mode using Yarn as a cluster resource
manager. you should give a JVM option to maven as follows:
+ If you want to perform the unit tests with the [[OnDemandMode]] using Yarn as a cluster
resource manager. you should give a JVM option to maven as follows:
  
  {{{
  $ mvn clean install -Dtajo.resource.manager=org.apache.tajo.master.rm.YarnTajoResourceManager

Mime
View raw message