[
https://issues.apache.org/jira/browse/CARBONDATA-3414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ajantha Bhat updated CARBONDATA-3414:
-------------------------------------
Description:
problem: when Insert into partition table fails, exception doesn't print reason.
cause: Exception was caught , but error message was not from that exception.
solution: throw the exception directly
Steps to reproduce:
# Open multiple spark beeline (say 10)
# Create a carbon table with partition
# Insert overwrite to carbon table from all the 10 beeline concurrently
# some insert overwrite will be success and some will fail due to non-availability of lock even after retry.
# For the failed insert into sql, Exception is just "DataLoadFailure: " no error reason is printed.
Need to print the valid error reason for the failure.
was:
problem: when Insert into partition table fails, exception doesn't print reason.
cause: Exception was caught , but error message was not from that exception.
solution: throw the exception directly
Steps to reproduce:
# Open multiple spark beeline (say 10)
# Create a carbon table with partition
# Insert overwrite to carbon table from all the 10 beeline concurrently
# some insert overwrite will be success and some will fail due to availability of lock even after retry.
# For the failed insert into sql, Exception is just "DataLoadFailure: " no error reason is printed.
Need to print the valid error reason for the failure.
> when Insert into partition table fails exception doesn't print reason.
> ----------------------------------------------------------------------
>
> Key: CARBONDATA-3414
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-3414> Project: CarbonData
> Issue Type: Bug
> Reporter: Ajantha Bhat
> Priority: Minor
>
> problem: when Insert into partition table fails, exception doesn't print reason.
> cause: Exception was caught , but error message was not from that exception.
> solution: throw the exception directly
>
> Steps to reproduce:
> # Open multiple spark beeline (say 10)
> # Create a carbon table with partition
> # Insert overwrite to carbon table from all the 10 beeline concurrently
> # some insert overwrite will be success and some will fail due to non-availability of lock even after retry.
> # For the failed insert into sql, Exception is just "DataLoadFailure: " no error reason is printed.
> Need to print the valid error reason for the failure.
>
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)