[GitHub] carbondata pull request #2977: [WIP] [CARBONDATA-3147] Fixed concurrent load...

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

[GitHub] carbondata issue #2977: [WIP] [CARBONDATA-3147] Fixed concurrent load issue

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



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

[GitHub] carbondata issue #2977: [WIP] [CARBONDATA-3147] Fixed concurrent load issue

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

    https://github.com/apache/carbondata/pull/2977
 
    Build Failed  with Spark 2.3.2, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/9926/



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

[GitHub] carbondata issue #2977: [WIP] [CARBONDATA-3147] Fixed concurrent load issue

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

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



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

[GitHub] carbondata issue #2977: [WIP] [CARBONDATA-3147] Fixed concurrent load issue

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

    https://github.com/apache/carbondata/pull/2977
 
    Build Failed  with Spark 2.3.2, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/9927/



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

[GitHub] carbondata issue #2977: [WIP] [CARBONDATA-3147] Fixed concurrent load issue

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

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



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

[GitHub] carbondata issue #2977: [WIP] [CARBONDATA-3147] Fixed concurrent load issue

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

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



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

[GitHub] carbondata issue #2977: [WIP] [CARBONDATA-3147] Fixed concurrent load issue

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

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



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

[GitHub] carbondata issue #2977: [WIP] [CARBONDATA-3147] Fixed concurrent load issue

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

    https://github.com/apache/carbondata/pull/2977
 
    Build Success with Spark 2.3.2, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/9937/



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

[GitHub] carbondata pull request #2977: [WIP] [CARBONDATA-3147] Fixed concurrent load...

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/2977#discussion_r240180385
 
    --- Diff: integration/spark2/src/main/scala/org/apache/carbondata/spark/rdd/AggregateDataMapCompactor.scala ---
    @@ -79,9 +79,20 @@ class AggregateDataMapCompactor(carbonLoadModel: CarbonLoadModel,
             CarbonSession.threadSet(CarbonCommonConstants.SUPPORT_DIRECT_QUERY_ON_DATAMAP,
               "true")
             loadCommand.processData(sqlContext.sparkSession)
    -        val newLoadMetaDataDetails = SegmentStatusManager.readLoadMetadata(
    +        val oldMetadataDetails = SegmentStatusManager.readLoadMetadata(
    +          carbonTable.getMetadataPath, "")
    +        val newMetadataDetails = SegmentStatusManager.readLoadMetadata(
               carbonTable.getMetadataPath, uuid)
    -        val updatedLoadMetaDataDetails = newLoadMetaDataDetails collect {
    +        val mergedContent = oldMetadataDetails.collect {
    +          case content =>
    +            val contentIndex = newMetadataDetails.indexOf(content)
    --- End diff --
   
    done


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

[GitHub] carbondata issue #2977: [WIP] [CARBONDATA-3147] Fixed concurrent load issue

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

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



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

[GitHub] carbondata pull request #2977: [CARBONDATA-3147] Fixed concurrent load issue

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/2977#discussion_r240215937
 
    --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/preaaggregate/PreAggregateListeners.scala ---
    @@ -111,6 +113,29 @@ trait CommitHelper {
         }
       }
     
    +  def mergeTableStatusContents(uuidTableStatusPath: String,
    +      tableStatusPath: String): Boolean = {
    +    try {
    --- End diff --
   
    Please try to move taking lock inside this method


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

[GitHub] carbondata issue #2977: [CARBONDATA-3147] Fixed concurrent load issue

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

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



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

[GitHub] carbondata issue #2977: [CARBONDATA-3147] Fixed concurrent load issue

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

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



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

[GitHub] carbondata issue #2977: [CARBONDATA-3147] Fixed concurrent load issue

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

    https://github.com/apache/carbondata/pull/2977
 
    Build Failed  with Spark 2.3.2, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/9950/



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

[GitHub] carbondata issue #2977: [CARBONDATA-3147] Fixed concurrent load issue

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

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



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

[GitHub] carbondata issue #2977: [CARBONDATA-3147] Fixed concurrent load issue

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

    https://github.com/apache/carbondata/pull/2977
 
    Build Success with Spark 2.3.2, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/9952/



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

[GitHub] carbondata issue #2977: [CARBONDATA-3147] Fixed concurrent load issue

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

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



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

[GitHub] carbondata pull request #2977: [CARBONDATA-3147] Fixed concurrent load issue

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/2977#discussion_r240473230
 
    --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/preaaggregate/PreAggregateListeners.scala ---
    @@ -111,6 +113,29 @@ trait CommitHelper {
         }
       }
     
    +  protected def mergeTableStatusContents(uuidTableStatusPath: String,
    --- End diff --
   
    done


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

[GitHub] carbondata pull request #2977: [CARBONDATA-3147] Fixed concurrent load issue

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/2977#discussion_r240473257
 
    --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/preaaggregate/PreAggregateListeners.scala ---
    @@ -111,6 +113,29 @@ trait CommitHelper {
         }
       }
     
    +  def mergeTableStatusContents(uuidTableStatusPath: String,
    +      tableStatusPath: String): Boolean = {
    +    try {
    --- End diff --
   
    moved lock acquiring locking inside this method


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

[GitHub] carbondata issue #2977: [CARBONDATA-3147] Fixed concurrent load issue

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

    https://github.com/apache/carbondata/pull/2977
 
    LGTM


---
123