HBASE-16184 Shell test fails due to rLoadSink being nil (Phil Yang)
This commit is contained in:
parent
ccf293d7fb
commit
7227c27fe8
|
@ -722,6 +722,7 @@ module Hbase
|
||||||
rSinkString = " SINK :"
|
rSinkString = " SINK :"
|
||||||
rSourceString = " SOURCE:"
|
rSourceString = " SOURCE:"
|
||||||
rLoadSink = sl.getReplicationLoadSink()
|
rLoadSink = sl.getReplicationLoadSink()
|
||||||
|
next if rLoadSink == nil
|
||||||
rSinkString << " AgeOfLastAppliedOp=" + rLoadSink.getAgeOfLastAppliedOp().to_s
|
rSinkString << " AgeOfLastAppliedOp=" + rLoadSink.getAgeOfLastAppliedOp().to_s
|
||||||
rSinkString << ", TimeStampsOfLastAppliedOp=" +
|
rSinkString << ", TimeStampsOfLastAppliedOp=" +
|
||||||
(java.util.Date.new(rLoadSink.getTimeStampsOfLastAppliedOp())).toString()
|
(java.util.Date.new(rLoadSink.getTimeStampsOfLastAppliedOp())).toString()
|
||||||
|
|
Loading…
Reference in New Issue