You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Mark Liu (Jira)" <ji...@apache.org> on 2019/09/09 19:13:00 UTC
[jira] [Commented] (BEAM-7476) Datastore write failures with
"[Errno 32] Broken pipe"
[ https://issues.apache.org/jira/browse/BEAM-7476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16926015#comment-16926015 ]
Mark Liu commented on BEAM-7476:
--------------------------------
Is this issue on track for 2.16 release? (branch will be cut in 3 days) Shall we move it to 2.17?
> Datastore write failures with "[Errno 32] Broken pipe"
> ------------------------------------------------------
>
> Key: BEAM-7476
> URL: https://issues.apache.org/jira/browse/BEAM-7476
> Project: Beam
> Issue Type: Bug
> Components: io-py-gcp
> Affects Versions: 2.11.0
> Environment: dataflow python 2.7
> Reporter: Dmytro Sadovnychyi
> Assignee: Dmytro Sadovnychyi
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.16.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> We are getting lots of Broken pipe errors and it's only a matter of luck for write to succeed. It's been happening for months.
> Partial stack trace:
> File "/usr/local/lib/python2.7/dist-packages/apache_beam/io/gcp/datastore/v1/helper.py", line 225, in commit
> response = datastore.commit(request)
> File "/usr/local/lib/python2.7/dist-packages/googledatastore/connection.py", line 140, in commit
> datastore_pb2.CommitResponse)
> File "/usr/local/lib/python2.7/dist-packages/googledatastore/connection.py", line 199, in _call_method
> method='POST', body=payload, headers=headers)
> File "/usr/local/lib/python2.7/dist-packages/oauth2client/transport.py", line 169, in new_request
> redirections, connection_type)
> File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1609, in request
> (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
> File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1351, in _request
> (response, content) = self._conn_request(conn, request_uri, method, body, headers)
> File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1273, in _conn_request
> conn.request(method, request_uri, body, headers)
> File "/usr/lib/python2.7/httplib.py", line 1042, in request
> self._send_request(method, url, body, headers)
> File "/usr/lib/python2.7/httplib.py", line 1082, in _send_request
> self.endheaders(body)
> File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders
> self._send_output(message_body)
> File "/usr/lib/python2.7/httplib.py", line 882, in _send_output
> self.send(msg)
> File "/usr/lib/python2.7/httplib.py", line 858, in send
> self.sock.sendall(data)
> File "/usr/lib/python2.7/ssl.py", line 753, in sendall
> v = self.send(data[count:])
> File "/usr/lib/python2.7/ssl.py", line 719, in send
> v = self._sslobj.write(data)
> RuntimeError: error: [Errno 32] Broken pipe [while running 'Groups to datastore/Write Mutation to Datastore']
> Workaround: https://github.com/apache/beam/pull/8346
--
This message was sent by Atlassian Jira
(v8.3.2#803003)