Hello, when I am using ```new MiniClusterWithClie...
# troubleshooting
n
Hello, when I am using
Copy code
new MiniClusterWithClientResource(
                new MiniClusterResourceConfiguration.Builder()
                        .setConfiguration(FLINK_CONF_PROVIDER.get())
                        .setNumberSlotsPerTaskManager(2)
                        .setNumberTaskManagers(1)
                        .build()
        );
in some integration tests, unfortunately on Windows Machine I am getting the following error:
Copy code
java.io.IOException: The directory path length (287) is longer than the directory path length limit for Windows (247): C:\Users\CHRINI~1\AppData\Local\Temp\junit13378409832439393400\junit17528515849181856454\minicluster_0909d406d57d89a9d00a5bec9e75531e\tm_0\tmp\job_620882c31c74119785463c56e7653f38_op_KeyedProcessOperator_053fdd704b4d34d22b51f4add74ea71b__1_1__uuid_ef948939-ebe7-4390-8139-1962e7cddaad\db
I have enabled the long paths through registry editor, but still the same Any Ideas?
f
Have you tried a system restart? ๐Ÿ™‚
n
hello yes, I have done a restart, but I did another one and problem fixed. thank you
m
You can only run Flink on Windows if you're using WSL or something like that.
โœ… 1
f
@Martijn Visser You can run Flink jobs in standalone mode without WSL, using the jars The MiniCluster can also be used to run jobs programmatically, I use it all the time in tests
m
Sure, but itโ€™s not supported
Itโ€™s the same like building Flink from source https://github.com/apache/flink/blob/master/README.md?plain=1#L70
โœ… 1
f
Got it, it's built for Unix-like systems and by running it on Windows there's a high chance of unexpected behavior Good to know ๐Ÿ™
๐Ÿ‘ 2