{"action":"closed","issue":{"url":"https://api.github.com/repos/HuaweiBigData/carbondata/issues/110","repository_url":"https://api.github.com/repos/HuaweiBigData/carbondata","labels_url":"https://api.github.com/repos/HuaweiBigData/carbondata/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/HuaweiBigData/carbondata/issues/110/comments","events_url":"https://api.github.com/repos/HuaweiBigData/carbondata/issues/110/events","html_url":"https://github.com/HuaweiBigData/carbondata/issues/110","id":146181854,"number":110,"title":"Support Zookeeper based lock for carbon metada files parallel update","user":{"login":"gvramana","id":8135701,"avatar_url":"https://avatars.githubusercontent.com/u/8135701?v=3","gravatar_id":"","url":"https://api.github.com/users/gvramana","html_url":"https://github.com/gvramana","followers_url":"https://api.github.com/users/gvramana/followers","following_url":"https://api.github.com/users/gvramana/following{/other_user}","gists_url":"https://api.github.com/users/gvramana/gists{/gist_id}","starred_url":"https://api.github.com/users/gvramana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvramana/subscriptions","organizations_url":"https://api.github.com/users/gvramana/orgs","repos_url":"https://api.github.com/users/gvramana/repos","events_url":"https://api.github.com/users/gvramana/events{/privacy}","received_events_url":"https://api.github.com/users/gvramana/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-06T04:12:27Z","updated_at":"2016-05-16T04:13:56Z","closed_at":"2016-05-16T04:13:56Z","body":"Use Zookeeper to write lock carbon metadata parallel updates\r\nInterface CarbonLock\r\nLocalFileBasedLock, HDFSBasedLock, ZookeeperBasedLock should be derived from CarbonLock\r\nCarbonLockFactory.GetLock() can create and give required lock on configuration basis.\r\n\r\nspark.deploy.zookeeper.url is used in spark, based on that we can configure, carbon zookeeper property\r\nShould unlock if locking client is killed.\r\n\r\nUse cases:\r\n1) write lock carbon metadata parallel updates.\r\n2) Lock Dictionary files update during global key generation."}}