mirror of https://github.com/apache/druid.git
* Fix lz4 library incompatibility in kafka-indexing-service extension #3266 * Bumped Kafka version to 0.10.2.0 for : Fix lz4 library incompatibility in kafka-indexing-service extension #3266 * Replaced Lists.newArrayList() with Collections.singletonList() For Fix lz4 library incompatibility in kafka-indexing-service extension #4115 * Fixed: Average Server Percent Used: NaN% Error when server startup is in progress #4214
This commit is contained in:
parent
1ebfa22955
commit
5e6539fec6
|
@ -53,8 +53,12 @@ $(document).ready(function() {
|
||||||
return ret;
|
return ret;
|
||||||
}());
|
}());
|
||||||
var avg = serverTable.getColTotal('Server percentUsed') / serverTable.getNumRows();
|
var avg = serverTable.getColTotal('Server percentUsed') / serverTable.getNumRows();
|
||||||
$('#avg_server_metric').html('Average Server Percent Used: ' + avg + '%');
|
if (!isNaN(avg)) {
|
||||||
|
$('#avg_server_metric').html('Average Server Percent Used: ' + avg + '%');
|
||||||
|
}else{
|
||||||
|
$('.loading').html('Server is still starting...Please try after few minutes.');
|
||||||
|
$('.loading').show()
|
||||||
|
}
|
||||||
serverTable.toHTMLTable($('#servers'));
|
serverTable.toHTMLTable($('#servers'));
|
||||||
segmentTable.toHTMLTable($('#segments'));
|
segmentTable.toHTMLTable($('#segments'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue