You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Paul Isaychuk (JIRA)" <ji...@apache.org> on 2016/02/03 15:37:39 UTC

[jira] [Updated] (FALCON-1816) Fix findbugs-exclude.xml path in falcon-regression pom

     [ https://issues.apache.org/jira/browse/FALCON-1816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Isaychuk updated FALCON-1816:
----------------------------------
    Description: 
If we try to compile falcon-regression code it fails complaining on:
{code}
[WARNING] The POM for org.apache.hadoop:hadoop-azure:jar:2.6.2 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Falcon Regression ........................... SUCCESS [  1.083 s]
[INFO] Apache Falcon Regression Suite Core ................ SUCCESS [  5.521 s]
[INFO] Apache Falcon Regression Suite ..................... FAILURE [  0.159 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.032 s
[INFO] Finished at: 2016-02-03T16:32:31+02:00
[INFO] Final Memory: 39M/1332M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project falcon-merlin: Could not resolve dependencies for project org.apache.falcon.regression:falcon-merlin:jar:0.10-SNAPSHOT: Failure to find org.apache.hadoop:hadoop-azure:jar:2.6.2 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
{code}
if reverted back to 2.7.1 it works ok.
Then we have findbugs-exclude.xml moved. So mvn verify fails with the following:
{code}
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Falcon Regression ........................... SUCCESS [  4.269 s]
[INFO] Apache Falcon Regression Suite Core ................ FAILURE [  6.402 s]
[INFO] Apache Falcon Regression Suite ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.948 s
[INFO] Finished at: 2016-02-03T16:33:40+02:00
[INFO] Final Memory: 56M/1377M
[INFO] ------------------------------------------------------------------------
[ERROR] Could not find resource '/home/fertrist/work/apache-falcon/falcon-regression/merlin-core/../../checkstyle/src/main/resources/falcon/findbugs-exclude.xml'. -> [Help 1]
[ERROR] 
{code}
After applying patch it works well:

{code}
[INFO] Apache Falcon Regression ........................... SUCCESS [  4.043 s]
[INFO] Apache Falcon Regression Suite Core ................ SUCCESS [ 21.876 s]
[INFO] Apache Falcon Regression Suite ..................... SUCCESS [ 14.384 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 40.617 s
[INFO] Finished at: 2016-02-03T16:35:51+02:00
[INFO] Final Memory: 70M/1980M
[INFO] ------------------------------------------------------------------------
{code}

  was:
In FALCON-1721 (Move checkstyle under parent pom, b5c0b6139af40da69667c36ad0c06a36b87f5d8c) findbugs-exclude.xml was moved to another folder.
Now when we run mvn verify -Phadoop-2 -DskipTests we get:
{code}
[INFO] Fork Value is true
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Falcon Regression ........................... SUCCESS [  4.728 s]
[INFO] Apache Falcon Regression Suite Core ................ FAILURE [  9.243 s]
[INFO] Apache Falcon Regression Suite ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.247 s
[INFO] Finished at: 2016-02-03T15:59:02+02:00
[INFO] Final Memory: 60M/1379M
[INFO] ------------------------------------------------------------------------
[ERROR] Could not find resource '/home/fertrist/work/apache-falcon/falcon-regression/merlin-core/../../checkstyle/src/main/resources/falcon/findbugs-exclude.xml'. -> [Help 1]
{code}
After applying patch we get:
{code}
[INFO] BugInstance size is 0
[INFO] Error size is 0
[INFO] No errors/warnings found
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Falcon Regression ........................... SUCCESS [  4.161 s]
[INFO] Apache Falcon Regression Suite Core ................ SUCCESS [ 22.214 s]
[INFO] Apache Falcon Regression Suite ..................... SUCCESS [ 14.591 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 41.242 s
[INFO] Finished at: 2016-02-03T16:15:16+02:00
[INFO] Final Memory: 78M/2418M
[INFO] ------------------------------------------------------------------------
{code}



> Fix findbugs-exclude.xml path in falcon-regression pom
> ------------------------------------------------------
>
>                 Key: FALCON-1816
>                 URL: https://issues.apache.org/jira/browse/FALCON-1816
>             Project: Falcon
>          Issue Type: Bug
>          Components: merlin
>    Affects Versions: trunk
>            Reporter: Paul Isaychuk
>            Assignee: Paul Isaychuk
>             Fix For: trunk
>
>
> If we try to compile falcon-regression code it fails complaining on:
> {code}
> [WARNING] The POM for org.apache.hadoop:hadoop-azure:jar:2.6.2 is missing, no dependency information available
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Falcon Regression ........................... SUCCESS [  1.083 s]
> [INFO] Apache Falcon Regression Suite Core ................ SUCCESS [  5.521 s]
> [INFO] Apache Falcon Regression Suite ..................... FAILURE [  0.159 s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 7.032 s
> [INFO] Finished at: 2016-02-03T16:32:31+02:00
> [INFO] Final Memory: 39M/1332M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project falcon-merlin: Could not resolve dependencies for project org.apache.falcon.regression:falcon-merlin:jar:0.10-SNAPSHOT: Failure to find org.apache.hadoop:hadoop-azure:jar:2.6.2 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
> {code}
> if reverted back to 2.7.1 it works ok.
> Then we have findbugs-exclude.xml moved. So mvn verify fails with the following:
> {code}
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Falcon Regression ........................... SUCCESS [  4.269 s]
> [INFO] Apache Falcon Regression Suite Core ................ FAILURE [  6.402 s]
> [INFO] Apache Falcon Regression Suite ..................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 10.948 s
> [INFO] Finished at: 2016-02-03T16:33:40+02:00
> [INFO] Final Memory: 56M/1377M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Could not find resource '/home/fertrist/work/apache-falcon/falcon-regression/merlin-core/../../checkstyle/src/main/resources/falcon/findbugs-exclude.xml'. -> [Help 1]
> [ERROR] 
> {code}
> After applying patch it works well:
> {code}
> [INFO] Apache Falcon Regression ........................... SUCCESS [  4.043 s]
> [INFO] Apache Falcon Regression Suite Core ................ SUCCESS [ 21.876 s]
> [INFO] Apache Falcon Regression Suite ..................... SUCCESS [ 14.384 s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 40.617 s
> [INFO] Finished at: 2016-02-03T16:35:51+02:00
> [INFO] Final Memory: 70M/1980M
> [INFO] ------------------------------------------------------------------------
> {code}



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