You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Siddharth Seth (JIRA)" <ji...@apache.org> on 2015/05/01 04:43:06 UTC

[jira] [Updated] (TEZ-2397) Translation of LocalResources via Tez plan serialization can be lossy

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

Siddharth Seth updated TEZ-2397:
--------------------------------
    Attachment: TEZ-2397.1.txt

Patch to use translation via ConverterUtils instead of trying to append strings. ConverterUtils handles the port being set to -1 in case it's absent properly.

[~hitesh] - please review.

> Translation of LocalResources via Tez plan serialization can be lossy
> ---------------------------------------------------------------------
>
>                 Key: TEZ-2397
>                 URL: https://issues.apache.org/jira/browse/TEZ-2397
>             Project: Apache Tez
>          Issue Type: Bug
>    Affects Versions: 0.4.0
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>            Priority: Critical
>         Attachments: TEZ-2397.1.txt
>
>
> Happens when there's no port information. The way we serialize a YarnURL into a string causes the reconstructed path to include the port as -1, which is an invalid URL. Path/URL reconstruction from this causes the hostname to be lost.
> This is problematic on clusters running HDFA HA - since there's no host:port information, only a service name. I'd imaging it'll be a problem for viewfs as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)