Uploaded image for project: 'Hadoop Distributed Data Store'
  1. Hadoop Distributed Data Store
  2. HDDS-3668

OzoneManager start fails with RocksDB error on downgrade to older version.

    XMLWordPrintableJSON

    Details

    • Target Version/s:

      Description

      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.

      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
      

      Thanks to Bharat Viswanadham for reporting this issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                avijayan Aravindan Vijayan
                Reporter:
                bharat Bharat Viswanadham
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: