ASF GitHub Bot commented on CARBONDATA-320:

GitHub user ravikiran23 opened a pull request:


    [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 

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


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.


> problem when dropped a table during all data nodes are down. 
> -------------------------------------------------------------
>                 Key: CARBONDATA-320
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-320
>             Project: CarbonData
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 0.1.0-incubating
>            Reporter: ravikiran
>            Assignee: ravikiran
>            Priority: Minor
>             Fix For: 0.2.0-incubating
> when dropped a table during all data nodes are down. sometimes the drop is 
> failing and the files will remain in hdfs. but from hive the table will be 
> removed.

This message was sent by Atlassian JIRA

Reply via email to