You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that the jar file 'high-scale-lib' has a package 'java.util', and then the project 'basic-server' got a package conflict issue.
I remove the maven dependency, as following. <dependency> <groupId>com.boundary</groupId> <artifactId>high-scale-lib</artifactId> </dependency>
After that, I replace the following codes at classLocalFileSystem. private final NonBlockingHashMapLong<Path> inodeToPath = new NonBlockingHashMapLong<>(); private final NonBlockingHashMap<Path, Long> pathToInode = new NonBlockingHashMap<>();
private final ConcurrentHashMap<Long,Path> inodeToPath = new ConcurrentHashMap<>(); private final ConcurrentHashMap<Path,Long> pathToInode = new ConcurrentHashMap<>();
I want to know if this way is correct, or I have to use the class 'NonBlockingHashMapLong' ?
Many thanks!
The text was updated successfully, but these errors were encountered:
I found that the jar file 'high-scale-lib' has a package 'java.util', and then the project 'basic-server' got a package conflict issue.
I remove the maven dependency, as following.
<dependency> <groupId>com.boundary</groupId> <artifactId>high-scale-lib</artifactId> </dependency>
After that, I replace the following codes at classLocalFileSystem.
private final NonBlockingHashMapLong<Path> inodeToPath = new NonBlockingHashMapLong<>(); private final NonBlockingHashMap<Path, Long> pathToInode = new NonBlockingHashMap<>();
private final ConcurrentHashMap<Long,Path> inodeToPath = new ConcurrentHashMap<>(); private final ConcurrentHashMap<Path,Long> pathToInode = new ConcurrentHashMap<>();
I want to know if this way is correct, or I have to use the class 'NonBlockingHashMapLong' ?
Many thanks!
The text was updated successfully, but these errors were encountered: