Good morning!
I’m receiving the following error when attempting to run dremio-admin clean -i (RocksDB reindexing job):
Failed to complete cleanup.
java.lang.RuntimeException: java.io.IOException: Input/output error
Suppressed: java.io.IOException: Input/output error
Caused by: java.io.IOException: Input/output error
@hmarchman-jones It looks like there is an IO error, can you please try “touch test” under /db/search
?
I ran the following command in /db/search:
sudo -u dremio touch ./test
these are the results of ls -l in the directory afterward:
drwxr-xr-x. 3 dremio dremio 18 Sep 7 08:37 catalog-search
drwxr-xr-x. 3 dremio dremio 18 Sep 7 08:32 collaboration_tags
drwxr-xr-x. 3 dremio dremio 18 Sep 7 08:32 collaboration_wiki
drwxr-xr-x. 3 dremio dremio 18 Sep 7 08:32 dac-namespace
drwxr-xr-x. 3 dremio dremio 18 Sep 7 08:32 external_reflection_store
drwxr-xr-x. 3 dremio dremio 18 Sep 7 08:32 jobs
drwxr-xr-x. 3 dremio dremio 18 Sep 7 08:32 materialization_store
drwxr-xr-x. 3 dremio dremio 18 Sep 7 08:32 metadata-dataset-splits
drwxr-xr-x. 3 dremio dremio 18 Sep 7 08:32 orphan_store
drwxr-xr-x. 3 dremio dremio 18 Sep 7 08:32 reflection_goals
drwxr-xr-x. 3 dremio dremio 18 Sep 7 08:32 refresh_store
drwxr-xr-x. 3 dremio dremio 18 Sep 7 08:32 script
-rw-r--r--. 1 dremio dremio 0 Oct 23 08:20 test
drwxr-xr-x. 3 dremio dremio 18 Sep 7 08:32 userGroup
drwxr-xr-x. 3 dremio dremio 18 Sep 7 08:32 user_preference
@hmarchman-jones Under the Dremio log folder there should be a log file generated for the clean command, can you please attach that
This is resolved.
I was running ./dremio-admin clean as root.
It works when running as user dremio.
You may want to update documentation to reflect this.
@hmarchman-jones Yes, it needs to be run as root. The error message is also not useful, will create tickets for both
Thanks for the update