@Override
  public Statement apply(Statement base, Description description) {
    return new RetryingStatement(base, description);
  }
JUnit test rule that reruns test on failure. With Retry test rule only the test method will be retried,
the test class will not be re-initialized.
common/src/test/org/apache/hive/common/util/Retry.java