Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-1949

Sqoop 1.4.5 artifacts aren't getting resolved in the release...

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 1.0.0, 1.1.0
    • Component/s: build, tests
    • Labels:
      None

      Description

      test-artifacts can not be deployed nor verified. the following message is getting thrown from the maven run:

      {verbatim}
      [ERROR] Failed to execute goal on project sqoop-smoke: Could not resolve dependencies for project org.apache.bigtop.itest:sqoop-smoke:jar:1.0.0: The following artifacts could not be resolved: org.apache.sqoop:sqoop-core:jar:1.4.5, org.apache.sqoop:sqoop-client:jar:1.4.5: Could not find artifact org.apache.sqoop:sqoop-core:jar:1.4.5 in central (http://repo.maven.apache.org/maven2) -> [Help 1]{verbatim}

      Indeed https://repo1.maven.org/maven2/org/apache/sqoop/ does have nothing of the sort. Does Sqoop community still publish 1.4.* artifacts at all?

      1. BIGTOP-1949.1.patch
        31 kB
        YoungWoo Kim
      2. BIGTOP-1949.patch
        30 kB
        YoungWoo Kim

        Issue Links

          Activity

          Hide
          cos Konstantin Boudnik added a comment -

          Committed to branch-1.0 and the master branches. Thanks YoungWoo!

          Show
          cos Konstantin Boudnik added a comment - Committed to branch-1.0 and the master branches. Thanks YoungWoo!
          Hide
          warwithin YoungWoo Kim added a comment -

          Konstantin Boudnik, I've uploaded a revised patch: BIGTOP-1949.1.patch

          And clearing your local maven repository may help:

          $ rm -rf ~/.m2/repository/*
          $ mvn -f bigtop-tests/test-artifacts/pom.xml clean install
          
          Show
          warwithin YoungWoo Kim added a comment - Konstantin Boudnik , I've uploaded a revised patch: BIGTOP-1949.1.patch And clearing your local maven repository may help: $ rm -rf ~/.m2/repository/* $ mvn -f bigtop-tests/test-artifacts/pom.xml clean install
          Hide
          cos Konstantin Boudnik added a comment -

          Actually, there's one issue. See the following when I am trying to install the artifacts:

          [ERROR] The build could not read 1 project -> [Help 1]
          [ERROR]   
          [ERROR]   The project org.apache.bigtop.itest:sqoop-smoke:1.1.0-SNAPSHOT (/home/cos/work/bigtop/bigtop-tests/test-artifacts/sqoop/pom.xml) has 1 error
          [ERROR]     'dependencies.dependency.version' for org.apache.sqoop:sqoop:jar:hadoop200 is missing. @ line 36, column 19
          [ERROR] 
          [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
          [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          [ERROR] 
          

          Could you please take a look? Thanks!

          Show
          cos Konstantin Boudnik added a comment - Actually, there's one issue. See the following when I am trying to install the artifacts: [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.apache.bigtop.itest:sqoop-smoke:1.1.0-SNAPSHOT (/home/cos/work/bigtop/bigtop-tests/test-artifacts/sqoop/pom.xml) has 1 error [ERROR] 'dependencies.dependency.version' for org.apache.sqoop:sqoop:jar:hadoop200 is missing. @ line 36, column 19 [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch . [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] Could you please take a look? Thanks!
          Hide
          cos Konstantin Boudnik added a comment -

          Ok, I will commit it to both branches right now. Thanks again!

          Show
          cos Konstantin Boudnik added a comment - Ok, I will commit it to both branches right now. Thanks again!
          Hide
          warwithin YoungWoo Kim added a comment -

          1. Should be committed to both: master and branch-1.0
          2. Yes. I left integration tests for Sqoop and removed obsolete tests for Sqoop2.

          Show
          warwithin YoungWoo Kim added a comment - 1. Should be committed to both: master and branch-1.0 2. Yes. I left integration tests for Sqoop and removed obsolete tests for Sqoop2.
          Hide
          cos Konstantin Boudnik added a comment -

          Thanks for the patch - it addresses the problem: hence +1

          A couple of questions though:

          • is this only 1.0 patch? Cause it seems that master has the same issue. Or we don't care about this issue in the master as far as BIGTOP-1843 is getting done?
          • the tests are gone now, right? Only the sqoop smoke and integration tests are now left, as far as I can see. Shall the resources folder go as well now? Just making sure...

          Thanks!

          Show
          cos Konstantin Boudnik added a comment - Thanks for the patch - it addresses the problem: hence +1 A couple of questions though: is this only 1.0 patch? Cause it seems that master has the same issue. Or we don't care about this issue in the master as far as BIGTOP-1843 is getting done? the tests are gone now, right? Only the sqoop smoke and integration tests are now left, as far as I can see. Shall the resources folder go as well now? Just making sure... Thanks!
          Hide
          warwithin YoungWoo Kim added a comment -

          First patch: BIGTOP-1949.patch

          There were two issues here:

          • classifier shoud be specified when you pull the jars from maven central
          • sqoop test, indeed it was sqoop2 test but also it's obsolete.

          This patch will resolve preceding issues and originally it should be fixed in BIGTOP-1739. My bad! I forgot to fix that.

          Show
          warwithin YoungWoo Kim added a comment - First patch: BIGTOP-1949.patch There were two issues here: classifier shoud be specified when you pull the jars from maven central sqoop test, indeed it was sqoop2 test but also it's obsolete. This patch will resolve preceding issues and originally it should be fixed in BIGTOP-1739 . My bad! I forgot to fix that.

            People

            • Assignee:
              warwithin YoungWoo Kim
              Reporter:
              cos Konstantin Boudnik
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development