MLCP导入java.lang.reflect.InvocationTargetException错误?

时间:2017-12-01 09:47:28

标签: hadoop marklogic mlcp

> 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

0 个答案:

没有答案