[GitHub] carbondata pull request #2678: [WIP] Multi user support for SDK on S3

classic Classic list List threaded Threaded
109 messages Options
1234 ... 6
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #2678: [WIP] Multi user support for SDK on S3

qiuchenjian-2
GitHub user kunal642 opened a pull request:

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

    [WIP] Multi user support for SDK on S3

    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/kunal642/carbondata sdk_multi_user

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

    https://github.com/apache/carbondata/pull/2678.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 #2678
   
----
commit 8023f23e44c5cfac4393f6a2e743b4a301d701cd
Author: kunal642 <kunalkapoor642@...>
Date:   2018-08-31T05:42:30Z

    added configuration to SDK reader/writer

----


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

[GitHub] carbondata issue #2678: [WIP] Multi user support for SDK on S3

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2678
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/8202/



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

[GitHub] carbondata issue #2678: [WIP] Multi user support for SDK on S3

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

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



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

[GitHub] carbondata issue #2678: [WIP] Multi user support for SDK on S3

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

    https://github.com/apache/carbondata/pull/2678
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/8212/



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

[GitHub] carbondata issue #2678: [WIP] Multi user support for SDK on S3

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

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



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

[GitHub] carbondata issue #2678: [WIP] Multi user support for SDK on S3

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

    https://github.com/apache/carbondata/pull/2678
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/8239/



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

[GitHub] carbondata issue #2678: [WIP] Multi user support for SDK on S3

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

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



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

[GitHub] carbondata issue #2678: [WIP] Multi user support for SDK on S3

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

    https://github.com/apache/carbondata/pull/2678
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/8240/



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

[GitHub] carbondata issue #2678: [WIP] Multi user support for SDK on S3

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

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



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

[GitHub] carbondata issue #2678: [WIP] Multi user support for SDK on S3

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

    https://github.com/apache/carbondata/pull/2678
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/8241/



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

[GitHub] carbondata issue #2678: [WIP] Multi user support for SDK on S3

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

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



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

[GitHub] carbondata issue #2678: [WIP] Multi user support for SDK on S3

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

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



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

[GitHub] carbondata issue #2678: [WIP] Multi user support for SDK on S3

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

    https://github.com/apache/carbondata/pull/2678
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/8250/



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

[GitHub] carbondata issue #2678: [CARBONDATA-2909] Multi user support for SDK on S3

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

    https://github.com/apache/carbondata/pull/2678
 
    @ravipesala Please review, Fixed failing test cases


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

[GitHub] carbondata issue #2678: [CARBONDATA-2909] Multi user support for SDK on S3

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

    https://github.com/apache/carbondata/pull/2678
 
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/8252/



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

[GitHub] carbondata issue #2678: [CARBONDATA-2909] Multi user support for SDK on S3

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

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



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

[GitHub] carbondata pull request #2678: [CARBONDATA-2909] Multi user support for SDK ...

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

    https://github.com/apache/carbondata/pull/2678#discussion_r214616107
 
    --- Diff: core/src/main/java/org/apache/carbondata/core/datamap/dev/DataMap.java ---
    @@ -35,7 +37,8 @@
       /**
        * It is called to load the data map to memory or to initialize it.
        */
    -  void init(DataMapModel dataMapModel) throws MemoryException, IOException;
    +  void init(DataMapModel dataMapModel, Configuration configuration)
    --- End diff --
   
    Add method 'getConfiguration` in DataMapModel


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

[GitHub] carbondata pull request #2678: [CARBONDATA-2909] Multi user support for SDK ...

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

    https://github.com/apache/carbondata/pull/2678#discussion_r214616899
 
    --- Diff: core/src/main/java/org/apache/carbondata/core/indexstore/blockletindex/SegmentIndexFileStore.java ---
    @@ -354,6 +364,22 @@ private MergedBlockIndex readMergeBlockIndex(ThriftReader thriftReader) throws I
         });
       }
     
    +  /**
    +   * List all the index files of the segment.
    +   *
    +   * @param segmentPath
    +   * @return
    +   */
    +  public static CarbonFile[] getCarbonIndexFiles(String segmentPath, Configuration configuration) {
    --- End diff --
   
    Not required another method use an existing method to pass `configuration`


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

[GitHub] carbondata pull request #2678: [CARBONDATA-2909] Multi user support for SDK ...

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

    https://github.com/apache/carbondata/pull/2678#discussion_r214617306
 
    --- Diff: core/src/main/java/org/apache/carbondata/core/reader/CarbonIndexFileReader.java ---
    @@ -79,6 +80,17 @@ public void openThriftReader(String filePath) throws IOException {
         thriftReader.open();
       }
     
    +  /**
    +   * Open the thrift reader
    +   *
    +   * @param filePath
    +   * @throws IOException
    +   */
    +  public void openThriftReader(String filePath, Configuration configuration) throws IOException {
    --- End diff --
   
    Better take from constructor


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

[GitHub] carbondata pull request #2678: [CARBONDATA-2909] Multi user support for SDK ...

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

    https://github.com/apache/carbondata/pull/2678#discussion_r214617416
 
    --- Diff: core/src/main/java/org/apache/carbondata/core/reader/ThriftReader.java ---
    @@ -87,6 +88,15 @@ public void open() throws IOException {
         binaryIn = new TCompactProtocol(new TIOStreamTransport(dataInputStream));
       }
     
    +  /**
    +   * Opens the fileName for reading.
    +   */
    +  public void open(Configuration configuration) throws IOException {
    --- End diff --
   
    Better take from constructor


---
1234 ... 6