Comments (3)
@megancooper This is more of an educated guess, but the following bit indeed seems relevant:
...
File "/home/hadoop/conda/lib/python3.7/threading.py", line 852, in start
_start_new_thread(self._bootstrap, ())
RuntimeError: ("can't start new thread", 'occurred at index 0')
An error is raised when Python cannot start a new thread. Since you mention a high number of executors, could it be that a max thread limit is hit and no more threads can be created?
You could log the number of active threads at key points in the program and see if the number gets too high just before the crash?
import threading
threading.active_count() # this should be logged
If there are indeed too many threads created, one possible would be reducing the number of concurrent queries or somehow throttle them (I'm not familiar with Spark, unfortunately).
from python-bigquery.
Hi, how do you solve this problem?
from python-bigquery.
Hi @shell-no-shell — we ended up closing this since the OP did not respond. If you have a similar issue, can you please file a new ticket (if you think it's a bug in the library) or a support issue (if it would require digging into project details, since we don't have access to that info here). Thanks!
from python-bigquery.
Related Issues (20)
- Raised `ArrowTypeError` should indicates which column is causing the error HOT 3
- Importing bigquery disables python garbage collector HOT 4
- Add slot_ms to the Python QueryPlanEntry class HOT 1
- protobuf-4.25.3 is incompatible with the library and results in an import error HOT 3
- Bug introduced in v3.12.0 HOT 8
- Warning: a recent release failed
- shapely >= 2.0.0 not supported for google-cloud-bigquery = "^2.x.x" with extras pandas HOT 2
- NULL is incorrectly introduced in previously working query HOT 11
- Warning: a recent release failed HOT 1
- Warning: a recent release failed HOT 1
- Warning: a recent release failed HOT 1
- .create_table method not working on BigQuery, if the table is an ibis table HOT 2
- `load_table_from_dataframe` doesn't respect `schema` fields order when specified HOT 2
- `query_and_wait` use in `Cursor.execute` breaks `default_query_job_config` in SQLAlchemy BQ Dialect HOT 2
- get_iam_policy and set_iam_policy are missing doc strings
- pyarrow import error in 3.20.0 HOT 9
- Support string_dtype, etc. in to_geodataframe HOT 2
- perf: don't retry getQueryResults as often with ambiguous errors in `QueryJob.result()` HOT 2
- Natural language support in BigQuery HOT 1
- AttributeError: module 'google._upb._message' has no attribute 'MessageMapContainer' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-bigquery.