Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2628

build_ranger_using_docker.sh fails

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • None
    • build-infra, Ranger
    • - Java(TM) SE Runtime Environment (build 1.8.0_161-b12) 64-Bit Server VM mixed mode
      - Python 3.6.9
      - Linux Mint 19.2 (based on Ubuntu bionic)
      - Linux kernel 4.15.0-62-generic

    Description

      I'm trying to evaluate Apache Ranger by running a docker and creating a small demo.

      I'm hitting too many walls, which is weird because Ranger is supposedly the main tool for providing Authentication on Hadoop ecosystem. This is a major issue for my company because we cannot move fwd with adopting a tool that we cannot even build.

       

      Here is how to reproduce:

      • Download apache-atlas-2.0.0-sources.tar.gz
      • Unpack it
      • Run build_ranger_using_docker.sh
      • You will get

      Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (generate-version-annotation) on project ranger-util: An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "python" (in directory "/ranger/ranger-util"): error=2, No such file or directory

       

      Here is what I've tried:

      • Checking python is in my $PATH
      • Creating a virtual environment and hardcoding line 49 of pom.xml

       

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            serkef Sergio Kef

            Dates

              Created:
              Updated:

              Slack

                Issue deployment