code: public static Path getAppWorkDirPath(FileSystem fs, String applicationName, String applicationId) {
      return new Path(fs.getHomeDirectory(), getAppWorkDirPath(applicationName, applicationId));
    }
docs: Get the application working directory {@link Path}.
  
  @param fs a {@link FileSystem} instance on which {@link FileSystem#getHomeDirectory()} is called
  to get the home directory of the {@link FileSystem} of the application working directory
  @param applicationName the application name
  @param applicationId the application ID in string form
  @return the cluster application working directory {@link Path}