Skip to content

Commit

Permalink
Add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dain committed Aug 6, 2024
1 parent 7644554 commit 8743685
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ public static SymbolLookup loadLibrary(String name)
throw new LinkageError("Native library loading is disabled");
}

System.out.println("!!!!!!!!!! NEW LOAD %s !!!!!!!!!!!!!!!".formatted(name);
try {
String libraryPath = getLibraryPath(name);
URL url = NativeLoader.class.getResource(libraryPath);
Expand Down
1 change: 1 addition & 0 deletions src/test/java/io/airlift/compress/v2/HadoopNative.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public static synchronized void requireHadoopNative()
throw new RuntimeException("failed to load Hadoop native library", error);
}
try {
System.out.println("!!!!!!!!!! LOAD HADOOP NATIVE !!!!!!!!!!!!!!!");
loadLibrary("hadoop");
setStatic(NativeCodeLoader.class.getDeclaredField("nativeCodeLoaded"), true);

Expand Down

0 comments on commit 8743685

Please sign in to comment.