You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 23:04:59 UTC

[GitHub] [beam] kennknowles opened a new issue, #19264: Python SDK creates job graphs with duplicated states when using fn_api execution mode.

kennknowles opened a new issue, #19264:
URL: https://github.com/apache/beam/issues/19264

   We observed this on apache_beam.examples.wordcount with Dataflow runner.
   
   The graph for this wordcount job contains two steps with the same name "write/Write/WriteImpl/FinalizeWrite/MapToVoidKey1".
   
   ```
   
   
   ...
    {
           "kind": "PAR_DO_KIND",
           "id": "s41",
           "name": "write/Write/WriteImpl/FinalizeWrite/MapToVoidKey1",
   
          "displayData": [
             {
               "key": "fn",
               "namespace": "apache_beam.transforms.core.ParDo",
   
              "strValue": "apache_beam.transforms.core.CallableWrapperDoFn",
               "shortStrValue":
   "CallableWrapperDoFn",
               "label": "Transform Function"
             },
             {
        
         "key": "fn",
               "namespace": "apache_beam.transforms.core.CallableWrapperDoFn",
     
            "strValue": "\u003clambda\u003e",
               "label": "Transform Function"
             }
   
          ],
           "outputCollectionName": [
             "write/Write/WriteImpl/FinalizeWrite/MapToVoidKey1.out0"
   
          ],
           "inputCollectionName": [
             "write/Write/WriteImpl/Extract.out0"
         
    ]
         },
   ...
   {
           "kind": "PAR_DO_KIND",
           "id": "s31",
           "name": "write/Write/WriteImpl/FinalizeWrite/MapToVoidKey1",
   
          "displayData": [
             {
               "key": "fn",
               "namespace": "apache_beam.transforms.core.ParDo",
   
              "strValue": "apache_beam.transforms.core.CallableWrapperDoFn",
               "shortStrValue":
   "CallableWrapperDoFn",
               "label": "Transform Function"
             },
             {
        
         "key": "fn",
               "namespace": "apache_beam.transforms.core.CallableWrapperDoFn",
     
            "strValue": "\u003clambda\u003e",
               "label": "Transform Function"
             }
   
          ],
           "outputCollectionName": [
             "write/Write/WriteImpl/FinalizeWrite/MapToVoidKey1.out0"
   
          ],
           "inputCollectionName": [
             "write/Write/WriteImpl/Extract.out0"
         
    ]
         },
   ...
   
   
   ```
   
   
   CC: [~foegler] [~altay] [~robertwb]
   
   Imported from Jira [BEAM-6584](https://issues.apache.org/jira/browse/BEAM-6584). Original Jira may contain additional context.
   Reported by: tvalentyn.


-- 
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: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org