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

Fix db_setup.py on MacOS (readlink)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: admin
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              granthenke Grant Henke
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: