mirror of https://github.com/apache/druid.git
better error emitting for mismatched rules
This commit is contained in:
parent
8c7fd3bc49
commit
18692a1214
|
@ -68,7 +68,12 @@ public class DruidMasterRuleRunner implements DruidMasterHelper
|
|||
}
|
||||
|
||||
if (!foundMatchingRule) {
|
||||
log.makeAlert("Unable to find a matching rule for segment[%s]", segment.getIdentifier()).emit();
|
||||
log.makeAlert(
|
||||
"Unable to find a matching rule for dataSource[%s]",
|
||||
segment.getDataSource()
|
||||
)
|
||||
.addData("segment", segment.getIdentifier())
|
||||
.emit();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue