Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-1816

Fix findbugs-exclude.xml path and hadoop version in falcon-regression pom

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk
    • 0.10
    • merlin
    • None

    Description

      We have falcon-regression damaged by FALCON-1792 and FALCON-1721. If we try to compile falcon-regression code it fails complaining on:

      [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]
      

      If hadoop version is reverted back to 2.7.1 it compiles ok.
      Then we have findbugs-exclude.xml moved. So mvn verify fails with the following:

      [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] 
      

      After applying patch it works well:

      [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] ------------------------------------------------------------------------
      

      Attachments

        1. FALCON-1816.diff
          2 kB
          Paul Isaychuk

        Activity

          People

            pisaychuk Paul Isaychuk
            pisaychuk Paul Isaychuk
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: