[GitHub] carbondata pull request #2714: [CARBONDATA-2875]Two different threads overwr...

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

[GitHub] carbondata pull request #2714: [CARBONDATA-2875]Two different threads overwr...

qiuchenjian-2
GitHub user shardul-cr7 opened a pull request:

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

    [CARBONDATA-2875]Two different threads overwriting the same carbondatafile.

    Problem :- During concurrent load through two different threads in a external table for non transactional tables , two different threads were overwriting the same carbondata file.
   
    Solution : This was happening because both the threads were assigning the same filename for the carbondata files so one was overwriting the other.This problem chances is  reduced by changing the timestamp attached to the filename from millisecond to nanosecond.
   
   
   
    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?
   
     - [x] Testing done
            Manually.
           
     - [ ] 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/shardul-cr7/carbondata concurrent

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

    https://github.com/apache/carbondata/pull/2714.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 #2714
   
----
commit a7fec5bbc8355aaa73f87af7152b3947b8fa9acd
Author: shardul-cr7 <shardulsingh22@...>
Date:   2018-09-12T12:41:37Z

    concurent load

----


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

[GitHub] carbondata issue #2714: [CARBONDATA-2875]Two different threads overwriting t...

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2714
 
    Can one of the admins verify this patch?


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

[GitHub] carbondata issue #2714: [CARBONDATA-2875]Two different threads overwriting t...

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

    https://github.com/apache/carbondata/pull/2714
 
    The probability of problem is only reduced not eliminated, right?


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

[GitHub] carbondata issue #2714: [CARBONDATA-2875]Two different threads overwriting t...

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

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



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

[GitHub] carbondata issue #2714: [CARBONDATA-2875]Two different threads overwriting t...

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

    https://github.com/apache/carbondata/pull/2714
 
    Build Failed  with Spark 2.3.1, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/8525/



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

[GitHub] carbondata issue #2714: [CARBONDATA-2875]Two different threads overwriting t...

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

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



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

[GitHub] carbondata pull request #2714: [CARBONDATA-2875]Two different threads overwr...

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/2714#discussion_r217737112
 
    --- Diff: core/src/main/java/org/apache/carbondata/core/mutate/CarbonUpdateUtil.java ---
    @@ -708,7 +708,7 @@ public static boolean isBlockInvalid(SegmentStatus blockStatus) {
        * @return
        */
       public static long readCurrentTime() {
    -    return System.currentTimeMillis();
    +    return System.nanoTime();
    --- End diff --
   
    This will impact the complete system if you change to nano here. try changing the task number to nao instead of here


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

[GitHub] carbondata issue #2714: [CARBONDATA-2875]Two different threads overwriting t...

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

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



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

[GitHub] carbondata issue #2714: [CARBONDATA-2875]Two different threads overwriting t...

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

    https://github.com/apache/carbondata/pull/2714
 
    add to whitelist


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

[GitHub] carbondata issue #2714: [CARBONDATA-2875]Two different threads overwriting t...

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

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



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

[GitHub] carbondata issue #2714: [CARBONDATA-2875]Two different threads overwriting t...

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

    https://github.com/apache/carbondata/pull/2714
 
    Build Failed  with Spark 2.3.1, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/8540/



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

[GitHub] carbondata issue #2714: [CARBONDATA-2875]Two different threads overwriting t...

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

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



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

[GitHub] carbondata issue #2714: [CARBONDATA-2875]Two different threads overwriting t...

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

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


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

[GitHub] carbondata issue #2714: [CARBONDATA-2875]Two different threads overwriting t...

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

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



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

[GitHub] carbondata issue #2714: [CARBONDATA-2875]Two different threads overwriting t...

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

    https://github.com/apache/carbondata/pull/2714
 
    Build Failed  with Spark 2.3.1, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/8560/



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

[GitHub] carbondata issue #2714: [CARBONDATA-2875]Two different threads overwriting t...

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

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



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

[GitHub] carbondata issue #2714: [CARBONDATA-2875]Two different threads overwriting t...

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

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



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

[GitHub] carbondata issue #2714: [CARBONDATA-2875]Two different threads overwriting t...

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

    https://github.com/apache/carbondata/pull/2714
 
    Build Failed  with Spark 2.3.1, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/8777/



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

[GitHub] carbondata issue #2714: [CARBONDATA-2875]Two different threads overwriting t...

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

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



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

[GitHub] carbondata issue #2714: [CARBONDATA-2875]Two different threads overwriting t...

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

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



---
12