You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Ajantha Bhat (Jira)" <ji...@apache.org> on 2019/08/22 12:20:00 UTC
[jira] [Created] (CARBONDATA-3499) Fix insert failure with
customFileProvider
Ajantha Bhat created CARBONDATA-3499:
----------------------------------------
Summary: 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
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)