Incubator-superset: Hanging during Docker webpack build

Created on 25 Apr 2019  路  5Comments  路  Source: apache/incubator-superset

I'm attempting to setup Superset on an AWS t3.micro instance. When running:

cd incubator-superset/contrib/docker && \
  docker-compose run --rm superset ./docker-init.sh

The command hangs during the webpack build phase.

Expected results

The build will complete.

Actual results

The command hangs with the following output:

# ...
 > https://www.justgiving.com/refugee-support-europe

added 2514 packages in 31.406s

> [email protected] build /home/superset/superset/assets
> NODE_ENV=production webpack --mode=production --colors --progress

clean-webpack-plugin: /home/superset/superset/assets/dist has been removed.
Starting type checking service...
Using 1 worker with 2048MB memory limit
 90% chunk assets processing


Screenshots

N/A

How to reproduce the bug

  1. Clone repository
  2. Run: cd incubator-superset/contrib/docker
  3. Run: docker-compose run --rm superset ./docker-init.sh
  4. See hanging build.

Environment

(please complete the following information):

  • OS: Ubuntu Xenial 16.04
  • superset version: master
  • python version: n/a
  • node.js version: n/a
  • npm version: n/a

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • [x] I have reproduced the issue with at least the latest released version of superset.
  • [x] I have checked the issue tracker for the same issue and I haven't found one similar.
#bug inactive

All 5 comments

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.65. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

Hi @jonlambert :) I got the very same issue building an image with docker, how did you solved it? Did you changed something in the Dockerfile or the docker-compose.yml?

Hi, to whomsoever it may help, I was able to get it working after increasing the total runtime memory available to docker from 2GB to 4GB.

Reference: https://docs.docker.com/docker-for-mac/

Hi, to whomsoever it may help, I was able to get it working after increasing the total runtime memory available to docker from 2GB to 4GB.

Yes, this did it for me. Thanks!!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shyam2794 picture shyam2794  路  3Comments

john-bodley picture john-bodley  路  3Comments

eliab picture eliab  路  3Comments

vylc picture vylc  路  3Comments

kalimuthu123 picture kalimuthu123  路  3Comments