@Override protected boolean hideAction(RepositoryNode node) { HadoopClusterConnectionItem hcConnectionItem = HCRepositoryUtil.getHCConnectionItemFromRepositoryNode(node); if (hcConnectionItem != null) { HadoopClusterConnection hcConnection = (HadoopClusterConnection) hcConnectionItem.getConnection(); DistributionBean hdfsDistribution = HadoopDistributionsHelper.HDFS.getDistribution(hcConnection.getDistribution(), false); if (hdfsDistribution != null) { IHDistributionVersion hdVersion = hdfsDistribution.getHDVersion(hcConnection.getDfVersion(), false); if (hdVersion != null) { // found, don't hide return false; } } } return true; }