HyperDex icon indicating copy to clipboard operation
HyperDex copied to clipboard

Hyperdex daemon reports IO errors if data directory is a relative path

Open AaronFriel opened this issue 10 years ago • 1 comments

Using an argument such as -D ./daemons/daemon1 frequently gives me this puzzling error:

E0716 06:27:38.078249  1343 datalayer.cc:1406] IO error at the disk layer: IO error: ./daemons/daemon1/000004.log: No such file or directory

Changing the argument to this fixes it: -D $(readlink -f ./daemons/daemon1), as the relative path will be expanded.

AaronFriel avatar Jul 16 '15 06:07 AaronFriel

@AaronFriel getting the same. Thanks for sharing the fix.

michelkaporin avatar Dec 07 '17 17:12 michelkaporin