You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/10/18 10:20:17 UTC

[GitHub] [hadoop-ozone] elek opened a new pull request #52: HDDS-2326. Http server of Freon is not started for new Freon tests

elek opened a new pull request #52: HDDS-2326. Http server of Freon is not started for new Freon tests
URL: https://github.com/apache/hadoop-ozone/pull/52
 
 
   ## What changes were proposed in this pull request?
   
   HDDS-2022 introduced new Freon tests but the Freon http server is not started for the new tests.
   
   Freon includes a http server which can be turned on with the '–server' flag. It helps to monitor and profile the freon as the http server contains by default the prometheus and profiler servlets.
   
   The server should be started if's requested.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-2326
   
   ## How was this patch tested?
   
   You need a cluster and login to the scm:
   
   ```
   cd compose/ozone
   docker-compose up -d --scale datanode=3
   docker-compose exec scm bash
   ```
   
   Now start a new style freon test:
   
   ```
   ozone freon --server ockg -n 10000000
   ```
   
   You should see the http server on the std output:
   
   {code}
   2019-10-18 10:13:26,464 INFO server.AbstractConnector: Started ServerConnector@40dd3977{HTTP/1.1,[http/1.1]}{0.0.0.0:9884}
   {code}
   
   And you can access the standard servlets (while freon is running)
   
   ```
   curl http://localhost:9884/jmx
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org