-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71565/#review218185
-----------------------------------------------------------


Ship it!




Ship It!

- Madhan Neethiraj


On Oct. 10, 2019, 10:22 a.m., Fatima Khan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/71565/
> -----------------------------------------------------------
> 
> (Updated Oct. 10, 2019, 10:22 a.m.)
> 
> 
> Review request for ranger, Ankita Sinha, Gautam Borad, Abhay Kulkarni, Madhan 
> Neethiraj, Mehul Parikh, Nikhil P, Pradeep Agrawal, Ramesh Mani, and 
> Selvamohan Neethiraj.
> 
> 
> Bugs: RANGER-2589
>     https://issues.apache.org/jira/browse/RANGER-2589
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Important JVM attributes can be returned via Ranger REST API : 
> 
> heap memory usage
> GC time
> # of open threads
> # of open file descriptors
> 
> 
> Diffs
> -----
> 
>   
> agents-common/src/main/java/org/apache/ranger/plugin/model/RangerMetrics.java 
> PRE-CREATION 
>   security-admin/src/main/java/org/apache/ranger/rest/MetricsREST.java 
> PRE-CREATION 
>   security-admin/src/main/java/org/apache/ranger/util/RangerMetricsUtil.java 
> PRE-CREATION 
>   security-admin/src/main/resources/conf.dist/security-applicationContext.xml 
> 672d4a6 
> 
> 
> Diff: https://reviews.apache.org/r/71565/diff/7/
> 
> 
> Testing
> -------
> 
> Getting the desired json
> {
>    "data":{
>       "jvm":{
>          "JVM Machine Actual Name":"OpenJDK 64-Bit Server VM",
>          "version":"25.222-b10",
>          "JVM Machine Representation Name":"27693@fipl5",
>          "Up time of JVM":9036,
>          "JVM Vendor Name":"Private Build",
>          "os.spec":"Linux, amd64, 4.15.0-65-generic",
>          "os.vcpus":"4",
>          "memory":{
>             "heapInit":"1073741824",
>             "heapMax":"1024983040",
>             "heapCommitted":"1024983040",
>             "heapUsed":"245119288",
>             "nonHeapInit":"2555904",
>             "nonHeapMax":"662700032",
>             "nonHeapCommitted":"101842944",
>             "nonHeapUsed":"100077808",
>             "memory_pool_usages":{
>                "PS Eden Space":{
>                   "init":268435456,
>                   "used":206599792,
>                   "committed":260046848,
>                   "max":261619712
>                },
>                "PS Survivor Space":{
>                   "init":44564480,
>                   "used":30648600,
>                   "committed":48758784,
>                   "max":48758784
>                },
>                "PS Old Gen":{
>                   "init":716177408,
>                   "used":7870896,
>                   "committed":716177408,
>                   "max":716177408
>                }
>             }
>          }
>       }
>    }
> }
> 
> 
> Thanks,
> 
> Fatima Khan
> 
>

Reply via email to