Hello,
I’m trying to do a cleanup of old jobs with the dremio-admin cleanup command but I get this error :
2018-02-23 15:38:58,613 [main] INFO c.d.datastore.LocalKVStoreProvider - Starting LocalKVStoreProvider
2018-02-23 15:38:58,758 [main] INFO c.d.datastore.LocalKVStoreProvider - Stopping LocalKVStoreProvider
2018-02-23 15:38:58,759 [main] INFO c.d.datastore.LocalKVStoreProvider - Stopped LocalKVStoreProvider
Failed to complete cleanup.
org.rocksdb.RocksDBException: lock /data/dremio/db/catalog/LOCK: Resource temporarily unavailable
at org.rocksdb.RocksDB.open(Native Method)
at org.rocksdb.RocksDB.open(RocksDB.java:286)
at com.dremio.datastore.ByteStoreManager.start(ByteStoreManager.java:144)
at com.dremio.datastore.CoreStoreProviderImpl.start(CoreStoreProviderImpl.java:167)
at com.dremio.datastore.LocalKVStoreProvider.start(LocalKVStoreProvider.java:86)
at com.dremio.dac.cmd.Clean.go(Clean.java:122)
at com.dremio.dac.cmd.Clean.main(Clean.java:167)
There’s a file named lock at this very specific location :
someone@somewhere:/data# ll /data/dremio/db/catalog/LOCK
-rw-r–r-- 1 dremio dremio 0 Jan 4 18:17 /data/dremio/db/catalog/LOCK
Does clean up requires stopping everything ?