Skip to content

Commit

Permalink
Merge pull request #3 in ODIN/hive-runner from timeout to master
Browse files Browse the repository at this point in the history
* commit '2521143fb1fa65d5443729665756041a8af7da8a':
  GBL-20935 Added comment to README about timeout
  • Loading branch information
PelleUllberg committed Jun 17, 2015
2 parents c9b22a7 + 2521143 commit d455ca4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Expand Up @@ -81,12 +81,21 @@ fork per CPU core and reuse threads would look like:
<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
<configuration>
<systemPropertyVariables>
<disableTimeout>false</disableTimeout>
<timeoutSeconds>30</timeoutSeconds>
<timeoutRetries>2</timeoutRetries>
</systemPropertyVariables>
<forkCount>1C</forkCount>
<reuseForks>true</reuseForks>
<argLine>-Xmx2048m -XX:MaxPermSize=512m</argLine>
</configuration>
</plugin>

Timeout - By default, HiveRunner will timeout a test after 30s and retry that test two times. This is to cover for the bug
https://issues.apache.org/jira/browse/TEZ-2475 that at times causes test cases to not terminate due to a lost DAG reference.
The timeout may be configured with 'timeoutSeconds' and 'timeoutRetries'. Timouts may be disabled with 'disableTimeout'


2. Look at the examples
----------
Expand Down

0 comments on commit d455ca4

Please sign in to comment.