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...