code: public byte[] getAMKey(String prefix, String fullId) {
  
      String taskComponent = prefix + fullId;
      return taskKeyConv.toBytes(new TaskKey(this.jobKey, taskComponent));
    }
docs: Returns the AM Attempt id stripped of the leading job ID, appended to the job row key.