GitHub user KanakaKumar opened a pull request:

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

    [WIP]Make default replication as 3 for direct write HDFS mode

            Problem:
            At present if we enable direct write on HDFS, data is written with 
replication of 1 which can cause dataloss.
            Solution: Use default replication as 3 and also make it 
configurable so that user can tune based on the need
    
    Be sure to do all of the following checklist to help us incorporate 
    your contribution quickly and easily:
    
     - [ ] Any interfaces changed?
     
     - [ ] Any backward compatibility impacted?
     
     - [ ] Document update required?
    
     - [ ] Testing done
            Please provide details on 
            - Whether new unit test cases have been added or why no new tests 
are required?
            - How it is tested? Please attach test report.
            - Is it a performance related change? Please attach the performance 
test report.
            - Any additional information to help reviewers in testing this 
change.
           
     - [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA. 
    


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

    $ git pull https://github.com/KanakaKumar/carbondata directHDFSWriteFix

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

    https://github.com/apache/carbondata/pull/2235.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 #2235
    
----
commit 4da3a13c2ae0d2193572affbf9a52aabcf14820c
Author: KanakaKumar <kanaka.avvau@...>
Date:   2018-04-26T18:09:29Z

    Make default replication as 3 for direct write HDFS mode
    
            Problem:
            At present if we enable direct write on HDFS, data is written with 
replication of 1 which can cause dataloss.
            Solution: Use default replication as 3 and also make it 
configurable so that user can tune based on the need

----


---

Reply via email to