[ https://issues.apache.org/jira/browse/HDDS-3668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bharat Viswanadham updated HDDS-3668: ------------------------------------- Reporter: Bharat Viswanadham (was: Aravindan Vijayan) > OzoneManager start fails with RocksDB error on downgrade to older version. > -------------------------------------------------------------------------- > > Key: HDDS-3668 > URL: https://issues.apache.org/jira/browse/HDDS-3668 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Components: Ozone Manager > Affects Versions: 0.6.0 > Reporter: Bharat Viswanadham > Assignee: Aravindan Vijayan > Priority: Critical > Labels: pull-request-available, upgrade > Fix For: 0.6.0 > > > OM start fails with RocksDB error when downgrading to older version that does > not have all the column families that may have been created in the newer > version. > {code} > java.io.IOException: Failed init RocksDB, db path : > /tmp/ozone/data/metadata/om.db, exception :org.rocksdb.RocksDBE > xception You have to open all column families. Column families not opened: > transactionInfoTable; status : InvalidAr > gument; message : You have to open all column families. Column families not > opened: transactionInfoTable > at > org.apache.hadoop.hdds.utils.db.RDBStore.toIOException(RDBStore.java:159) > at org.apache.hadoop.hdds.utils.db.RDBStore.<init>(RDBStore.java:141) > at > org.apache.hadoop.hdds.utils.db.DBStoreBuilder.build(DBStoreBuilder.java:181) > at > org.apache.hadoop.ozone.om.OmMetadataManagerImpl.start(OmMetadataManagerImpl.java:267) > at > org.apache.hadoop.ozone.om.OmMetadataManagerImpl.<init>(OmMetadataManagerImpl.java:164) > at > org.apache.hadoop.ozone.om.OzoneManager.instantiateServices(OzoneManager.java:478) > at > org.apache.hadoop.ozone.om.OzoneManager.<init>(OzoneManager.java:416) > at > org.apache.hadoop.ozone.om.OzoneManager.createOm(OzoneManager.java:884) > at > org.apache.hadoop.ozone.om.OzoneManagerStarter$OMStarterHelper.start(OzoneManagerStarter.java:123) > at > org.apache.hadoop.ozone.om.OzoneManagerStarter.startOm(OzoneManagerStarter.java:78) > at > org.apache.hadoop.ozone.om.OzoneManagerStarter.call(OzoneManagerStarter.java:66) > at > org.apache.hadoop.ozone.om.OzoneManagerStarter.call(OzoneManagerStarter.java:37) > at picocli.CommandLine.execute(CommandLine.java:1173) > at picocli.CommandLine.access$800(CommandLine.java:141) > at picocli.CommandLine$RunLast.handle(CommandLine.java:1367) > at picocli.CommandLine$RunLast.handle(CommandLine.java:1335) > at > picocli.CommandLine$AbstractParseResultHandler.handleParseResult(CommandLine.java:1243) > at picocli.CommandLine.parseWithHandlers(CommandLine.java:1526) > at picocli.CommandLine.parseWithHandler(CommandLine.java:1465) > at org.apache.hadoop.hdds.cli.GenericCli.execute(GenericCli.java:75) > at org.apache.hadoop.hdds.cli.GenericCli.run(GenericCli.java:66) > at > org.apache.hadoop.ozone.om.OzoneManagerStarter.main(OzoneManagerStarter.java:50) > Caused by: org.rocksdb.RocksDBException: You have to open all column > families. Column families not opened: transact > ionInfoTable > at org.rocksdb.RocksDB.open(Native Method) > at org.rocksdb.RocksDB.open(RocksDB.java:290) > at org.apache.hadoop.hdds.utils.db.RDBStore.<init>(RDBStore.java:97) > ... 20 more > {code} > Thanks to [~bharat] for reporting this issue. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org