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

build_ranger_using_docker.sh fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: build-infra, Ranger
    • Labels:
    • Environment:
      - 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

            People

            • Assignee:
              Unassigned
              Reporter:
              serkef Sergio Kef
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: