You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2022/04/21 19:37:02 UTC

[GitHub] [nifi] bbende opened a new pull request, #5989: NIFI-9950 Identify MariaDB database type and use MySQL migration scripts

bbende opened a new pull request, #5989:
URL: https://github.com/apache/nifi/pull/5989

   Build NiFi Registry with `-Ptest-all-dbs` or specify `-Dspring.profiles.active=mariadb-10-3` or `-Dspring.profiles.active=mariadb-10-2`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nifi] thenatog commented on pull request #5989: NIFI-9950 Identify MariaDB database type and use MySQL migration scripts

Posted by GitBox <gi...@apache.org>.
thenatog commented on PR #5989:
URL: https://github.com/apache/nifi/pull/5989#issuecomment-1105940090

   Without this fix and running **mvn clean install -Dspring.profiles.active=mariadb-10-2** in ./nifi/nifi-registry I see:
   
   > [ERROR] org.apache.nifi.registry.db.TestDatabaseMetadataService.testGetExtensionBundleVersionByBucketGroupArtifactVersion  Time elapsed: 0 s  <<< ERROR!
   java.lang.IllegalStateException: Failed to load ApplicationContext
   Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: 
   Error creating bean with name 'databaseKeyService' defined in file [/Users/ngough/IdeaProjects/nifi-fresh/nifi-registry/nifi-registry-core/nifi-registry-framework/target/classes/org/apache/nifi/registry/db/DatabaseKeyService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.exception.FlywayValidateException: Validate failed: Migrations have failed validation
   Detected failed migration to version 2 (Initial). Please remove any half-completed changes then run repair to fix the schema history.
   Need more flexibility with validation rules? Learn more: https://rd.gt/3AbJUZE
   Caused by: org.springframework.beans.factory.BeanCreationException: 
   Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.exception.FlywayValidateException: Validate failed: Migrations have failed validation
   Detected failed migration to version 2 (Initial). Please remove any half-completed changes then run repair to fix the schema history.
   Need more flexibility with validation rules? Learn more: https://rd.gt/3AbJUZE
   Caused by: org.flywaydb.core.api.exception.FlywayValidateException: 
   Validate failed: Migrations have failed validation
   Detected failed migration to version 2 (Initial). Please remove any half-completed changes then run repair to fix the schema history.
   Need more flexibility with validation rules? Learn more: https://rd.gt/3AbJUZE
   
   and with this PR it looks all fixed:
   
   >[INFO] ------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  03:59 min
   
   +1 will merge.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nifi] thenatog commented on pull request #5989: NIFI-9950 Identify MariaDB database type and use MySQL migration scripts

Posted by GitBox <gi...@apache.org>.
thenatog commented on PR #5989:
URL: https://github.com/apache/nifi/pull/5989#issuecomment-1105922280

   Will review


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nifi] bbende closed pull request #5989: NIFI-9950 Identify MariaDB database type and use MySQL migration scripts

Posted by GitBox <gi...@apache.org>.
bbende closed pull request #5989: NIFI-9950 Identify MariaDB database type and use MySQL migration scripts
URL: https://github.com/apache/nifi/pull/5989


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org