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

ASF subversion and git services commented on SQOOP-1832:
--------------------------------------------------------

Commit 2099cbad654addb4e62a12a76b504f1e43a2a831 in sqoop's branch 
refs/heads/sqoop2 from [~abec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=2099cba ]

SQOOP-1832: Sqoop2: Enforce that integration test working directory is always 
in target/ directory

(Jarek Jarcec Cecho via Abraham Elmahrek)


> Sqoop2: Enforce that integration test working directory is always in target/ 
> directory
> --------------------------------------------------------------------------------------
>
>                 Key: SQOOP-1832
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1832
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.99.4
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Jarek Jarcec Cecho
>             Fix For: 1.99.5
>
>         Attachments: SQOOP-1832.patch
>
>
> I've noticed that on certain executions (for example {{mvn integration-test 
> -pl test}} we're using OS's temp directory ({{/tmp}} on linux, 
> {{/var/folders/bf/...}} on mac OS X) instead of the configured {{target/}} 
> directory.
> This is relatively small issue, but I would like to fix it because:
> * The tmp directory is not discoverable in Jenkins, so we can't get to all 
> logs without SSH to target Jenkins slave
> * {{mvn clean}} won't clean up those files
> * The directory can get reused if one runs the tests twice on single machine 
> (from two different directories)
> I believe that the problem is that we're defining the [test's temporary 
> directory|https://github.com/apache/sqoop/blob/sqoop2/test/pom.xml#L157] in 
> the pom file using environmental variable {{sqoop.integration.tmpdir}} 
> conditionally only in some profiles. We should simply set it in all profiles.



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

Reply via email to