beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (BEAM-3287) Go SDK support for portable pipelines
Date Tue, 20 Mar 2018 21:36:00 GMT

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

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

                Author: ASF GitHub Bot
            Created on: 20/Mar/18 21:35
            Start Date: 20/Mar/18 21:35
    Worklog Time Spent: 10m 
      Work Description: herohde commented on a change in pull request #4888: [BEAM-3287] Add
Go support for universal runners, incl Flink
URL: https://github.com/apache/beam/pull/4888#discussion_r175930346
 
 

 ##########
 File path: sdks/go/pkg/beam/runners/universal/universal.go
 ##########
 @@ -0,0 +1,59 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements.  See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License.  You may obtain a copy of the License at
+//
+//    http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Package universal contains a general-purpose runner that can submit jobs
+// to any portable Beam runner.
+package universal
+
+import (
+	"context"
+	"fmt"
+
+	"github.com/apache/beam/sdks/go/pkg/beam"
+	"github.com/apache/beam/sdks/go/pkg/beam/core/runtime/graphx"
+	_ "github.com/apache/beam/sdks/go/pkg/beam/core/runtime/harness/init"
+	"github.com/apache/beam/sdks/go/pkg/beam/options/jobopts"
+	"github.com/apache/beam/sdks/go/pkg/beam/runners/universal/runnerlib"
+)
+
+func init() {
+	// Note that we also _ import harness/init to setup the remote execution hook.
+	beam.RegisterRunner("universal", Execute)
+}
+
+// Execute execute the pipeline on a universal beam runner.
 
 Review comment:
   Done

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: 82493)
    Time Spent: 4h 10m  (was: 4h)

> Go SDK support for portable pipelines
> -------------------------------------
>
>                 Key: BEAM-3287
>                 URL: https://issues.apache.org/jira/browse/BEAM-3287
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-go
>            Reporter: Henning Rohde
>            Assignee: Henning Rohde
>            Priority: Major
>              Labels: portability
>          Time Spent: 4h 10m
>  Remaining Estimate: 0h
>
> The Go SDK should participate in the portability framework, incl. job submission w/ a
docker container image.



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

Mime
View raw message