[GitHub] carbondata pull request #1436: [WIP][CARBONDATA-1617] Merging carbonindex fi...

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

[GitHub] carbondata pull request #1436: [CARBONDATA-1617] Merging carbonindex files w...

qiuchenjian-2
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1436#discussion_r147691108
 
    --- Diff: core/src/main/java/org/apache/carbondata/core/util/path/CarbonTablePath.java ---
    @@ -48,9 +48,11 @@
       protected static final String CARBON_UPDATE_DELTA_EXT = ".updatedelta";
       protected static final String DATA_PART_PREFIX = "part-";
       protected static final String BATCH_PREFIX = "_batchno";
    -  protected static final String INDEX_FILE_EXT = ".carbonindex";
       protected static final String DELETE_DELTA_FILE_EXT = ".deletedelta";
     
    +  public static final String INDEX_FILE_EXT = ".carbonindex";
    --- End diff --
   
    ok


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

[GitHub] carbondata pull request #1436: [CARBONDATA-1617] Merging carbonindex files w...

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/1436#discussion_r147691475
 
    --- Diff: format/src/main/thrift/carbondata_index_merge.thrift ---
    @@ -0,0 +1,32 @@
    +/*
    + * 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.
    + */
    +
    +/**
    + * File format description for CarbonData merged index file.
    --- End diff --
   
    ok


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

[GitHub] carbondata pull request #1436: [CARBONDATA-1617] Merging carbonindex files w...

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/1436#discussion_r147691788
 
    --- Diff: integration/spark-common/src/main/scala/org/apache/carbondata/spark/rdd/CarbonMergeFilesRDD.scala ---
    @@ -0,0 +1,79 @@
    +/*
    + * 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.spark.rdd
    +
    +import org.apache.spark.{Partition, SparkContext, TaskContext}
    +
    +import org.apache.carbondata.core.util.path.CarbonTablePath
    +import org.apache.carbondata.core.writer.CarbonIndexFileMergeWriter
    +
    +case class CarbonMergeFilePartition(rddId: Int, val idx: Int, segmentPath: String)
    +  extends Partition {
    +
    +  override val index: Int = idx
    +
    +  override def hashCode(): Int = 41 * (41 + rddId) + idx
    +}
    +
    +class CarbonMergeFilesRDD(
    --- End diff --
   
    ok


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

[GitHub] carbondata pull request #1436: [CARBONDATA-1617] Merging carbonindex files w...

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/1436#discussion_r147691865
 
    --- Diff: integration/spark-common/src/main/scala/org/apache/carbondata/spark/rdd/CarbonMergeFilesRDD.scala ---
    @@ -0,0 +1,79 @@
    +/*
    + * 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.spark.rdd
    +
    +import org.apache.spark.{Partition, SparkContext, TaskContext}
    +
    +import org.apache.carbondata.core.util.path.CarbonTablePath
    +import org.apache.carbondata.core.writer.CarbonIndexFileMergeWriter
    +
    +case class CarbonMergeFilePartition(rddId: Int, val idx: Int, segmentPath: String)
    +  extends Partition {
    +
    +  override val index: Int = idx
    +
    +  override def hashCode(): Int = 41 * (41 + rddId) + idx
    +}
    +
    +class CarbonMergeFilesRDD(
    +    sc: SparkContext,
    +    tablePath: String,
    +    segments: Seq[String])
    +  extends CarbonRDD[String](sc, Nil) {
    +
    +  sc.setLocalProperty("spark.scheduler.pool", "DDL")
    --- End diff --
   
    removed


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

[GitHub] carbondata pull request #1436: [CARBONDATA-1617] Merging carbonindex files w...

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/1436#discussion_r147692049
 
    --- Diff: integration/spark-common/src/main/scala/org/apache/carbondata/spark/rdd/CarbonMergeFilesRDD.scala ---
    @@ -0,0 +1,79 @@
    +/*
    + * 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.spark.rdd
    +
    +import org.apache.spark.{Partition, SparkContext, TaskContext}
    +
    +import org.apache.carbondata.core.util.path.CarbonTablePath
    +import org.apache.carbondata.core.writer.CarbonIndexFileMergeWriter
    +
    +case class CarbonMergeFilePartition(rddId: Int, val idx: Int, segmentPath: String)
    +  extends Partition {
    +
    +  override val index: Int = idx
    +
    +  override def hashCode(): Int = 41 * (41 + rddId) + idx
    +}
    +
    +class CarbonMergeFilesRDD(
    --- End diff --
   
    to call mappartition we require some RDD right.


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

[GitHub] carbondata pull request #1436: [CARBONDATA-1617] Merging carbonindex files w...

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/1436#discussion_r147694665
 
    --- Diff: integration/spark-common/src/main/scala/org/apache/carbondata/spark/rdd/Compactor.scala ---
    @@ -106,6 +108,10 @@ object Compactor {
         }
     
         if (finalMergeStatus) {
    +      val mergedLoadNumber = mergedLoadName
    --- End diff --
   
    I have extracted out a method


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

[GitHub] carbondata issue #1436: [CARBONDATA-1617] Merging carbonindex files within s...

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

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



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

[GitHub] carbondata issue #1436: [CARBONDATA-1617] Merging carbonindex files within s...

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

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



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

[GitHub] carbondata issue #1436: [CARBONDATA-1617] Merging carbonindex files within s...

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

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



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

[GitHub] carbondata issue #1436: [CARBONDATA-1617] Merging carbonindex files within s...

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

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



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

[GitHub] carbondata issue #1436: [CARBONDATA-1617] Merging carbonindex files within s...

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

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



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

[GitHub] carbondata issue #1436: [CARBONDATA-1617] Merging carbonindex files within s...

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

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



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

[GitHub] carbondata issue #1436: [CARBONDATA-1617] Merging carbonindex files within s...

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

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



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

[GitHub] carbondata issue #1436: [CARBONDATA-1617] Merging carbonindex files within s...

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

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



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

[GitHub] carbondata issue #1436: [CARBONDATA-1617] Merging carbonindex files within s...

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

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



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

[GitHub] carbondata issue #1436: [CARBONDATA-1617] Merging carbonindex files within s...

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

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



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

[GitHub] carbondata issue #1436: [CARBONDATA-1617] Merging carbonindex files within s...

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

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



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

[GitHub] carbondata issue #1436: [CARBONDATA-1617] Merging carbonindex files within s...

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

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



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

[GitHub] carbondata issue #1436: [CARBONDATA-1617] Merging carbonindex files within s...

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

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



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

[GitHub] carbondata pull request #1436: [CARBONDATA-1617] Merging carbonindex files w...

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/1436#discussion_r148080394
 
    --- Diff: format/src/main/thrift/carbondata_index_merge.thrift ---
    @@ -0,0 +1,32 @@
    +/*
    + * 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.
    + */
    +
    +/**
    + * File format description for CarbonData merged index file.
    --- End diff --
   
    Is this fixed?


---
1234