[ 
https://issues.apache.org/jira/browse/TEZ-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Craig Condit resolved TEZ-1104.
-------------------------------

    Resolution: Invalid

My mistake. This code actually exists in Hive, not Tez.

> TezProcessor.setupMRLegacyConfigs() creates task IDs which are not valid 
> Hadoop TaskAttemptID strings
> -----------------------------------------------------------------------------------------------------
>
>                 Key: TEZ-1104
>                 URL: https://issues.apache.org/jira/browse/TEZ-1104
>             Project: Apache Tez
>          Issue Type: Bug
>    Affects Versions: 0.4.0
>         Environment: Hadoop 2.2.0
>            Reporter: Craig Condit
>              Labels: mapreduce
>
> When executing MR jobs via Tez, the values assigned to mapred.task.id and 
> mapreduce.task.id cause exceptions to be thrown if these values are passed to 
> TaskAttempID.forName():
> {noformat}
>       java.lang.IllegalArgumentException: TaskAttemptId string : 
> task1396892688715_80817_m_000076_3 is not properly formed
>               at 
> org.apache.hadoop.mapreduce.TaskAttemptID.forName(TaskAttemptID.java:201)
>               at 
> org.apache.hadoop.hive.ql.io.parquet.write.ParquetRecordWriterWrapper.<init>(ParquetRecordWriterWrapper.java:49)
> {noformat}
> Perhaps TezProcessor should start with:
> {noformat}
> StringBuilder taskAttemptIdBuilder = new StringBuilder("attempt_");
> {noformat}
> instead of 
> {noformat}
> StringBuilder taskAttemptIdBuilder = new StringBuilder("task");
> {noformat}
> ?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to