You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Kunal Kapoor (Jira)" <ji...@apache.org> on 2019/09/05 08:33:00 UTC

[jira] [Resolved] (CARBONDATA-3499) Fix insert failure with customFileProvider

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

Kunal Kapoor resolved CARBONDATA-3499.
--------------------------------------
    Fix Version/s: 1.6.1
       Resolution: Fixed

> Fix insert failure with customFileProvider
> ------------------------------------------
>
>                 Key: CARBONDATA-3499
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-3499
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Ajantha Bhat
>            Priority: Major
>             Fix For: 1.6.1
>
>          Time Spent: 4.5h
>  Remaining Estimate: 0h
>
> problem: 
> Below exception is thrown when the custom file system is used with first time insert randomly.
> IllegalArgumentException("Path belongs to unsupported file system") from FileFactory.getFileType()
>  
> cause:
> DefaultFileTypeProvider.initializeCustomFileProvider is called concurrently insert. Hence one thread got the provider and other thread didn't get as flag is set to true.
> so other thread failed as it tried with default provider.
>  
> solution:
> synchronize the initialization of custom file provider



--
This message was sent by Atlassian Jira
(v8.3.2#803003)