HBASE-8055 Null check missing in StoreFile.Reader.getMaxTimestamp()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1455403 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cff351319f
commit
7dbb307f2a
|
@ -1570,7 +1570,7 @@ public class StoreFile {
|
|||
}
|
||||
|
||||
public long getMaxTimestamp() {
|
||||
return timeRangeTracker.maximumTimestamp;
|
||||
return timeRangeTracker == null ? Long.MAX_VALUE : timeRangeTracker.maximumTimestamp;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue