From b1947a7ec56ebc0d36ec81b4158ecdfb8405bddb Mon Sep 17 00:00:00 2001 From: yyongycy Date: Mon, 4 Dec 2023 20:43:40 +0800 Subject: [PATCH] vos --- .../main/java/alluxio/cachestore/TestLibRawDeviceStore.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dora/core/client/fs/src/main/java/alluxio/cachestore/TestLibRawDeviceStore.java b/dora/core/client/fs/src/main/java/alluxio/cachestore/TestLibRawDeviceStore.java index 5ca223dbedcb..efde79f903c6 100644 --- a/dora/core/client/fs/src/main/java/alluxio/cachestore/TestLibRawDeviceStore.java +++ b/dora/core/client/fs/src/main/java/alluxio/cachestore/TestLibRawDeviceStore.java @@ -18,9 +18,10 @@ public class TestLibRawDeviceStore { public static void main(String [] argv) { + final String configPath = System.getenv("CACHE_STORE_CONFIG_PATH"); LibRawDeviceStore.loadLibrary(NativeLibraryLoader.LibCacheStoreVersion.VERSION_1); LibRawDeviceStore libRawDeviceStore = new LibRawDeviceStore(); - libRawDeviceStore.openCacheStore("/home/ec2-user/SourceCode/ceph/src/test/fio/ceph-bluestore.conf"); + libRawDeviceStore.openCacheStore(configPath); System.out.println(String.format("Successfully open the cachestore")); ByteBuffer byteBuffer = ByteBuffer.allocateDirect(1024); byteBuffer.putChar('f');