-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I set the workdir
, but the launch directory still generated the ignite
directory.
#11605
Comments
Did the set workdir not take effect? What does this file mean? |
It works as expected for me with Ignite 2.16: package org.example;
import org.apache.ignite.Ignition;
import org.apache.ignite.configuration.IgniteConfiguration;
public class Main {
public static void main(String[] args) {
IgniteConfiguration igniteConfiguration = new IgniteConfiguration();
igniteConfiguration.setWorkDirectory(System.getProperty("user.home") + "/w/tests/ignite-work");
Ignition.start(igniteConfiguration);
}
} pavel > work > w > tests > ignite-work $ ls -la --recursive
.:
total 16
drwxrwxr-x 4 pavel pavel 4096 Oct 22 10:39 .
drwxrwxr-x 73 pavel pavel 4096 Oct 22 10:39 ..
drwxrwxr-x 4 pavel pavel 4096 Oct 22 10:39 db
drwxrwxr-x 2 pavel pavel 4096 Oct 22 10:39 diagnostic
./db:
total 16
drwxrwxr-x 4 pavel pavel 4096 Oct 22 10:39 .
drwxrwxr-x 4 pavel pavel 4096 Oct 22 10:39 ..
drwxrwxr-x 2 pavel pavel 4096 Oct 22 10:39 0_0_0_0_0_0_0_1_lo_127_0_0_1_172_17_0_1_192_168_13_151_47500
drwxrwxr-x 2 pavel pavel 4096 Oct 22 10:39 marshaller
./db/0_0_0_0_0_0_0_1_lo_127_0_0_1_172_17_0_1_192_168_13_151_47500:
total 8
drwxrwxr-x 2 pavel pavel 4096 Oct 22 10:39 .
drwxrwxr-x 4 pavel pavel 4096 Oct 22 10:39 ..
./db/marshaller:
total 8
drwxrwxr-x 2 pavel pavel 4096 Oct 22 10:39 .
drwxrwxr-x 4 pavel pavel 4096 Oct 22 10:39 ..
./diagnostic:
total 8
drwxrwxr-x 2 pavel pavel 4096 Oct 22 10:39 .
drwxrwxr-x 4 pavel pavel 4096 Oct 22 10:39 .. |
I am also using version 2.16, JDK 21, and a cluster deployment method with a total of 3 nodes. The data mainly consists of some external data sources and some in memory data sources. No problem found |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I set the
workdir
, but the launch directory still generated theignite
directory.`
IgniteConfiguration igniteConfiguration = new IgniteConfiguration(); igniteConfiguration.setAsyncCallbackPoolSize(Runtime.getRuntime().availableProcessors() / 2); igniteConfiguration.setWorkDirectory(System.getProperty("user.home") + "/data");
`
The text was updated successfully, but these errors were encountered: