phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Beomjun Kim (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3541) Bulk Data Loading - Can't use table name by small letter
Date Tue, 20 Dec 2016 08:58:58 GMT

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

Beomjun Kim commented on PHOENIX-3541:
--------------------------------------

Hi Kalyan
I change source and build phoenix-4.8.0-HBase-0.98-client.jar 
But still have proplem.
Exception in thread "main" java.lang.IllegalArgumentException: Table ABC not found
at org.apache.phoenix.util.SchemaUtil.generateColumnInfo(SchemaUtil.java:873)
at org.apache.phoenix.mapreduce.AbstractBulkLoadTool.buildImportColumns(AbstractBulkLoadTool.java:377)
at org.apache.phoenix.mapreduce.AbstractBulkLoadTool.loadData(AbstractBulkLoadTool.java:214)
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:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
I did three case test command
1.
hadoop jar /root/Phoenix/apache-phoenix-4.8.0-HBase-0.98-bin/phoenix-4.8.0-HBase-0.98-client.jar
org.apache.phoenix.mapreduce.CsvBulkLoadTool --t 'abc' --input /event_outb/example.csv
2.
hadoop jar /root/Phoenix/apache-phoenix-4.8.0-HBase-0.98-bin/phoenix-4.8.0-HBase-0.98-client.jar
org.apache.phoenix.mapreduce.CsvBulkLoadTool --t "abc" --input /event_outb/example.csv
3.
hadoop jar /root/Phoenix/apache-phoenix-4.8.0-HBase-0.98-bin/phoenix-4.8.0-HBase-0.98-client.jar
org.apache.phoenix.mapreduce.CsvBulkLoadTool --t 'abc' --input /event_outb/example.csv
But same error seen...
What did I do wrong?

> Bulk Data Loading - Can't use table name by small letter 
> ---------------------------------------------------------
>
>                 Key: PHOENIX-3541
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3541
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.8.0
>            Reporter: Beomjun Kim
>            Assignee: Kalyan
>            Priority: Critical
>         Attachments: PHOENIX-3541.patch
>
>
> i have existing Phoenix table abc
> i wanna Bulk Data Loading via MapReduce  
> And then used the following command to load the csv file
> hadoop jar /root/Phoenix/apache-phoenix-4.8.0-HBase-0.98-bin/phoenix-4.8.0-HBase-0.98-client.jar
org.apache.phoenix.mapreduce.CsvBulkLoadTool   --t  abc --input /example.csv
> but, it does not seem to find the table abc
> Exception in thread "main" java.lang.IllegalArgumentException: Table ABC not found
> i try change command  table name  --t 'abc' and --t "abc"
> but it doesn't work  
> how can i use table name small letter ??
> And also, i found  same case  
> http://apache-phoenix-user-list.1124778.n5.nabble.com/Load-into-Phoenix-table-via-CsvBulkLoadTool-cannot-find-table-and-fails-td2792.html



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

Mime
View raw message