0

Ich habe ein Problem mit GCP Bigtable Python Client, dass es gelegentlich Verbindung mit Bigtable verlor und einen Serverfehler verursacht.GCP Bigtable Python Client Verbindung verloren

Die Fehlermeldung wird unten angehängt. Dies passiert, als ich versuchte, an Bigtable zu schreiben. Ich habe auch festgestellt, dass dieses Problem häufiger auftritt, wenn der Server eine Weile inaktiv war.

_Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.UNAVAILABLE, Endpoint read failed)> 
    at _end_unary_response_blocking (/env/local/lib/python2.7/site-packages/grpc/_channel.py:455) 
    at __call__ (/env/local/lib/python2.7/site-packages/grpc/_channel.py:507) 
    at commit (/env/local/lib/python2.7/site-packages/google/cloud/bigtable/row.py:417) 
    at send (/env/local/lib/python2.7/site-packages/google/cloud/happybase/batch.py:113) 
    at __exit__ (/env/local/lib/python2.7/site-packages/google/cloud/happybase/batch.py:275) 
    at put (/env/local/lib/python2.7/site-packages/google/cloud/happybase/table.py:435) 
    at write_row (/home/vmagent/app/app/v0/helpers/bigtable_util.py:26) 
    at get_current_user (/home/vmagent/app/app/v0/controllers/controller.py:98) 
    at dispatch_request (/env/local/lib/python2.7/site-packages/flask/app.py:1598) 
    at full_dispatch_request (/env/local/lib/python2.7/site-packages/flask/app.py:1612) 
    at handle_user_exception (/env/local/lib/python2.7/site-packages/flask/app.py:1517) 
    at wrapped_function (/env/local/lib/python2.7/site-packages/flask_cors/extension.py:161) 
    at full_dispatch_request (/env/local/lib/python2.7/site-packages/flask/app.py:1614) 
    at wsgi_app (/env/local/lib/python2.7/site-packages/flask/app.py:1982) 

Hatte jemand ähnliche Erfahrung? Ist das ein bekannter Bug in Bigtable Python Client?

+0

Ihre beste Wette ist es, die Frage hier zu stellen: https://github.com/GoogleCloudPlatform/google-cloud-python –

+0

Dies sieht github sehr ähnlich .com/GoogleCloudPlatform/google-cloud-python/issues/2683 – firstofth300

+0

Es ist. Ich habe bereits meinen Befund in der Ausgabe gepostet. Bis jetzt ist das Ticket noch offen –

Antwort

0

Bis jetzt ist meine Lösung für den Umgang damit eine manuelle Wiederholung, wenn es fehlschlägt. Es hat für uns funktioniert, da das Problem nicht häufig auftritt. Es scheint auch weniger ein Problem in der Version 0.28.1

Verwandte Themen