class org.apache.hadoop.security.jnibasedunixgroupsmappingwithfallback not org.apache.hadoop.security.groupmappingserviceprovider
时间: 2023-04-30 18:05:00 浏览: 239
这是一个类的名称,名为"org.apache.hadoop.security.jnibasedunixgroupsmappingwithfallback",它不是"org.apache.hadoop.security.groupmappingserviceprovider"类。
相关问题
class org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback not org.apache.hadoop.security.GroupMappingServiceProvider
As an AI language model, I cannot access the internal working of org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback and org.apache.hadoop.security.GroupMappingServiceProvider. However, I can tell you that both are classes in the Hadoop security package, and JniBasedUnixGroupsMappingWithFallback is a subclass of GroupMappingServiceProvider. The former is used as a fallback mechanism for the latter when the latter fails to retrieve group information from the operating system. JniBasedUnixGroupsMappingWithFallback uses JNI (Java Native Interface) to call native Unix functions to retrieve group information.
Stdoutput Warning: /opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/bin/../lib/sqoop/../accumulo does not exist! Accumulo imports will fail. Stdoutput Please set $ACCUMULO_HOME to the root of your Accumulo installation. Exit code of the Shell command 1 <<< Invocation of Shell command completed <<< java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.oozie.action.hadoop.LauncherAM.runActionMain(LauncherAM.java:410) at org.apache.oozie.action.hadoop.LauncherAM.access$300(LauncherAM.java:55) at org.apache.oozie.action.hadoop.LauncherAM$2.run(LauncherAM.java:223) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1875) at org.apache.oozie.action.hadoop.LauncherAM.run(LauncherAM.java:217) at org.apache.oozie.action.hadoop.LauncherAM$1.run(LauncherAM.java:153) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1875) at org.apache.oozie.action.hadoop.LauncherAM.main(LauncherAM.java:141) Caused by: org.apache.oozie.action.hadoop.LauncherMainException at org.apache.oozie.action.hadoop.ShellMain.run(ShellMain.java:76) at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:104) at org.apache.oozie.action.hadoop.ShellMain.main(ShellMain.java:63) ... 16 more Failing Oozie Launcher, Main Class [org.apache.oozie.action.hadoop.ShellMain], exit code [1] Oozie Launcher, uploading action data to HDFS sequence file: hdfs://nameservice0/user/admin/oozie-oozi/0000118-230724100647793-oozie-oozi-W/shell-af10--shell/action-data.seq Stopping AM Callback notification attempts left 0 Callback notification trying http://nn.hdfs.offline:11000/oozie/callback?id=0000118-230724100647793-oozie-oozi-W@shell-af10&status=FAILED Callback notification to http://nn.hdfs.offline:11000/oozie/callback?id=0000118-230724100647793-oozie-oozi-W@shell-af10&status=FAILED succeeded Callback notification succeeded
根据您提供的信息,看起来您在运行一个 Oozie 作业时遇到了一个问题。错误信息显示无法找到 Accumulo 目录,并建议您设置 $ACCUMULO_HOME 变量为 Accumulo 安装的根目录。此外,还有一些关于 Oozie Launcher 的错误信息和回调通知。
对于此问题,您可以尝试执行以下步骤来解决:
1. 确保在您的系统中正确安装了 Accumulo,并且 ACCUMULO_HOME 变量已经设置。您可以通过在终端中运行 `echo $ACCUMULO_HOME` 来验证是否设置了此变量。如果没有设置,请根据您的安装位置手动设置此变量。
2. 检查您的 Oozie 作业配置文件中是否正确设置了 Accumulo 相关的属性。特别是,检查是否指定了正确的 Accumulo 目录路径。
3. 如果您已经确认设置了正确的 ACCUMULO_HOME 和配置文件,并且问题仍然存在,请确保在运行 Oozie 作业之前已经正确设置了环境变量。您可以在 Oozie 作业的启动脚本中添加必要的环境变量设置。
如果以上步骤无法解决问题,请提供更多关于您的环境、Oozie 作业配置和其他相关信息,以便进一步帮助您解决此问题。
阅读全文