ConverterUtils has a bunch of functions that are useful to application masters. It should either be made public or we make some of the utilities in it public or we provide other external apis for application masters to use. Note that distributedshell and MR are both using these interfaces.
For instance the main use case I see right now is for getting the application attempt id within the appmaster:
String containerIdStr =
ContainerId containerId = ConverterUtils.toContainerId(containerIdStr);
ApplicationAttemptId applicationAttemptId =
I don't see any other way for the application master to get this information. If there is please let me know.