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

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

                Author: ASF GitHub Bot
            Created on: 15/Feb/22 22:45
            Start Date: 15/Feb/22 22:45
    Worklog Time Spent: 10m 
      Work Description: VictorPlusC commented on a change in pull request 
#16741:
URL: https://github.com/apache/beam/pull/16741#discussion_r807380813



##########
File path: sdks/python/apache_beam/runners/interactive/interactive_runner.py
##########
@@ -209,6 +214,50 @@ def visit_transform(self, transform_node):
 
     return main_job_result
 
+  # TODO(victorhc): Move this method somewhere else if performance is impacted
+  # by generating a cluster during runtime.
+  def _create_dataproc_cluster_if_applicable(self, user_pipeline):
+    """ Creates a Dataproc cluster if the provided user_pipeline is running
+    FlinkRunner and no flink_master_url was provided as an option. A cluster
+    is not created when a flink_master_url is detected.

Review comment:
       Added, thanks.




-- 
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: 727893)
    Time Spent: 8h 20m  (was: 8h 10m)

> Integrate DataprocClusterManager into Interactive Environment
> -------------------------------------------------------------
>
>                 Key: BEAM-13812
>                 URL: https://issues.apache.org/jira/browse/BEAM-13812
>             Project: Beam
>          Issue Type: New Feature
>          Components: runner-py-interactive
>            Reporter: Victor Chen
>            Assignee: Victor Chen
>            Priority: P2
>          Time Spent: 8h 20m
>  Remaining Estimate: 0h
>
> * Adds code to automatically create a Dataproc cluster configured with Docker 
> and Flink if a user instantiates an InteractiveRunner using 
> underlying_runner='FlinkRunner'
>  * By default, the created Dataproc cluster will be called 
> 'interactive-beam-cluster' and will be cleaned up when the Interactive 
> Environment is interrupted
>  * Users will be able to toggle an automatic deletion of the cluster with the 
> default name, 'interactive-beam-cluster' when the kernel is interrupted
>  * Introduces the Clusters class in interactive_beam.py, which acts as a user 
> interface that provides the user with the following capabilities:
>  ** Changing the default name of the clusters created by Interactive Beam
>  ** Cleaning up a cluster by providing a corresponding pipeline, an option to 
> force the deletion is provided, in the case where more than one pipeline use 
> the same cluster
>  ** Getting all pipelines that use the provided master_url
>  ** Receiving a description back for either the cluster corresponding to a 
> specific pipeline, or the descriptions of all pipelines



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to