Team, Thanks for the effort in verifying this recent round of release candidates. At the risk of placing additional burden on everyone to review another version, I am canceling Release Candidate 5 to include a correction for the Jolt Transform JSON advanced user interface, tracked under NIFI-12403 [1]. The rest of the release will remain unchanged, which should make it easier to vote on the next version. Thanks again for your work and patience as we move toward the next release!
Regards, David Handermann [1] https://issues.apache.org/jira/browse/NIFI-12403 On Wed, Nov 22, 2023 at 12:17 PM Nissim Shiman <[email protected]> wrote: > > Hi David, > > > This makes sense. Thank you very much! > > Nissim > On Wednesday, November 22, 2023 at 01:14:53 PM EST, David Handermann > <[email protected]> wrote: > > Hi Nissim, > > Thanks for raising this question. > > The short answer is that this is expected behavior for NiFi and NiFi Registry. > > NiFi and NiFI Registry include automated migration capabilities for > the H2 database in version 1. This allows straightforward upgrades > within the same major release version. > > NiFi 2.0.0 removes this automated migration capability, and it is > expected that any upgrades from version 1 will require first upgrading > to the latest minor release version, which will be 1.24.0 following > the completion of this release cycle. > > NiFi Registry 1.24.0 and 2.0.0-M1 will continue to support H2, but > version 2.0.0 will require upgrading to 1.24.0 before upgrading to > 2.0.0. > > Regards, > David Handermann > > On Wed, Nov 22, 2023 at 12:03 PM Nissim Shiman > <[email protected]> wrote: > > > > Team, > > > > > > I'm having difficulty migrating from registry 1.22.0 or earlier to > > 2.0.0-M1. This was not seen on when moving to 1.24.0 (RC3). > > > > > > i.e. Migrating registry from 1.23.2 to 2.0.0-M1 or 1.24.0 (RC3) works fine. > > > > > > ("Migrating" meaning a copying of the database and flow_storage directories > > from the root directory of the older registry to 2.0.0-M1/1.24.0 (RC3)) > > > > > > Registry is having difficulty starting up. Has anyone else noticed this? > > > > > > Caused by: org.h2.jdbc.JdbcSQLNonTransientConnectionException: Unsupported > > database file version or invalid file header in file "/<nifi registry root > > directory>/registry_2_0_0_M1/nifi-registry-2.0.0-M1/database/nifi-registry-primary.mv.db" > > [90048-224] at > > org.h2.message.DbException.getJdbcSQLException(DbException.java:690) > > at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) > > at org.h2.message.DbException.get(DbException.java:212) at > > org.h2.mvstore.db.Store.convertMVStoreException(Store.java:158) at > > org.h2.mvstore.db.Store.<init>(Store.java:142) at > > org.h2.engine.Database.<init>(Database.java:326) at > > org.h2.engine.Engine.openSession(Engine.java:92) at > > org.h2.engine.Engine.openSession(Engine.java:222) at > > org.h2.engine.Engine.createSession(Engine.java:201) at > > org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:343) > > at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:125) > > at org.h2.Driver.connect(Driver.java:59) at > > com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138) > > at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359) > > at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201) > > at > > com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470) > > at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561) > > at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100) > > at > > com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) > > at > > org.apache.nifi.registry.db.CustomFlywayConfiguration.getDatabaseType(CustomFlywayConfiguration.java:91) > > ... 121 common frames omittedCaused by: > > org.h2.mvstore.MVStoreException: The write format 2 is smaller than the > > supported format 3 [2.2.224/5] at > > org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:996) at > > org.h2.mvstore.FileStore.getUnsupportedWriteFormatException(FileStore.java:943) > > at > > org.h2.mvstore.FileStore.processCommonHeaderAttributes(FileStore.java:547) > > at > > org.h2.mvstore.RandomAccessStore.readStoreHeader(RandomAccessStore.java:227) > > at org.h2.mvstore.FileStore.start(FileStore.java:916) at > > org.h2.mvstore.MVStore.<init>(MVStore.java:289) at > > org.h2.mvstore.MVStore$Builder.open(MVStore.java:2035) at > > org.h2.mvstore.db.Store.<init>(Store.java:133) ... 136 common frames > > omitted > > > > Thanks, > > Nissim Shiman > > On Tuesday, November 21, 2023 at 10:40:25 PM UTC, David Handermann > > <[email protected]> wrote: > > > > Team, > > > > I am pleased to be calling this vote for the source release of Apache > > NiFi 2.0.0-M1. > > > > Please review the following guide for how to verify a release candidate > > build: > > > > https://cwiki.apache.org/confluence/display/NIFI/Release+Candidate+Verification > > > > The source being voted on the and the convenience binaries are > > available on the Apache Distribution Repository: > > > > https://dist.apache.org/repos/dist/dev/nifi/nifi-2.0.0-M1 > > > > The build artifacts are available on the Apache Nexus Repository: > > > > https://repository.apache.org/content/repositories/orgapachenifi-1248 > > > > Git Tag: nifi-2.0.0-M1-RC5 > > Git Commit ID: f81a3597d40f3fe6df93d55347a11474ee6af2c8 > > GitHub Commit Link: > > https://github.com/apache/nifi/commit/f81a3597d40f3fe6df93d55347a11474ee6af2c8 > > > > Checksums of nifi-2.0.0-M1-source-release.zip > > > > SHA256: 217096b30c211b8fb6bd069832416b507b258f335d7301772a8c047f470a4b30 > > SHA512: > > 949849c59d2d8a2d0a441fd14c718f97cfb86c72fdd2de9a954a5829eebad6f9ad60622ecc6db200e246f77f771530be20f47793b3a8a18d2ceed252223139ee > > > > Release artifacts are signed with the following key: > > > > https://people.apache.org/keys/committer/exceptionfactory.asc > > > > KEYS file is available on the Apache Distribution Repository: > > > > https://dist.apache.org/repos/dist/release/nifi/KEYS > > > > Issues resolved for this version: 958 > > > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316020&version=12339599 > > > > Release note highlights can be found on the project wiki: > > > > https://cwiki.apache.org/confluence/display/NIFI/Release+Notes#ReleaseNotes-Version2.0.0-M1 > > > > The vote will be open for 72 hours. > > > > Please download the release candidate and evaluate the necessary items > > including checking hashes, signatures, build from source, and test. > > Then please vote: > > > > [] +1 Release this package as nifi-2.0.0-M1 > > [] +0 no opinion > > [] -1 Do not release this package because... > > >
