[ 
https://issues.apache.org/jira/browse/BEAM-13021?focusedWorklogId=667255&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-667255
 ]

ASF GitHub Bot logged work on BEAM-13021:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/Oct/21 20:16
            Start Date: 19/Oct/21 20:16
    Worklog Time Spent: 10m 
      Work Description: chamikaramj commented on a change in pull request 
#15692:
URL: https://github.com/apache/beam/pull/15692#discussion_r732211066



##########
File path: sdks/python/apache_beam/runners/dataflow/internal/apiclient.py
##########
@@ -572,7 +572,8 @@ def _stage_resources(self, pipeline, options):
       raise RuntimeError('The --temp_location option must be specified.')
 
     resources = []
-    hashes = {}
+    path_hashes = {}

Review comment:
       So IIUC correctly, the issue is same artifact being staged twice, right ?
   
   If so. I don't understand why we need a hash for the path to deduplicate. 
Just the hash of the artifact should be adequate since same artifact at two 
different locations would give the same hash.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 667255)
    Time Spent: 2h 10m  (was: 2h)

> Deduplicate Python artifact not only by hash but also by source path
> --------------------------------------------------------------------
>
>                 Key: BEAM-13021
>                 URL: https://issues.apache.org/jira/browse/BEAM-13021
>             Project: Beam
>          Issue Type: Improvement
>          Components: runner-dataflow
>            Reporter: Heejong Lee
>            Assignee: Heejong Lee
>            Priority: P2
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Deduplicate Python artifact not only by hash but also by source path



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to