Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14842

Hadoop 2.8.2 release build process get stuck due to java issue

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 2.9.0, 2.8.2
    • build
    • None
    • Reviewed

    Description

      In my latest 2.8.2 release build (via docker) get failed, and following errors received:

      "/usr/bin/mvn -Dmaven.repo.local=/maven -pl hadoop-maven-plugins -am clean install
      Error: JAVA_HOME is not defined correctly. We cannot execute /usr/lib/jvm/java-7-oracle/bin/java"
      

      This looks like related to HADOOP-14474. However, reverting that patch doesn't work here because build progress will get failed earlier in java download/installation - may be as mentioned in HADOOP-14474, some java 7 download address get changed by Oracle.
      Hard coding my local JAVA_HOME to create-release or Dockerfile doesn't work here although it show correct java home. My suspect so far is we still need to download java 7 from somewhere to make build progress continue in docker building process, but haven't got clue to go through this.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            junping_du Junping Du Assign to me
            junping_du Junping Du
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment