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

EINVRES Request to https://bower.herokuapp.com/packages/ember-cli-shims failed with 502

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • yarn
    • None

    Description

      When doing an update to 3.0.3 release, by running command

      dev-support/bin/create-release --asfrelease --docker --dockercache

      documented in

      https://wiki.apache.org/hadoop/HowToRelease

      I hit the following problem:

      43566 WARNING: Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Thu, 08 Jul 2038 07:00:00 -0000; secure; HttpOnly". Invalid 'expires' attribute: Thu, 08 Jul 2038 07: 00:00 -0000
      43567 [INFO] Unpacking /maven/com/github/eirslett/yarn/0.21.3/yarn-0.21.3.tar.gz into /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node/yarn
      43568 [INFO] Installed Yarn locally.
      43569 [INFO]
      43570 [INFO] — frontend-maven-plugin:1.5:yarn (yarn install) @ hadoop-yarn-ui —
      43571 [INFO] Running 'yarn install' in /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp
      43572 [INFO] yarn install v0.21.3
      43573 [INFO] [1/4] Resolving packages...
      43574 [INFO] [2/4] Fetching packages...
      43575 [INFO] [3/4] Linking dependencies...
      43576 [INFO] [4/4] Building fresh packages...
      43577 [INFO] success Saved lockfile.
      43578 [INFO] Done in 33.19s.
      43579 [INFO]
      43580 [INFO] — frontend-maven-plugin:1.5:bower (bower install) @ hadoop-yarn-ui —
      43581 [INFO] Running 'bower install' in /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp
      43582 [ERROR] bower ember-cli-shims#0.0.6 EINVRES Request to https://bower.herokuapp.com/packages/ember-cli-shims failed with 502

      And I found the solution here:

      https://stackoverflow.com/questions/51020317/einvres-request-to-https-bower-herokuapp-com-packages-failed-with-502#

      This is due to a recent change

      Bower is deprecating their registry hosted with heroku. http://bower.herokuapp.com/ wont be accessible any more or it might be down intermittently there by forcing users to new registry.
      Users working on old bower versions can update the .bowerrc file with the following data.

      {
        "registry": "https://registry.bower.io"
      }
      

      Create this jira to update
      hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/.bowerrc
      accordingly.

      Attachments

        Issue Links

          Activity

            People

              yzhangal Yongjun Zhang
              yzhangal Yongjun Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: