argasi / google-bigquery

Automatically exported from code.google.com/p/google-bigquery
0 stars 0 forks source link

Error thrown while using `bq wait` #166

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm not sure how to recreate the issue.  It occurred when I was trying to use 
`bq wait` to poll for the status of a job.  The status was returned.  I have 
omitted some of the error message due to proprietary reasons.

Please include a brief description of the steps that led to this issue, as well 
as the following information:

========================================
== Platform ==
  CPython:2.7.3:Linux-3.14-0.bpo.2-amd64-x86_64-with-debian-7.6
== bq version ==
  2.0.22
== Command line ==
  ['/usr/local/share/google/google-cloud-sdk/platform/bq/bq.py', '--credential_file', '$HOME/.config/gcloud/legacy_credentials/thauck@zulily.com/singlestore.json', '--project', '---', 'wait', '[projectname]:bqjob_rafc57749eb57311_00000148fbe44cce_1', '10']
== UTC timestamp ==
  2014-10-10 22:19:20
== Error trace ==
  File "/usr/local/share/google/google-cloud-sdk/platform/bq/bq.py", line 711, in RunSafely
    return_value = self.RunWithArgs(*args, **kwds)
  File "/usr/local/share/google/google-cloud-sdk/platform/bq/bq.py", line 1853, in RunWithArgs
    job = client.WaitJob(job_reference=job_reference, wait=secs)
  File "/usr/local/share/google/google-cloud-sdk/platform/bq/bigquery_client.py", line 1784, in WaitJob
    current_status,))
========================================

Unexpected exception in wait operation: Wait timed out. Operation not finished, 
in state RUNNING

Original issue reported on code.google.com by tha...@zulily.com on 10 Oct 2014 at 10:22

GoogleCodeExporter commented 9 years ago
bq is reporting this in a confusing way: all it means to say is "after your 10 
second wait time, the job was still pending".  This should not be an unexpected 
exception.

Sorry, you can ignore this, and we'll get the reporting fixed.

Original comment by e...@google.com on 20 Nov 2014 at 6:44

GoogleCodeExporter commented 9 years ago
Are you still seeing this?  My attempts at reproducing are behaving properly: 
just the "Wait timed out. ..." message, no "Unexpected exception".

Original comment by e...@google.com on 27 Feb 2015 at 7:03