Joe McDonnell has uploaded this change for review. ( http://gerrit.cloudera.org:8080/13712
Change subject: IMPALA-8700: Use int64_t mtime for HdfsScanNodeBase::AllocateScanRange() ...................................................................... IMPALA-8700: Use int64_t mtime for HdfsScanNodeBase::AllocateScanRange() HDFS defines the modification time as the milliseconds since Jan 1st, 1970. Since milliseconds wrap every 49 days in a 4 byte integer, all locations storing modification time need to use an 8 byte integer. The overload of HdfsScanNodeBase::AllocateScanRange() that is called from Impala-lzo uses a 4 byte integer. When this wraps, it triggers a DCHECK in ScanRange::Reset() that assumes mtime > 0. This changes the HdfsScanNodeBase::AllocateScanRange() overload to take an int64_t. The Impala-lzo side already supplies an int64_t. Change-Id: Icce5b22361c74333f3213dce629e0e625550573f --- M be/src/exec/hdfs-scan-node-base.cc M be/src/exec/hdfs-scan-node-base.h 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/12/13712/1 -- To view, visit http://gerrit.cloudera.org:8080/13712 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Icce5b22361c74333f3213dce629e0e625550573f Gerrit-Change-Number: 13712 Gerrit-PatchSet: 1 Gerrit-Owner: Joe McDonnell <[email protected]>
