[GitHub] carbondata pull request #2697: [WIP] support "carbon.load.directWriteHdfs.en...

classic Classic list List threaded Threaded
47 messages Options
123
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #2697: [WIP] support "carbon.load.directWriteHdfs.en...

qiuchenjian-2
GitHub user ajantha-bhat opened a pull request:

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

    [WIP] support "carbon.load.directWriteHdfs.enabled" for S3

    **problem** : Currently for s3, when the above carbon property is set. index file will not be written in the s3 store path due to bug in folder path.
   
    Solution: file separator used is wrong. Need to fix it.
   
    Be sure to do all of the following checklist to help us incorporate
    your contribution quickly and easily:
   
     - [ ] Any interfaces changed? NA
     
     - [ ] Any backward compatibility impacted?NA
     
     - [ ] Document update required?NA
   
     - [ ] Testing done
            updated UT
           
     - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. NA


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

    $ git pull https://github.com/ajantha-bhat/carbondata issue_fix

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

    https://github.com/apache/carbondata/pull/2697.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 #2697
   
----
commit 0ecec948a63d155b73ba6b8dd2a2a69382be3454
Author: ajantha-bhat <ajanthabhat@...>
Date:   2018-09-06T11:17:22Z

    support carbon.load.directWriteHdfs.enabled for S3

----


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2697: [WIP] support "carbon.load.directWriteHdfs.enabled" ...

qiuchenjian-2
Github user ajantha-bhat commented on the issue:

    https://github.com/apache/carbondata/pull/2697
 
    @KanakaKumar : please check this. do we need to change property name ? what if existing user using it ?


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2697: [WIP] support "carbon.load.directWriteHdfs.enabled" ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2697
 
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.1/125/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2697: [WIP] support "carbon.load.directWriteHdfs.enabled" ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2697
 
    Build Failed  with Spark 2.3.1, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.3/8363/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2697: [WIP] support "carbon.load.directWriteHdfs.enabled" ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2697
 
    Build Success with Spark 2.2.1, Please check CI http://95.216.28.178:8080/job/ApacheCarbonPRBuilder1/293/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2697: [WIP] support "carbon.load.directWriteHdfs.enabled" ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2697
 
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.1/133/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #2697: [WIP] support "carbon.load.directWriteHdfs.en...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user kunal642 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2697#discussion_r215862792
 
    --- Diff: processing/src/main/java/org/apache/carbondata/processing/store/writer/AbstractFactDataWriter.java ---
    @@ -225,7 +225,7 @@ protected void createNewFileIfReachThreshold(long blockletSizeToBeAdded)
         if ((currentFileSize + blockletSizeToBeAdded) >= blockSizeThreshold && currentFileSize != 0) {
           // set the current file size to zero
           String activeFile =
    -          enableDirectlyWriteData2Hdfs ? carbonDataFileHdfsPath : carbonDataFileTempPath;
    +          enableDirectlyWriteDataToStorePath ? carbonDataFileHdfsPath : carbonDataFileTempPath;
    --- End diff --
   
    change `carbonDataFileHdfsPath` to `carbonDataFileStorePath ` also.


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2697: [WIP] support "carbon.load.directWriteHdfs.enabled" ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2697
 
    Build Success with Spark 2.2.1, Please check CI http://95.216.28.178:8080/job/ApacheCarbonPRBuilder1/301/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2697: [WIP] support "carbon.load.directWriteHdfs.enabled" ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2697
 
    Build Failed  with Spark 2.3.1, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.3/8371/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #2697: [WIP] support "carbon.load.directWriteHdfs.en...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ajantha-bhat commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2697#discussion_r216040613
 
    --- Diff: processing/src/main/java/org/apache/carbondata/processing/store/writer/AbstractFactDataWriter.java ---
    @@ -225,7 +225,7 @@ protected void createNewFileIfReachThreshold(long blockletSizeToBeAdded)
         if ((currentFileSize + blockletSizeToBeAdded) >= blockSizeThreshold && currentFileSize != 0) {
           // set the current file size to zero
           String activeFile =
    -          enableDirectlyWriteData2Hdfs ? carbonDataFileHdfsPath : carbonDataFileTempPath;
    +          enableDirectlyWriteDataToStorePath ? carbonDataFileHdfsPath : carbonDataFileTempPath;
    --- End diff --
   
    done.


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2697: [HOTFIX] support "carbon.load.directWriteHdfs.enable...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2697
 
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.1/163/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2697: [HOTFIX] support "carbon.load.directWriteHdfs.enable...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2697
 
    Build Failed  with Spark 2.3.1, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.3/8402/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2697: [HOTFIX] support "carbon.load.directWriteHdfs.enable...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2697
 
    Build Failed with Spark 2.2.1, Please check CI http://95.216.28.178:8080/job/ApacheCarbonPRBuilder1/331/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2697: [HOTFIX] support "carbon.load.directWriteHdfs.enable...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ajantha-bhat commented on the issue:

    https://github.com/apache/carbondata/pull/2697
 
    retest this please


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2697: [HOTFIX] support "carbon.load.directWriteHdfs.enable...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2697
 
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.1/165/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2697: [HOTFIX] support "carbon.load.directWriteHdfs.enable...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2697
 
    Build Failed with Spark 2.2.1, Please check CI http://95.216.28.178:8080/job/ApacheCarbonPRBuilder1/333/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2697: [HOTFIX] support "carbon.load.directWriteHdfs.enable...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2697
 
    Build Failed  with Spark 2.3.1, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.3/8404/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2697: [HOTFIX] support "carbon.load.directWriteHdfs.enable...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ajantha-bhat commented on the issue:

    https://github.com/apache/carbondata/pull/2697
 
    retest this please


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2697: [HOTFIX] support "carbon.load.directWriteHdfs.enable...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2697
 
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.1/173/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2697: [HOTFIX] support "carbon.load.directWriteHdfs.enable...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2697
 
    Build Failed  with Spark 2.3.1, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.3/8412/



---
123