[ 
https://issues.apache.org/jira/browse/PHOENIX-3902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16032719#comment-16032719
 ] 

hanzhi commented on PHOENIX-3902:
---------------------------------

desc:Bulk csv data loading from Hadoop cluster A to HBase cluster B

> Delete tmp dir failed when Bulk Data loading(Load via MapReduce)
> ----------------------------------------------------------------
>
>                 Key: PHOENIX-3902
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3902
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.8.0
>         Environment: hbase 0.98.18
>            Reporter: hanzhi
>             Fix For: 4.8.0
>
>
> desc:Bulk csv data loading  from  Hadoop cluster A to HBase cluster B
> 17/05/31 20:30:17 INFO mapreduce.AbstractBulkLoadTool: Removing output 
> directory hdfs://gz-cluster/user/zhanghanzhi/tmp3
> Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS: 
> hdfs://gz-cluster/user/zhanghanzhi/tmp3, expected: hdfs://mycluster-tj
>         at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:646)
>         at 
> org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:194)
>         at 
> org.apache.hadoop.hdfs.DistributedFileSystem.access$000(DistributedFileSystem.java:106)
>         at 
> org.apache.hadoop.hdfs.DistributedFileSystem$14.doCall(DistributedFileSystem.java:707)
>         at 
> org.apache.hadoop.hdfs.DistributedFileSystem$14.doCall(DistributedFileSystem.java:703)
>         at 
> org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
>         at 
> org.apache.hadoop.hdfs.DistributedFileSystem.delete(DistributedFileSystem.java:714)
>         at 
> org.apache.phoenix.mapreduce.AbstractBulkLoadTool.submitJob(AbstractBulkLoadTool.java:331)
>         at 
> org.apache.phoenix.mapreduce.AbstractBulkLoadTool.loadData(AbstractBulkLoadTool.java:267)
>         at 
> org.apache.phoenix.mapreduce.AbstractBulkLoadTool.run(AbstractBulkLoadTool.java:180)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
>         at 
> org.apache.phoenix.mapreduce.CsvBulkLoadTool.main(CsvBulkLoadTool.java:101)
>         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.hadoop.util.RunJar.run(RunJar.java:221)
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:136)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to