Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-11712

Yarn-ui build fails in ARM docker looking for python2.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.4.0
    • None
    • yarn-ui-v2
    • None

    Description

      INFO] Exit code: 1
      [INFO] Command: node install.js
      [INFO] Arguments: 
      [INFO] Directory: /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/phantomjs-prebuilt
      [INFO] Output:
      [INFO] PhantomJS not found on PATH
      [INFO] Unexpected platform or architecture: linux/arm64
      [INFO] It seems there is no binary available for your platform/architecture
      [INFO] Try to install PhantomJS globally"
      [INFO] error /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/node-sass: Command failed.
      [INFO] error /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/node-sass: Command failed.info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
      [INFO] Exit code: 1
      [INFO] Command: node scripts/build.js
      [INFO] Arguments: 
      [INFO] Directory: /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/node-sass
      [INFO] Output:
      [INFO] Building: /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node/node /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/node-sass/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
      [INFO] gyp info it worked if it ends with ok
      [INFO] gyp verb cli [
      [INFO] gyp verb cli   '/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node/node',
      [INFO] gyp verb cli   '/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/node-sass/node_modules/node-gyp/bin/node-gyp.js',
      [INFO] gyp verb cli   'rebuild',
      [INFO] gyp verb cli   '--verbose',
      [INFO] gyp verb cli   '--libsass_ext=',
      [INFO] gyp verb cli   '--libsass_cflags=',
      [INFO] gyp verb cli   '--libsass_ldflags=',
      [INFO] gyp verb cli   '--libsass_library='
      [INFO] gyp verb cli ]
      [INFO] gyp info using node-gyp@3.8.0
      [INFO] gyp info using node@12.22.1 | linux | arm64
      [INFO] gyp verb command rebuild []
      [INFO] gyp verb command clean []
      [INFO] gyp verb clean removing "build" directory
      [INFO] gyp verb command configure []
      [INFO] gyp verb check python checking for Python executable "python2" in the PATH
      [INFO] gyp verb `which` failed Error: not found: python2
      [INFO] gyp verb `which` failed     at getNotFoundError (/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:13:12)
      [INFO] gyp verb `which` failed     at F (/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:68:19)
      [INFO] gyp verb `which` failed     at E (/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:80:29)
      [INFO] gyp verb `which` failed     at /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:89:16
      [INFO] gyp verb `which` failed     at /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/isexe/index.js:42:5
      [INFO] gyp verb `which` failed     at /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/isexe/mode.js:8:5
      [INFO] gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:168:21)
      [INFO] gyp verb `which` failed  python2 Error: not found: python2
      [INFO] gyp verb `which` failed     at getNotFoundError (/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:13:12)
      [INFO] gyp verb `which` failed     at F (/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:68:19)
      [INFO] gyp verb `which` failed     at E (/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:80:29)
      [INFO] gyp verb `which` failed     at /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:89:16
      [INFO] gyp verb `which` failed     at /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/isexe/index.js:42:5
      [INFO] gyp verb `which` failed     at /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/isexe/mode.js:8:5
      [INFO] gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:168:21) {
      [INFO] gyp verb `which` failed   code: 'ENOENT'
      [INFO] gyp verb `which` failed }
      [INFO] gyp verb check python checking for Python executable "python" in the PATH
      [INFO] gyp verb `which` failed Error: not found: python
      [INFO] gyp verb `which` failed     at getNotFoundError (/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:13:12)
      [INFO] gyp verb `which` failed     at F (/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:68:19)
      [INFO] gyp verb `which` failed     at E (/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:80:29)
      [INFO] gyp verb `which` failed     at /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:89:16
      [INFO] gyp verb `which` failed     at /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/isexe/index.js:42:5
      [INFO] gyp verb `which` failed     at /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/isexe/mode.js:8:5
      [INFO] gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:168:21)
      [INFO] gyp verb `which` failed  python Error: not found: python
      [INFO] gyp verb `which` failed     at getNotFoundError (/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:13:12)
      [INFO] gyp verb `which` failed     at F (/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:68:19)
      [INFO] gyp verb `which` failed     at E (/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:80:29)
      [INFO] gyp verb `which` failed     at /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:89:16
      [INFO] gyp verb `which` failed     at /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/isexe/index.js:42:5
      [INFO] gyp verb `which` failed     at /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/isexe/mode.js:8:5
      [INFO] gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:168:21) {
      [INFO] gyp verb `which` failed   code: 'ENOENT'
      [INFO] gyp verb `which` failed }
      [INFO] gyp ERR! configure error 
      [INFO] gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
      [INFO] gyp ERR! stack     at PythonFinder.failNoPython (/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/node-sass/node_modules/node-gyp/lib/configure.js:484:19)
      [INFO] gyp ERR! stack     at PythonFinder.<anonymous> (/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/node-sass/node_modules/node-gyp/lib/configure.js:406:16)
      [INFO] gyp ERR! stack     at F (/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:68:16)
      [INFO] gyp ERR! stack     at E (/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:80:29)
      [INFO] gyp ERR! stack     at /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:89:16
      [INFO] gyp ERR! stack     at /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/isexe/index.js:42:5
      [INFO] gyp ERR! stack     at /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/isexe/mode.js:8:5
      [INFO] gyp ERR! stack     at FSReqCallback.oncomplete (fs.js:168:21)
      [INFO] gyp ERR! System Linux 6.6.32-linuxkit
      [INFO] gyp ERR! command "/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node/node" "/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/node-sass/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
      [INFO] gyp ERR! cwd /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/node-sass
      [INFO] gyp ERR! node -v v12.22.1
      [INFO] gyp ERR! node-gyp -v v3.8.0
      [INFO] gyp ERR! not ok 
      [INFO] Build failed with error code: 1
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary for Apache Hadoop YARN UI 3.4.1:
      [INFO] 
      [INFO] Apache Hadoop YARN UI .............................. FAILURE [ 29.848 s]

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mthakur Mukund Thakur
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: