You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "xubo245 (JIRA)" <ji...@apache.org> on 2019/06/11 11:47:01 UTC

[jira] [Resolved] (CARBONDATA-3414) when Insert into partition table fails exception doesn't print reason.

     [ https://issues.apache.org/jira/browse/CARBONDATA-3414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

xubo245 resolved CARBONDATA-3414.
---------------------------------
    Resolution: Fixed

> 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)