We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
statsd_on = True
Dear Airflow Maintainers,
Before I tell you about my issue, let me describe my environment:
[webserver] worker_class = gevent ... [scheduler] statsd_on = True
Now that you know a little about me, let me tell you about the issue I am having:
Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: Traceback (most recent call last): Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: File "/opt/pipeline/pipeline/lib/python2.7/site-packages/gunicorn/arbiter.py", line 507, in spawn_worker Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: worker.init_process() Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: File "/opt/pipeline/pipeline/lib/python2.7/site-packages/gunicorn/workers/ggevent.py", line 192, in init_process Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: super(GeventWorker, self).init_process() Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: File "/opt/pipeline/pipeline/lib/python2.7/site-packages/gunicorn/workers/base.py", line 118, in init_process Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: self.wsgi = self.app.wsgi() Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: File "/opt/pipeline/pipeline/lib/python2.7/site-packages/gunicorn/app/base.py", line 67, in wsgi Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: self.callable = self.load() Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: File "/opt/pipeline/pipeline/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 65, in load Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: return self.load_wsgiapp() Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: File "/opt/pipeline/pipeline/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: return util.import_app(self.app_uri) Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: File "/opt/pipeline/pipeline/lib/python2.7/site-packages/gunicorn/util.py", line 355, in import_app Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: __import__(module) Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: File "/opt/pipeline/pipeline/lib/python2.7/site-packages/airflow/www/app.py", line 13, in <module> Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: from airflow import jobs Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: File "/opt/pipeline/pipeline/lib/python2.7/site-packages/airflow/jobs.py", line 37, in <module> Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: prefix=configuration.get('scheduler', 'statsd_prefix')) Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: File "/opt/pipeline/pipeline/lib/python2.7/site-packages/statsd/client.py", line 139, in __init__ Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: host, port, fam, socket.SOCK_DGRAM)[0] Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: File "/opt/pipeline/pipeline/lib/python2.7/site-packages/gevent/socket.py", line 623, in getaddrinfo Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: File "/opt/pipeline/pipeline/lib/python2.7/site-packages/gevent/resolver_thread.py", line 34, in getaddrinfo Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: return self.pool.apply_e(self.expected_errors, _socket.getaddrinfo, args, kwargs) Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: File "/opt/pipeline/pipeline/lib/python2.7/site-packages/gevent/threadpool.py", line 222, in apply_e Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: success, result = self.spawn(wrap_errors, expected_errors, function, args, kwargs).get() Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: File "/opt/pipeline/pipeline/lib/python2.7/site-packages/gevent/event.py", line 233, in get Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: result = self.hub.switch() Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: File "/opt/pipeline/pipeline/lib/python2.7/site-packages/gevent/hub.py", line 338, in switch Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: return greenlet.switch(self) Apr 15 19:29:45 ip-172-31-73-4 with_env.sh[19235]: AssertionError: Impossible to call blocking function in the event loop callback
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Dear Airflow Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment
Release 1.6.2
Using LocalExecutor, running webserver with gevent workers.
Now that you know a little about me, let me tell you about the issue I am having:
Description of Issue
Statsd integration to report metrics to statsd, webserver to boot.
Webserver hangs on boot, with exception:
Reproduction Steps
The text was updated successfully, but these errors were encountered: