private void tstUnknownJobCounters() throws Exception {
  IgniteHadoopClientProtocolProvider provider=provider();
  ClientProtocol proto=provider.create(config(HadoopAbstractSelfTest.REST_PORT));
  try {
    proto.getJobCounters(new JobID(UUID.randomUUID().toString(),-1));
    fail("exception must be thrown");
  }
 catch (  Exception e) {
    assert e instanceof IOException : "wrong error has been thrown";
  }
}

private void tstUnknownJobCounters ( ) throws Exception { IgniteHadoopClientProtocolProvider provider = provider ( ) ; ClientProtocol proto = provider . create ( config ( HadoopAbstractSelfTest . REST_PORT ) ) ; try { proto . getJobCounters ( new JobID ( UUID . randomUUID ( ) . toString ( ) , - 1 ) ) ; fail ( "exception must be thrown" ) ; } catch ( Exception e ) { assert e instanceof IOException : "wrong error has been thrown" ; } }
tests job counters retrieval for unknown job id .
