Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7331 Ozone PKI improvements
  3. HDDS-9046

[ozone-cert-rotation] cert clean is unable to cleanup certificates LOCK error

    XMLWordPrintableJSON

Details

    Description

      Cert clean command is unable to clean up expired certificates

      [root@quasar-ewnsjs-2 ~]# /opt/cloudera/parcels/CDH/bin/ozone admin cert clean --db=/var/lib/hadoop-ozone/scm/data789712/scm.db
      Error trying to open file: /var/lib/hadoop-ozone/scm/data789712/scm.db failed with exception: java.io.IOException: Failed init RocksDB, db path : /var/lib/hadoop-ozone/scm/data789712/scm.db, exception :org.rocksdb.RocksDBException While lock file: /var/lib/hadoop-ozone/scm/data789712/scm.db/LOCK: Resource temporarily unavailable
      

      ozone.scm.db.dirs config value : /var/lib/hadoop-ozone/scm/data789712

      Attachments

        Issue Links

          Activity

            People

              sgal Szabolcs Gál
              ssulav Soumitra Sulav
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: