Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-972

Include sentry-tests-hive hadoop test script in maven project

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: Test
    • Labels:
      None

      Description

      Currently, the sentry-tests-hive module ships a hadoop script in testutils, and uses the maven-antrun-plugin to write and execute a script to copy the hadoop file into "target" and make it executable.

      A better approach would be just to include the script in src/test/resources, and change the permission in the test code to make it executable. This avoids the use of the antrun-plugin + executing a bash script, as well as including the script in the standard maven project structure.

        Attachments

        1. SENTRY-972.patch
          10 kB
          Colm O hEigeartaigh

          Issue Links

            Activity

              People

              • Assignee:
                coheigea Colm O hEigeartaigh
                Reporter:
                coheigea Colm O hEigeartaigh
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: