[jira] [Commented] (HDFS-12131) Add some of the FSNamesystem JMX values as metrics

2017-09-06 Thread Adam Whitlock (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-12131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16156149#comment-16156149
 ] 

Adam Whitlock commented on HDFS-12131:
--

[~shv] and [~xkrogen] - Thank you!

> Add some of the FSNamesystem JMX values as metrics
> --
>
> Key: HDFS-12131
> URL: https://issues.apache.org/jira/browse/HDFS-12131
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: hdfs, namenode
>Reporter: Erik Krogen
>Assignee: Erik Krogen
>Priority: Minor
> Fix For: 2.9.0, 3.0.0-beta1, 2.8.3, 2.7.5
>
> Attachments: HDFS-12131.000.patch, HDFS-12131.001.patch, 
> HDFS-12131.002.patch, HDFS-12131.002.patch, HDFS-12131.003.patch, 
> HDFS-12131.004.patch, HDFS-12131.005.patch, HDFS-12131.006.patch, 
> HDFS-12131-branch-2.006.patch, HDFS-12131-branch-2.7.006.patch, 
> HDFS-12131-branch-2.8.006.patch
>
>
> A number of useful numbers are emitted via the FSNamesystem JMX, but not 
> through the metrics system. These would be useful to be able to track over 
> time, e.g. to alert on via standard metrics systems or to view trends and 
> rate changes:
> * NumLiveDataNodes
> * NumDeadDataNodes
> * NumDecomLiveDataNodes
> * NumDecomDeadDataNodes
> * NumDecommissioningDataNodes
> * NumStaleStorages
> * VolumeFailuresTotal
> * EstimatedCapacityLostTotal
> * NumInMaintenanceLiveDataNodes
> * NumInMaintenanceDeadDataNodes
> * NumEnteringMaintenanceDataNodes
> This is a simple change that just requires annotating the JMX methods with 
> {{@Metric}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Created] (HDFS-10864) Verify SSL is working on DataNode startup

2016-09-15 Thread Adam Whitlock (JIRA)
Adam Whitlock created HDFS-10864:


 Summary: Verify SSL is working on DataNode startup
 Key: HDFS-10864
 URL: https://issues.apache.org/jira/browse/HDFS-10864
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: datanode, security
Reporter: Adam Whitlock


There should be verification during DataNode startup that SSL is configured 
correctly and working before the DataNode advertises availability. If SSL is 
not configured correctly – such as a bad configuration key or corrupt keystore 
file – services making connections via SSL (swebhdfs as an example) will 
encounter issues when attempting to retrieve data from misconfigured nodes. 
This verification check will prevent misconfigured DataNodes from advertising 
that they are working correctly while also providing a feedback mechanism to 
state that it is misconfigured. 

If SSL is misconfigured it should prevent startup from continuing, shutting 
down the process. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org