GitHub user manishgupta88 opened a pull request:

    https://github.com/apache/carbondata/pull/1147

    [WIP][CARBONDATA-1277] Dictionary generation failure if there is failure in 
closing output steam in HDFS

    Analysis: If there is any failure while closing the output stream of 
dictionary file in HDFS then on next data load, update or insert into operation 
dictionary generation fails. This is because we open the dictionary file in 
append mode and when we try to get the output stream for that file HDFS throws 
an exception that Lease is already acquired by some other client.
    
    Fix: Recover the lease through carbondata code if exception is for lease 
failure

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

    $ git pull https://github.com/manishgupta88/carbondata 
hdfs_lease_recovery_exception

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

    https://github.com/apache/carbondata/pull/1147.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 #1147
    
----
commit 6ffcf18068b914a86bb83241300c7d8e7ba44c07
Author: manishgupta88 <[email protected]>
Date:   2017-07-08T10:16:25Z

    Problem: Dictionary generation failure if there is failure in closing 
output steam in HDFS
    
    Analysis: If there is any failure while closing the output stream of 
dictionary file in HDFS then on next data load, update or insert into operation 
dictionary generation fails. This is because we open the dictionary file in 
append mode and when we try to get the output stream for that file HDFS throws 
an exception that Lease is already acquired by some other client.
    
    Fix: Recover the lease through carbondata code if exception is for lease 
failure

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to