ConverterUtils { @Public @Deprecated public static ApplicationAttemptId toApplicationAttemptId( String applicationAttemptIdStr) { return ApplicationAttemptId.fromString(applicationAttemptIdStr); }  @Public @Deprecated static Path getPathFromYarnURL(URL url); @Public @Deprecated static URL getYarnUrlFromPath(Path path); @Public @Deprecated static URL getYarnUrlFromURI(URI uri); @Public @Deprecated static String toString(ApplicationId appId); @Public @Deprecated static ApplicationId toApplicationId(RecordFactory recordFactory,
      String applicationIdStr); @Public @Deprecated static String toString(ContainerId cId); @Private @InterfaceStability.Unstable static NodeId toNodeIdWithDefaultPort(String nodeIdStr); @Public @Deprecated static NodeId toNodeId(String nodeIdStr); @Public @Deprecated static ContainerId toContainerId(String containerIdStr); @Public @Deprecated static ApplicationAttemptId toApplicationAttemptId(
      String applicationAttemptIdStr); @Public @Deprecated static ApplicationId toApplicationId(
      String appIdStr); static Token<T> convertFromYarn(
      org.apache.hadoop.yarn.api.records.Token protoToken,
      InetSocketAddress serviceAddr); static Token<T> convertFromYarn(
      org.apache.hadoop.yarn.api.records.Token protoToken,
      Text service); static final String APPLICATION_PREFIX; static final String CONTAINER_PREFIX; static final String APPLICATION_ATTEMPT_PREFIX; }
@Test(expected = IllegalArgumentException.class) @SuppressWarnings("deprecation") public void testInvalidAppattemptId() { ConverterUtils.toApplicationAttemptId("appattempt_1423221031460"); }