[ https://issues.apache.org/jira/browse/HDFS-14358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16911188#comment-16911188 ]
Surendra Singh Lilhore commented on HDFS-14358: ----------------------------------------------- Thanks [~hemanthboyina] for patch. 1. Some more formatting is required for {{initComplete}} {code:java} initComplete: function() { var column = this.api().column([0]); var select = $('<select class="datanodestatus form-control input-sm"><option value="">All</option></select>') .appendTo('#datanodefilter') .on('change', function() { var val = $.fn.dataTable.util.escapeRegex($(this).val()); column.search(val ? '^' + val + '$' : '', true, false).draw(); }); console.log(select); column.data().unique().sort().each(function(d, j) { select.append('<option value="' + d + '">' + d + '</option>'); }); } {code} 2. please attache screenshot for UI after this change. > Provide LiveNode and DeadNode filter in DataNode UI > --------------------------------------------------- > > Key: HDFS-14358 > URL: https://issues.apache.org/jira/browse/HDFS-14358 > Project: Hadoop HDFS > Issue Type: Improvement > Affects Versions: 3.1.2 > Reporter: Ravuri Sushma sree > Assignee: hemanthboyina > Priority: Major > Attachments: HDFS-14358 (4).patch, HDFS-14358(2).patch, > HDFS-14358(3).patch, hdfs-14358.patch > > -- This message was sent by Atlassian Jira (v8.3.2#803003) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org