carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CARBONDATA-320) problem when dropped a table during all data nodes are down.
Date Mon, 17 Oct 2016 10:03:58 GMT

    [ https://issues.apache.org/jira/browse/CARBONDATA-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15581781#comment-15581781
] 

ASF GitHub Bot commented on CARBONDATA-320:
-------------------------------------------

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.sn042@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
(v6.3.4#6332)

Mime
View raw message