Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo committed Jul 20, 2024
1 parent 78e1fe8 commit 6ace359
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/java/io/airlift/compress/v2/HadoopNative.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public static synchronized void requireHadoopNative()
}
try {
loadLibrary("hadoop");
System.out.println("Before set static");
setStatic(NativeCodeLoader.class.getDeclaredField("nativeCodeLoaded"), true);

loadLibrary("gplcompression");
Expand All @@ -65,6 +66,7 @@ public static synchronized void requireHadoopNative()
private static void requireNativeZlib()
{
Configuration conf = new Configuration();
System.out.println("Before check isNativeZlibLoaded");
if (!ZlibFactory.isNativeZlibLoaded(conf)) {
//throw new RuntimeException("native zlib is not loaded");
}
Expand Down

0 comments on commit 6ace359

Please sign in to comment.