mlcp导入java.lang.reflect.invocationtargetexception错误?

zazmityj  于 2021-06-01  发布在  Hadoop
关注(0)|答案(0)|浏览(221)
> 17/12/01 15:11:19 INFO contentpump.LocalJobRunner: Content type is set
> to MIXED.  The format of the  inserted documents will be de ication
> configured on MarkLogic Server. java.lang.RuntimeException:
> java.lang.reflect.InvocationTargetException
>         at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:131)
>         at org.apache.hadoop.security.Groups.<init>(Groups.java:70)
>         at org.apache.hadoop.security.Groups.<init>(Groups.java:66)
>         at org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:280)
>         at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:271)
>         at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:248)
>         at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:763)
>         at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:748)
>         at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:621)
>         at org.apache.hadoop.mapreduce.task.JobContextImpl.<init>(JobContextImpl.java:72)
>         at org.apache.hadoop.mapreduce.Job.<init>(Job.java:144)
>         at org.apache.hadoop.mapreduce.Job.<init>(Job.java:131)
>         at com.marklogic.contentpump.LocalJob.<init>(LocalJob.java:37)
>         at com.marklogic.contentpump.LocalJob.getInstance(LocalJob.java:58)
>         at com.marklogic.contentpump.Command$1.createJob(Command.java:353)
>         at com.marklogic.contentpump.ContentPump.runCommand(ContentPump.java:226)
>         at com.marklogic.contentpump.ContentPump.main(ContentPump.java:74) Caused
> by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> Source)
>         at java.lang.reflect.Constructor.newInstance(Unknown Source)
>         at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:129)
>         ... 16 more Caused by: java.lang.UnsatisfiedLinkError: org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative()V
>         at org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative(Native
> Method)
>         at org.apache.hadoop.security.JniBasedUnixGroupsMapping.<clinit>(JniBasedUnixGroupsMapping.java:49)
>         at org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback.<init>(JniBasedUnixGroupsMappingWithFallback.java:39)

使用的命令-

mlcp.bat import -mode local -host xyz.com -port 8013 -username abc -password abc@123 -input_file_path C:\Users\abc\Documents\MarkLogic\MLCP_Data\gs\import

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题