Search in sources :

Example 1 with TestLogRequest

use of org.apache.hive.ptest.api.request.TestLogRequest in project hive by apache.

the class PTestClient method printLogs.

private long printLogs(String testHandle, long offset) throws Exception {
    TestLogRequest logsRequest = new TestLogRequest(testHandle, offset, 64 * 1024);
    TestLogResponse logsResponse = post(logsRequest, true);
    System.out.print(logsResponse.getBody());
    return logsResponse.getOffset();
}
Also used : TestLogResponse(org.apache.hive.ptest.api.response.TestLogResponse) TestLogRequest(org.apache.hive.ptest.api.request.TestLogRequest)

Aggregations

TestLogRequest (org.apache.hive.ptest.api.request.TestLogRequest)1 TestLogResponse (org.apache.hive.ptest.api.response.TestLogResponse)1