Fix plasma_store_server path (#6499)

This commit is contained in:
Chaokun Yang
2019-12-20 14:45:51 +08:00
committed by Qing Wang
parent 3c0164419b
commit eca4cc7c00
2 changed files with 15 additions and 2 deletions
+14 -1
View File
@@ -168,6 +168,19 @@ filegroup(
],
)
# plasma_store_server binary should be located in jar root path
# and keep in sync with mvn resource
genrule(
name = "cp_plasma_store_server",
srcs = [
"@plasma//:plasma_store_server",
],
outs = ["plasma_store_server"],
cmd = """
cp -f $(location @plasma//:plasma_store_server) $@
"""
)
filegroup(
name = "java_native_deps",
srcs = [
@@ -175,7 +188,7 @@ filegroup(
"//:libray_redis_module.so",
"//:raylet",
"//:core_worker_library_java",
"@plasma//:plasma_store_server",
":cp_plasma_store_server",
],
)
@@ -353,7 +353,7 @@ public class RunManager {
private void startObjectStore() {
try (FileUtil.TempFile plasmaStoreFile = FileUtil
.getTempFileFromResource("external/plasma/plasma_store_server")) {
.getTempFileFromResource("plasma_store_server")) {
plasmaStoreFile.getFile().setExecutable(true);
List<String> command = ImmutableList.of(
// The plasma store executable file.