sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anne Yu (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SENTRY-972) Include sentry-tests-hive hadoop test script in maven project
Date Mon, 07 Dec 2015 04:57:11 GMT

    [ https://issues.apache.org/jira/browse/SENTRY-972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15044369#comment-15044369
] 

Anne Yu edited comment on SENTRY-972 at 12/7/15 4:56 AM:
---------------------------------------------------------

[~coheig], can you check the test failures and resolve them?

Sorry, didn't understand [~colin_mjj]'s comments very well. seems the committed patch missing
file hadoop. I guess [~lskuff] has to help here.


was (Author: anneyu):
[~coheig], can you check the test failures and resolve them?

> Include sentry-tests-hive hadoop test script in maven project
> -------------------------------------------------------------
>
>                 Key: SENTRY-972
>                 URL: https://issues.apache.org/jira/browse/SENTRY-972
>             Project: Sentry
>          Issue Type: Improvement
>          Components: Test
>            Reporter: Colm O hEigeartaigh
>            Assignee: Colm O hEigeartaigh
>            Priority: Trivial
>             Fix For: 1.7.0
>
>         Attachments: SENTRY-972.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message