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-5253) Go SDK PubSub example currently broken
Date Tue, 11 Sep 2018 11:10:00 GMT

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

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

                Author: ASF GitHub Bot
            Created on: 11/Sep/18 11:09
            Start Date: 11/Sep/18 11:09
    Worklog Time Spent: 10m 
      Work Description: ptomasroos closed pull request #6357: [BEAM-5253] - Go SDK PubSub
example currently broken
URL: https://github.com/apache/beam/pull/6357
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/sdks/go/examples/streaming_wordcap/wordcap.go b/sdks/go/examples/streaming_wordcap/wordcap.go
index 045fb375577..ca3151468f9 100644
--- a/sdks/go/examples/streaming_wordcap/wordcap.go
+++ b/sdks/go/examples/streaming_wordcap/wordcap.go
@@ -50,6 +50,11 @@ var (
 	}
 )
 
+func init() {
+	beam.RegisterFunction(stringx.FromBytes)
+	beam.RegisterFunction(strings.ToUpper)
+}
+
 func main() {
 	flag.Parse()
 	beam.Init()


 

----------------------------------------------------------------
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: 143043)
    Time Spent: 50m  (was: 40m)

> Go SDK PubSub example currently broken
> --------------------------------------
>
>                 Key: BEAM-5253
>                 URL: https://issues.apache.org/jira/browse/BEAM-5253
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-go
>            Reporter: Sean Patrick Hagen
>            Assignee: Robert Burke
>            Priority: Critical
>             Fix For: Not applicable
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> The Go SDK contains an example for creating a streaming pipeline that reads from pubsub
and outputs the messages. It can be found here: [https://github.com/apache/beam/blob/master/sdks/go/examples/streaming_wordcap/wordcap.go]
>  
> This example is broken and does not work. It fails with the error "failed to execute
job: translation failed: no root units" when I try to run it with the direct runner, and it
just fails with "Internal Issue (8ed815a0a259018f): 65177287:8503 " when run in Google Dataflow.
>  
>  



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

Mime
View raw message