mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 04:03:14 +08:00
Fix plasma_store_server path (#6499)
This commit is contained in:
+14
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user