You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Alicia Ying Shu (JIRA)" <ji...@apache.org> on 2015/04/24 23:12:39 UTC

[jira] [Comment Edited] (PHOENIX-1914) CsvBulkUploadTool raises java.io.IOException on Windows multinode environment

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

Alicia Ying Shu edited comment on PHOENIX-1914 at 4/24/15 9:12 PM:
-------------------------------------------------------------------

[~gabriel.reid] Here are the errors we got in our system:

Whenever we call CsvBulkLoadTool on windows, we get the exception: 

{noformat}

beaver.machine|INFO|3956|7996|MainThread|RUNNING: call D:\hdp\hadoop-2.6.0.2.2.0.0-1366\bin\hadoop.cmd jar D:\hdp\phoenix-4.2.0.2.2.0.0-1366\phoenix-4.2.0.2.2.0.0-1366-client.jar org.apache.phoenix.mapreduce.CsvBulkLoadTool --table testTable  --input /tmp/oneHundredMBFile.csv
beaver.machine|INFO|3956|7996|MainThread|Exception in thread "main" java.io.IOException: Mkdirs failed to create D:\hdp\temp\hadoop\hadoop-unjar2580445033119216694\META-INF\license
beaver.machine|INFO|3956|7996|MainThread|at org.apache.hadoop.util.RunJar.ensureDirectory(RunJar.java:128)
beaver.machine|INFO|3956|7996|MainThread|at org.apache.hadoop.util.RunJar.unJar(RunJar.java:104)
beaver.machine|INFO|3956|7996|MainThread|at org.apache.hadoop.util.RunJar.unJar(RunJar.java:81)
beaver.machine|INFO|3956|7996|MainThread|at org.apache.hadoop.util.RunJar.run(RunJar.java:209)
beaver.machine|INFO|3956|7996|MainThread|RUNNING: call D:\ ....

{noformat}

No data gets inserted into the tables. The command we run is included in the exception message.


was (Author: aliciashu):
[~gabriel.reid] Here are the errors we got in our system:

Whenever we call CsvBulkLoadTool on windows, we get the exception: 

{noformat}


2014-09-29 23:47:37,515|beaver.machine|INFO|3956|7996|MainThread|RUNNING: call D:\hdp\hadoop-2.6.0.2.2.0.0-1366\bin\hadoop.cmd jar D:\hdp\phoenix-4.2.0.2.2.0.0-1366\phoenix-4.2.0.2.2.0.0-1366-client.jar org.apache.phoenix.mapreduce.CsvBulkLoadTool --table testTable  --input /tmp/oneHundredMBFile.csv
2014-09-29 23:47:39,397|beaver.machine|INFO|3956|7996|MainThread|Exception in thread "main" java.io.IOException: Mkdirs failed to create D:\hdp\temp\hadoop\hadoop-unjar2580445033119216694\META-INF\license
2014-09-29 23:47:39,397|beaver.machine|INFO|3956|7996|MainThread|at org.apache.hadoop.util.RunJar.ensureDirectory(RunJar.java:128)
2014-09-29 23:47:39,398|beaver.machine|INFO|3956|7996|MainThread|at org.apache.hadoop.util.RunJar.unJar(RunJar.java:104)
2014-09-29 23:47:39,398|beaver.machine|INFO|3956|7996|MainThread|at org.apache.hadoop.util.RunJar.unJar(RunJar.java:81)
2014-09-29 23:47:39,398|beaver.machine|INFO|3956|7996|MainThread|at org.apache.hadoop.util.RunJar.run(RunJar.java:209)
2014-09-29 23:47:40,571|beaver.machine|INFO|3956|7996|MainThread|RUNNING: call D:\ ....

{noformat}

No data gets inserted into the tables. The command we run is included in the exception message.

> CsvBulkUploadTool raises java.io.IOException on Windows multinode environment
> -----------------------------------------------------------------------------
>
>                 Key: PHOENIX-1914
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1914
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Alicia Ying Shu
>            Assignee: Alicia Ying Shu
>         Attachments: Phoenix-1914.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)