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

Fix db_setup.py on MacOS (readlink)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • admin
    • None

    Description

      The Kudu project test infrastructure also needs to run on MacOS. Everything works okay except that we to apply a patch to fix an issue running db_setup.py as it runs ranger-admin-services.sh which sets the script path by running `readlink -f $0` which doesn't work on Mac.

      We patched both for Kudu purposes, but it would be good to remove the custom patch in future releases.

      https://github.com/apache/kudu/blob/master/thirdparty/patches/ranger-fixscripts.patch

      Attachments

        Activity

          People

            Unassigned Unassigned
            granthenke Grant Henke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: