phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ankit Singhal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3541) Bulk Data Loading - Can't use table name by small letter
Date Thu, 06 Jun 2019 03:27:00 GMT

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

Ankit Singhal commented on PHOENIX-3541:
----------------------------------------

Thanks [~kalyanhadoop] and [~kpalanisamy] for working on this. Patch looks good to me.. 
can you just check for ending quotes before trimming them (something like isEndingWithTwoDoubleQuotes
, throw IllegalArgumentException if they DoubleQuotes exists at the start but not at the end
of the input)

[~kpalanisamy], This definitely needs a small note at the end of this doc https://phoenix.apache.org/bulk_dataload.html,
you can work on it in a separate JIRA as well.

> 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: Major
>         Attachments: PHOENIX-3541.master.v1.patch, 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
(v7.6.3#76005)

Mime
View raw message