MAPREDUCE-6391. util/Timer.cc completely misunderstands _POSIX_CPUTIME (Alan Burlison via aw)
This commit is contained in:
parent
1396867b52
commit
bcc4c746a8
|
@ -589,6 +589,9 @@ Release 2.8.0 - UNRELEASED
|
|||
MAPREDUCE-6484. Yarn Client uses local address instead of RM address as
|
||||
token renewer in a secure cluster when RM HA is enabled. (Zhihai Xu)
|
||||
|
||||
MAPREDUCE-6391. util/Timer.cc completely misunderstands _POSIX_CPUTIME
|
||||
(Alan Burlison via aw)
|
||||
|
||||
MAPREDUCE-6480. archive-logs tool may miss applications (rkanter)
|
||||
|
||||
MAPREDUCE-6494. Permission issue when running archive-logs tool as
|
||||
|
|
|
@ -40,7 +40,7 @@ static uint64_t clock_get() {
|
|||
|
||||
static uint64_t clock_get() {
|
||||
timespec ts;
|
||||
clock_gettime(_POSIX_CPUTIME, &ts);
|
||||
clock_gettime(CLOCK_REALTIME, &ts);
|
||||
return 1000000000 * ts.tv_sec + ts.tv_nsec;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue