public static TaskId toTaskID(String tid) {
    return TypeConverter.toYarn(TaskID.forName(tid));
  }
@Test
  @Timeout(120000)
  public void testTaskIDShort() {
    assertThrows(IllegalArgumentException.class, () -> {
      MRApps.toTaskID("task_0_0000_m");
    });
  }