{"action":"created","issue":{"url":"https://api.github.com/repos/apache/carbondata/issues/2076","repository_url":"https://api.github.com/repos/apache/carbondata","labels_url":"https://api.github.com/repos/apache/carbondata/issues/2076/labels{/name}","comments_url":"https://api.github.com/repos/apache/carbondata/issues/2076/comments","events_url":"https://api.github.com/repos/apache/carbondata/issues/2076/events","html_url":"https://github.com/apache/carbondata/pull/2076","id":306321171,"number":2076,"title":"[CARBONDATA-2230][BACKPORT-1.3]Add a path into table path to store lock files and delete useless segment lock files before loading","user":{"login":"zzcclp","id":9430290,"avatar_url":"https://avatars0.githubusercontent.com/u/9430290?v=4","gravatar_id":"","url":"https://api.github.com/users/zzcclp","html_url":"https://github.com/zzcclp","followers_url":"https://api.github.com/users/zzcclp/followers","following_url":"https://api.github.com/users/zzcclp/following{/other_user}","gists_url":"https://api.github.com/users/zzcclp/gists{/gist_id}","starred_url":"https://api.github.com/users/zzcclp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzcclp/subscriptions","organizations_url":"https://api.github.com/users/zzcclp/orgs","repos_url":"https://api.github.com/users/zzcclp/repos","events_url":"https://api.github.com/users/zzcclp/events{/privacy}","received_events_url":"https://api.github.com/users/zzcclp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-03-19T03:20:39Z","updated_at":"2018-03-20T04:16:20Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/carbondata/pulls/2076","html_url":"https://github.com/apache/carbondata/pull/2076","diff_url":"https://github.com/apache/carbondata/pull/2076.diff","patch_url":"https://github.com/apache/carbondata/pull/2076.patch"},"body":"\r\nAfter PR1984[https://github.com/apache/carbondata/pull/1984] merged, it doesn't delete the lock files when unlock, there are many useless lock files in table path, especially segment lock files, they grow after every batch loading.\r\n\r\nSolution :\r\n1. add a child path into table path, called Locks, all lock files will be stored in this path;\r\n2. Before loading, get all useless segment lock files and delete them, because just segment lock files will grow, other lock files dosen't grow.\r\n\r\nBe sure to do all of the following checklist to help us incorporate \r\nyour contribution quickly and easily:\r\n\r\n - [ ] Any interfaces changed?\r\n \r\n - [ ] Any backward compatibility impacted?\r\n \r\n - [ ] Document update required?\r\n\r\n - [ ] Testing done\r\n        Please provide details on \r\n        - Whether new unit test cases have been added or why no new tests are required?\r\n        - How it is tested? Please attach test report.\r\n        - Is it a performance related change? Please attach the performance test report.\r\n        - Any additional information to help reviewers in testing this change.\r\n       \r\n - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/carbondata/issues/comments/374469024","html_url":"https://github.com/apache/carbondata/pull/2076#issuecomment-374469024","issue_url":"https://api.github.com/repos/apache/carbondata/issues/2076","id":374469024,"user":{"login":"ravipesala","id":8134086,"avatar_url":"https://avatars2.githubusercontent.com/u/8134086?v=4","gravatar_id":"","url":"https://api.github.com/users/ravipesala","html_url":"https://github.com/ravipesala","followers_url":"https://api.github.com/users/ravipesala/followers","following_url":"https://api.github.com/users/ravipesala/following{/other_user}","gists_url":"https://api.github.com/users/ravipesala/gists{/gist_id}","starred_url":"https://api.github.com/users/ravipesala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravipesala/subscriptions","organizations_url":"https://api.github.com/users/ravipesala/orgs","repos_url":"https://api.github.com/users/ravipesala/repos","events_url":"https://api.github.com/users/ravipesala/events{/privacy}","received_events_url":"https://api.github.com/users/ravipesala/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T04:16:20Z","updated_at":"2018-03-20T04:16:20Z","author_association":"CONTRIBUTOR","body":"SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/3958/\n"}}
{"actor":{"display_login":"ravipesala"}}