Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-1084 Ozone Recon Service V0.1
  3. HDDS-1396

Recon start fails due to changes in Aggregate Schema definition (HDDS-1189).

Details

    Description

      Recon Server start fails due to ClassNotFound exception when looking for org.apache.hadoop.ozone.recon.ReconServer.

      Attachments

        Issue Links

          Activity

            Work done

            • bin/ozone looks for hadoop-ozone-recon-*.jar as the main JAR for Recon Server. Since the codegen jar (hadoop-ozone-recon-codegen) also satisfies the above, it gets picked up as the main JAR and recon start fails due to CNF issue. To fix this, we have changed artifact name of codegen module such that it does not get picked up as Application JAR for recon.
            • Fixed guice issue for DataSourceConfiguration.
            • Downgraded guice version to 4.0, to keep it compatible to dependencies.
            avijayan Aravindan Vijayan added a comment - Work done bin/ozone looks for hadoop-ozone-recon-*.jar as the main JAR for Recon Server. Since the codegen jar (hadoop-ozone-recon-codegen) also satisfies the above, it gets picked up as the main JAR and recon start fails due to CNF issue. To fix this, we have changed artifact name of codegen module such that it does not get picked up as Application JAR for recon. Fixed guice issue for DataSourceConfiguration. Downgraded guice version to 4.0, to keep it compatible to dependencies.

            Thank You avijayan for the contribution and swagle for the review.

            I have committed this to trunk.

            bharat Bharat Viswanadham added a comment - Thank You avijayan for the contribution and swagle for the review. I have committed this to trunk.
            swagle Siddharth Wagle added a comment - - edited

            Thanks bharatviswa for committing this Recon blocker.

            swagle Siddharth Wagle added a comment - - edited Thanks bharatviswa for committing this Recon blocker.
            hudson Hudson added a comment -

            SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #16411 (See https://builds.apache.org/job/Hadoop-trunk-Commit/16411/)
            HDDS-1396 : Recon start fails due to changes in Aggregate Schema (bharat: rev 62e38ea911dab7bff8553a167a97858c3cfb58e3)

            • (edit) hadoop-ozone/ozone-recon/src/main/java/org/apache/hadoop/ozone/recon/persistence/JooqPersistenceModule.java
            • (edit) hadoop-ozone/ozone-recon/src/test/java/org/apache/hadoop/ozone/recon/persistence/AbstractSqlDatabaseTest.java
            • (edit) hadoop-ozone/ozone-recon-codegen/pom.xml
            • (edit) hadoop-ozone/ozone-recon/pom.xml
            • (edit) hadoop-ozone/pom.xml
            hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #16411 (See https://builds.apache.org/job/Hadoop-trunk-Commit/16411/ ) HDDS-1396 : Recon start fails due to changes in Aggregate Schema (bharat: rev 62e38ea911dab7bff8553a167a97858c3cfb58e3) (edit) hadoop-ozone/ozone-recon/src/main/java/org/apache/hadoop/ozone/recon/persistence/JooqPersistenceModule.java (edit) hadoop-ozone/ozone-recon/src/test/java/org/apache/hadoop/ozone/recon/persistence/AbstractSqlDatabaseTest.java (edit) hadoop-ozone/ozone-recon-codegen/pom.xml (edit) hadoop-ozone/ozone-recon/pom.xml (edit) hadoop-ozone/pom.xml

            People

              avijayan Aravindan Vijayan
              avijayan Aravindan Vijayan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m