apache / apache/maven-mvnd

File lock problems when running under WSL

Open
#755 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.5k
Forks
250
Avg merge
16h 22m
Merged PRs (30d)
36

Description

Java version
```
openjdk version "1.8.0_342"
OpenJDK Runtime Environment (build 1.8.0_342-8u342-b07-0ubuntu1~20.04-b07)
OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode)
root@GZYZFA00088591:~/rocketmq#
```
mvnd version
```
mvnd 0.8.2 linux-amd64 native client (2bba2d6a4d3a5012ddf9f1f42a22784cad4011e3)
Terminal: org.jline.terminal.impl.PosixSysTerminal with pty org.jline.terminal.impl.jansi.linux.LinuxNativePty
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
Maven home: /root/maven-mvnd-0.8.2-linux-amd64/mvn
Java version: 1.8.0_342, vendor: Private Build, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "5.10.16.3-microsoft-standard-wsl2", arch: "amd64", family: "unix"
```

![image](https://user-images.githubusercontent.com/15797831/208619555-815c4c1c-1d07-4bcb-9f9e-f050886d75be.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported file-lock problem under WSL2 using the Java 8 and mvnd 0.8.2 environment shown in the issue. Trace the mvnd file-locking path and compare its behavior with a non-WSL Linux environment; done means the reported lock failure no longer occurs under WSL2 and is covered by a regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, linux
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.