public String getPrefixedTaskId() {
    String prefix = getTaskIdPrefix();
    String taskId = getTaskId();
    if (prefix != null && taskId != null) {
      return prefix + taskId;
    } else {
      return taskId;
    }
  }
Helper class to match hive filenames and extract taskId, taskAttemptId, copyIndex.

Matches following:
00001_02
00001_02.gz
00001_02.zlib.gz
00001_02_copy_1
00001_02_copy_1.gz
<p>
All the components are here:
tmp_(taskPrefix)00001_02_copy_1.zlib.gz
ql/src/java/org/apache/hadoop/hive/ql/exec/ParsedOutputFileName.java