Terence Yim created TWILL-164:
---------------------------------

             Summary: Shouldn't try to copy the file if location is already in 
the target dfs when localizing files in TwillPreparer
                 Key: TWILL-164
                 URL: https://issues.apache.org/jira/browse/TWILL-164
             Project: Apache Twill
          Issue Type: Bug
            Reporter: Terence Yim


This is the code in question in YarnTwillPreparer

{noformat}
YarnTwillPreparer:450

 if ("hdfs".equals(uri.getScheme())) {
          // Assuming the location factory is HDFS one. If it is not, it will 
failed, which is the correct behavior.
          location = locationFactory.create(uri);
        } else {
          URL url = uri.toURL();
....
{noformat}



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

Reply via email to