[GitHub] carbondata pull request #1376: [WIP] Get the detailed blocklet information u...

classic Classic list List threaded Threaded
40 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #1376: [WIP] Get the detailed blocklet information u...

qiuchenjian-2
GitHub user ravipesala opened a pull request:

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

    [WIP] Get the detailed blocklet information using default BlockletDataMap from other datamaps

    All the detail information of blocklet which is need for exceuting query is present only BlockletDataMap. It is actually default datamap.
    So if new datamap is added then it gives only information of blocklet and blockid, it is insuffucient information to exceute query.
    Now this PR adds the functionality of retrieving detailed blocklet information from the BlockletDataMap based on block and blocklet id.  So now new datamaps can only concentrate on business logic and return only block and blockletid.


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

    $ git pull https://github.com/ravipesala/incubator-carbondata datamap-refactor

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

    https://github.com/apache/carbondata/pull/1376.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 #1376
   
----
commit 5dce79bf6ac1bb279c24b0f56734778abc4664d7
Author: Ravindra Pesala <[hidden email]>
Date:   2017-09-21T05:40:57Z

    Refactor datamap to get the detailed blocklet information from default BlockletDataMap

----


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

[GitHub] carbondata issue #1376: [WIP] Get the detailed blocklet information using de...

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1376
 
    Build Failed with Spark 1.6, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/128/



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

[GitHub] carbondata issue #1376: [WIP] Get the detailed blocklet information using de...

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

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



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

[GitHub] carbondata issue #1376: [WIP] Get the detailed blocklet information using de...

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

    https://github.com/apache/carbondata/pull/1376
 
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/883/



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

[GitHub] carbondata issue #1376: [WIP] Get the detailed blocklet information using de...

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

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



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

[GitHub] carbondata issue #1376: [WIP] Get the detailed blocklet information using de...

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

    https://github.com/apache/carbondata/pull/1376
 
    Build Success with Spark 1.6, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/129/



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

[GitHub] carbondata issue #1376: [WIP] Get the detailed blocklet information using de...

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

    https://github.com/apache/carbondata/pull/1376
 
    SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/884/



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

[GitHub] carbondata issue #1376: [WIP] Get the detailed blocklet information using de...

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

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



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

[GitHub] carbondata issue #1376: [WIP] Get the detailed blocklet information using de...

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

    https://github.com/apache/carbondata/pull/1376
 
    Build Failed with Spark 1.6, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/136/



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

[GitHub] carbondata issue #1376: [WIP] Get the detailed blocklet information using de...

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

    https://github.com/apache/carbondata/pull/1376
 
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/891/



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

[GitHub] carbondata issue #1376: [WIP] Get the detailed blocklet information using de...

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

    https://github.com/apache/carbondata/pull/1376
 
    Build Failed with Spark 1.6, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/137/



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

[GitHub] carbondata issue #1376: [WIP] Get the detailed blocklet information using de...

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

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



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

[GitHub] carbondata issue #1376: [WIP] Get the detailed blocklet information using de...

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

    https://github.com/apache/carbondata/pull/1376
 
    SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/892/



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

[GitHub] carbondata issue #1376: [WIP] Get the detailed blocklet information using de...

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

    https://github.com/apache/carbondata/pull/1376
 
    Build Success with Spark 1.6, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/138/



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

[GitHub] carbondata issue #1376: [WIP] Get the detailed blocklet information using de...

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

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



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

[GitHub] carbondata issue #1376: [WIP] Get the detailed blocklet information using de...

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

    https://github.com/apache/carbondata/pull/1376
 
    SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/893/



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

[GitHub] carbondata issue #1376: [CARBONDATA-1505] Get the detailed blocklet informat...

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

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



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

[GitHub] carbondata issue #1376: [CARBONDATA-1505] Get the detailed blocklet informat...

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

    https://github.com/apache/carbondata/pull/1376
 
    Build Success with Spark 1.6, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/140/



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

[GitHub] carbondata issue #1376: [CARBONDATA-1505] Get the detailed blocklet informat...

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

    https://github.com/apache/carbondata/pull/1376
 
    SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/895/



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

[GitHub] carbondata pull request #1376: [CARBONDATA-1505] Get the detailed blocklet i...

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

    https://github.com/apache/carbondata/pull/1376#discussion_r141349094
 
    --- Diff: core/src/main/java/org/apache/carbondata/core/indexstore/DetailedBlocklet.java ---
    @@ -0,0 +1,77 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one or more
    + * contributor license agreements.  See the NOTICE file distributed with
    + * this work for additional information regarding copyright ownership.
    + * The ASF licenses this file to You under the Apache License, Version 2.0
    + * (the "License"); you may not use this file except in compliance with
    + * the License.  You may obtain a copy of the License at
    + *
    + *    http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +package org.apache.carbondata.core.indexstore;
    +
    +import java.io.IOException;
    +
    +import org.apache.carbondata.core.datastore.impl.FileFactory;
    +
    +import org.apache.hadoop.fs.FileSystem;
    +import org.apache.hadoop.fs.LocatedFileStatus;
    +import org.apache.hadoop.fs.Path;
    +import org.apache.hadoop.fs.RemoteIterator;
    +
    +/**
    + * Detailed blocklet information
    + */
    +public class DetailedBlocklet extends Blocklet {
    --- End diff --
   
    It seems `BlockletDetailInfo` and `DetailedBlocklet` is a bit confusing, is there a better name?


---
12