[
https://issues.apache.org/jira/browse/SQOOP-2476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695618#comment-14695618
]
Jarek Jarcec Cecho commented on SQOOP-2476:
-------------------------------------------
So the patch fixes the immediate issue as we're not longer getting the same
exception as can be seen in [last
run|https://builds.apache.org/job/PreCommit-SQOOP-Build/1542/console]. Sadly it
also uncovered few additional issues:
* SQOOP-2477: Sqoop2: Add protection for HTTP error 404 to precommit hook
* We seem to be running integration tests as part of unit test call
My suggestion is to commit this patch and work on both points in separate JIRAs
as they are likely independent.
> Sqoop2: Fix failing precommit hook
> ----------------------------------
>
> Key: SQOOP-2476
> URL: https://issues.apache.org/jira/browse/SQOOP-2476
> Project: Sqoop
> Issue Type: Bug
> Affects Versions: 1.99.6
> Reporter: Jarek Jarcec Cecho
> Assignee: Jarek Jarcec Cecho
> Fix For: 1.99.7
>
> Attachments: SQOOP-2476.patch
>
>
> Our pre-commit hook is currently failing on every build, it seems that it got
> broken by SQOOP-2472 (as investigated by [~colin_mjj]). Looking deeply into
> error exception:
> {code}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project
> sqoop-server: failed to get report for
> org.codehaus.mojo:cobertura-maven-plugin: Failed to execute goal
> org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project
> sqoop-server: Failed to copy file for artifact
> [org.apache.sqoop:sqoop-core:jar:2.0.0-SNAPSHOT:compile]:
> /home/jenkins/jenkins-slave/workspace/PreCommit-SQOOP-Build/core/target/classes
> (Is a directory) -> [Help 1]
> {code}
> It seems that updated cobertura plugin doesn't work well with the war plugin.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)