smallyao opened a new pull request, #3375: URL: https://github.com/apache/ambari/pull/3375
## What changes were proposed in this pull request? Fix the issue that MapReduce actions menu lack service check button  The reason seems caused by [AMBARI-24921](https://issues.apache.org/jira/browse/AMBARI-24921). When access to MapReduce page, in the file app/views/main/service/item.js at line 162 `service.get('installedClients')// result is null `, so the code `var hasClient = App.StackService.find(serviceName).get('hasClient') ? service.get('installedClients') > 0 : true; var serviceCheckSupported = App.get('services.supportsServiceCheck').contains(serviceName) && hasClient; ` will make the variable serviceCheckSupported is false that lead to the Service Check buttion invisible ## How was this patch tested? Tested in local vm cluster. After applying this patch, this issue is fixed. As shown in following picture  Please review [Ambari Contributing Guide](https://cwiki.apache.org/confluence/display/AMBARI/How+to+Contribute) before opening a pull request. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
