You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/04/30 00:14:00 UTC

[jira] [Work logged] (BEAM-7179) Wrong file extension for DATAFLOW_GRAPH_FILE_NAME

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

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

                Author: ASF GitHub Bot
            Created on: 30/Apr/19 00:13
            Start Date: 30/Apr/19 00:13
    Worklog Time Spent: 10m 
      Work Description: AaronLeeIV commented on issue #8434: [BEAM-7179] Correct file extension
URL: https://github.com/apache/beam/pull/8434#issuecomment-487786480
 
 
   Indeed, filed issue and updated the subject.
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

            Worklog Id:     (was: 234992)
            Time Spent: 10m
    Remaining Estimate: 0h

> Wrong file extension for DATAFLOW_GRAPH_FILE_NAME
> -------------------------------------------------
>
>                 Key: BEAM-7179
>                 URL: https://issues.apache.org/jira/browse/BEAM-7179
>             Project: Beam
>          Issue Type: Improvement
>          Components: beam-model
>            Reporter: Aaron Li
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> DATAFLOW_GRAPH_FILE_NAME
> {code:java}
> String DATAFLOW_GRAPH_FILE_NAME = "dataflow_graph.pb"
> {code}
> 's file extension is set to .pb however it is indeed a .json. The content is generated as
> {code:java}
> options
>   .getStager()
>   .stageToFile(
>       DataflowPipelineTranslator.jobToString(newJob).getBytes(UTF_8),
>       DATAFLOW_GRAPH_FILE_NAME);
> {code}
> While the actual proto
> {code:java}
> String PIPELINE_FILE_NAME = "pipeline.pb"
> {code}
> is generated as
> {code:java}
> options.getStager().stageToFile(serializedProtoPipeline, PIPELINE_FILE_NAME);
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)