GitHub user ravikiran23 opened a pull request:

    https://github.com/apache/incubator-carbondata/pull/245

    [CARBONDATA-320] problem during drop of table when all datanodes are down.

    Problem : 
    
    when all the data nodes are down and user executes drop table. then drop 
table will some times fail to delete the files from hdfs. but it will remove 
the hive entry. 
    
    Solution : 
    
    Removed the unnecessary checks present in the drop table . so that the 
deletion of the files wont be skipped. 
    
    changed the lock type of the drop to new lock type.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ravikiran23/incubator-carbondata 
dropTableHandling

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-carbondata/pull/245.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #245
    
----
commit cf31b3e6a0695fe1a32fc035819a522b3f86c779
Author: ravikiran <ravikiran.sn...@gmail.com>
Date:   2016-10-17T09:49:19Z

    [CARBONDATA-320] if the datanodes are down and drop is executed then 
randomly the drop is failing and the files of table will remain in file system.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to