jojochuang commented on a change in pull request #3037: URL: https://github.com/apache/hadoop/pull/3037#discussion_r637344440
########## File path: dev-support/docker/Dockerfile_aarch64 ########## @@ -169,6 +160,9 @@ ENV MAVEN_OPTS -Xms256m -Xmx1536m # Skip gpg verification when downloading Yetus via yetus-wrapper ENV HADOOP_SKIP_YETUS_VERIFICATION true +# Force PhantomJS to be in 'headless' mode, do not connect to Xwindow +ENV QT_QPA_PLATFORM offscreen + Review comment: The official Ubuntu phantomjs has a caveat: it requires X Window. (ariya/phantomjs#14376 (comment)). Add environment var QT_QPA_PLATFORM=offscreen to make it really 'headless". If it's not headless, the installer fails to execute phantomjs and abort. ########## File path: dev-support/docker/Dockerfile_aarch64 ########## @@ -150,17 +152,6 @@ RUN pip3 install pylint==2.6.0 python-dateutil==2.8.1 # hadolint ignore=DL3008 RUN npm install -g bower@1.8.8 -### Review comment: replaced the custom PhantomJS binary (which was built for Xenial and does not run on Bionic) with the official phantomjs package for Bionic. ########## File path: dev-support/docker/Dockerfile_aarch64 ########## @@ -80,12 +80,14 @@ RUN apt-get -q update \ python3-pkg-resources \ python3-setuptools \ python3-wheel \ + python2.7 \ Review comment: We need python2.7 package, because hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui installs node-gyp 3.8, which has dependency on python2 to build. -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org