sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-1832) Sqoop2: Enforce that integration test working directory is always in target/ directory
Date Mon, 08 Dec 2014 05:56:13 GMT

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

Hudson commented on SQOOP-1832:
-------------------------------

FAILURE: Integrated in Sqoop2-hadoop100 #714 (See [https://builds.apache.org/job/Sqoop2-hadoop100/714/])
SQOOP-1832: Sqoop2: Enforce that integration test working directory is always in target/ directory
(abe: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2099cbad654addb4e62a12a76b504f1e43a2a831)
* test/pom.xml


> 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)

Mime
View raw message