[jira] [Created] (CARBONDATA-2117) Fixed Synchronization issue while creating multiple carbon session

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (CARBONDATA-2117) Fixed Synchronization issue while creating multiple carbon session

Akash R Nilugal (Jira)
kumar vishal created CARBONDATA-2117:
----------------------------------------

             Summary: Fixed Synchronization issue while creating multiple carbon session
                 Key: CARBONDATA-2117
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2117
             Project: CarbonData
          Issue Type: Bug
            Reporter: kumar vishal
            Assignee: kumar vishal


+*Problem:*+ When creating multiple session (100) session initialisation is failing with below error

java.lang.IllegalArgumentException: requirement failed: Config entry enable.unsafe.sort already registered!

+*Solution: Currently in CarbonEnv we are updating global configuration(shared) and location configuration in class level synchronized block. In case of multiple session class level lock will not work , need to add global level lock so only one thread will update the global configuration*+ 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)