Exception in thread "org.apache.hadoop.hive.common.JvmPauseMonitor$Monitor@b17daf" java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class org.apache.hadoop.hive.common.JvmPauseMonitor$Monitor at org.apache.hadoop.hive.common.JvmPauseMonitor$Monitor.run(JvmPauseMonitor.java:176) at java.lang.Thread.run(Thread.java:748) Java HotSpot(TM) Client VM warning: You have loaded library /opt/module/hadoop-3.1.3/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
时间: 2023-10-04 21:10:34 浏览: 279
这是一个异常错误,出现原因可能是程序试图访问私有方法或没有权限的方法。在这个错误信息中,似乎是在访问 com.google.common.base.Stopwatch 的构造方法时出现了问题。建议检查代码中是否有试图访问私有方法或没有权限的方法的情况,并确保代码中的依赖库是正确的版本。另外,Java HotSpot(TM) Client VM warning 提示你已经加载了一个可能已经禁用了堆栈保护的库,建议使用 'execstack -c <libfile>' 命令来修复它。
阅读全文