[jira] [Created] (CARBONDATA-3401) Fix the java sdk create wrong carbondata filename

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (CARBONDATA-3401) Fix the java sdk create wrong carbondata filename

Akash R Nilugal (Jira)
lamber-ken created CARBONDATA-3401:
--------------------------------------

             Summary: Fix the java sdk create wrong carbondata filename
                 Key: CARBONDATA-3401
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-3401
             Project: CarbonData
          Issue Type: Bug
          Components: data-load, other
    Affects Versions: 1.5.3
            Reporter: lamber-ken
             Fix For: 1.6.0


When use sdk to write carbondata files, use +System.nanoTime()+ assign to the start timestamp and use +System.nanoTime()+ assign to taskNo currently.

There are two bug here, first +System.nanoTime()+ is different from +System.currentTimeMillis()+, it can only be used to measure elapsed time and is not related to any other notion of system or wall-clock time. Second, the carbondata file name written by sdk was different from written by spark.+
+

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)