You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/07/17 16:44:55 UTC

[GitHub] [superset] SathishkumarSubramanian edited a comment on issue #9597: Cache warm-ups never succeed

SathishkumarSubramanian edited a comment on issue #9597:
URL: https://github.com/apache/superset/issues/9597#issuecomment-881924613


   Cache Warmup is not working on my superset1.2 (docker, ubuntu 18.04), my superset log is below,  
   Is this known defect in current version, Any suggestion on this or workaround?
   
   > superset_worker          | [2021-07-17 16:20:00,031: INFO/ForkPoolWorker-1] cache-warmup[e9f826a6-794a-46e5-b6b4-3e2122c7ae03]: Loading strategy
   superset_worker          | [2021-07-17 16:20:00,031: INFO/ForkPoolWorker-1] cache-warmup[e9f826a6-794a-46e5-b6b4-3e2122c7ae03]: Loading TopNDashboardsStrategy
   superset_worker          | [2021-07-17 16:20:00,032: INFO/ForkPoolWorker-1] cache-warmup[e9f826a6-794a-46e5-b6b4-3e2122c7ae03]: Success!
   superset_worker          | [2021-07-17 16:20:00,049: INFO/ForkPoolWorker-1] cache-warmup[e9f826a6-794a-46e5-b6b4-3e2122c7ae03]: Fetching http://0.0.0.0:8088/superset/explore/?form_data=%7B%22slice_id%22%3A%20164%7D
   superset_worker          | [2021-07-17 16:20:00,051: ERROR/ForkPoolWorker-1] cache-warmup[e9f826a6-794a-46e5-b6b4-3e2122c7ae03]: Error warming up cache!
   superset_worker          | Traceback (most recent call last):
   superset_worker          |   File "/usr/local/lib/python3.7/urllib/request.py", line 1350, in do_open
   superset_worker          |     encode_chunked=req.has_header('Transfer-encoding'))
   superset_worker          |   File "/usr/local/lib/python3.7/http/client.py", line 1277, in request
   superset_worker          |     self._send_request(method, url, body, headers, encode_chunked)
   superset_worker          |   File "/usr/local/lib/python3.7/http/client.py", line 1323, in _send_request
   superset_worker          |     self.endheaders(body, encode_chunked=encode_chunked)
   superset_worker          |   File "/usr/local/lib/python3.7/http/client.py", line 1272, in endheaders
   superset_worker          |     self._send_output(message_body, encode_chunked=encode_chunked)
   superset_worker          |   File "/usr/local/lib/python3.7/http/client.py", line 1032, in _send_output
   superset_worker          |     self.send(msg)
   superset_worker          |   File "/usr/local/lib/python3.7/http/client.py", line 972, in send
   superset_worker          |     self.connect()
   superset_worker          |   File "/usr/local/lib/python3.7/http/client.py", line 944, in connect
   superset_worker          |     (self.host,self.port), self.timeout, self.source_address)
   superset_worker          |   File "/usr/local/lib/python3.7/socket.py", line 728, in create_connection
   superset_worker          |     raise err
   superset_worker          |   File "/usr/local/lib/python3.7/socket.py", line 716, in create_connection
   superset_worker          |     sock.connect(sa)
   superset_worker          | ConnectionRefusedError: [Errno 111] Connection refused
   superset_worker          |
   superset_worker          | During handling of the above exception, another exception occurred:
   superset_worker          |
   superset_worker          | Traceback (most recent call last):
   superset_worker          |   File "/app/superset/tasks/cache.py", line 291, in cache_warmup
   superset_worker          |     request.urlopen(url)
   superset_worker          |   File "/usr/local/lib/python3.7/urllib/request.py", line 222, in urlopen
   superset_worker          |     return opener.open(url, data, timeout)
   superset_worker          |   File "/usr/local/lib/python3.7/urllib/request.py", line 525, in open
   superset_worker          |     response = self._open(req, data)
   superset_worker          |   File "/usr/local/lib/python3.7/urllib/request.py", line 543, in _open
   superset_worker          |     '_open', req)
   superset_worker          |   File "/usr/local/lib/python3.7/urllib/request.py", line 503, in _call_chain
   superset_worker          |     result = func(*args)
   superset_worker          |   File "/usr/local/lib/python3.7/urllib/request.py", line 1378, in http_open
   superset_worker          |     return self.do_open(http.client.HTTPConnection, req)
   superset_worker          |   File "/usr/local/lib/python3.7/urllib/request.py", line 1352, in do_open
   superset_worker          |     raise URLError(err)
   superset_worker          | urllib.error.URLError: <urlopen error [Errno 111] Connection refused>
   superset_worker          | [2021-07-17 16:20:00,054: INFO/ForkPoolWorker-2] Task reports.scheduler[8a25cd68-3d17-4969-bb69-752aee1fb177] succeeded in 0.02081612199981464s: None
   superset_worker          | [2021-07-17 16:20:00,055: INFO/ForkPoolWorker-1] Task cache-warmup[e9f826a6-794a-46e5-b6b4-3e2122c7ae03] succeeded in 0.024644025999805308s: {'success': [], 'errors': ['http://0.0.0.0:8088/superset/explore/?form_data=%7B%22slice_id%22%3A%20164%7D']}
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org