agozhiy opened a new pull request #1999: DRILL-7582: Moved Drillbits REST API 
communication to the back end layer
URL: https://github.com/apache/drill/pull/1999
 
 
   # [DRILL-7582](https://issues.apache.org/jira/browse/DRILL-7582): Moved 
Drillbits REST API communication to the back end layer
   
   ## Description
   
   There is a list of Drillbits on the Web UI index page and some statistics, 
such as Heap Memory Usage, Direct Memory Usage, CPU Usage, Avg Sys Load, Uptime.
   Retrieving these stats is implemented by javascript REST API calls from 
client side. This causes the following problems:
   - Requires all Drillbit hostnames to be be added to client hosts as they are 
used in the URLs.
   - Won't work with SSL/TLS enabled.
   - Won't work if the Drill cluster is running in isolated environment such as 
Kubernetes.
   - Won't work if Drill is running in docker and the Web port is remapped 
(e.g. -p 80:8047)
   
   Now all these HTTP requests are sent by 
[org.apache.http.impl.nio.client.CloseableHttpAsyncClient](http://hc.apache.org/httpcomponents-asyncclient-dev/httpasyncclient/apidocs/org/apache/http/impl/nio/client/CloseableHttpAsyncClient.html)
 in back end.
   
   ## Documentation
   Statistics should be displayed in all cases.
   
   ## Testing
   Tested manually with SSL enabled/disabled as well as authentication.
   Unit / Functional tests were passed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to