private String getBulkCommandsMasterComponentName(ComponentInfo component) {
    BulkCommandDefinition o = component.getBulkCommandDefinition();
    if (o == null) {
      return "";
    } else {
      return o.getMasterComponent();
    }
  }
Get bulk command master component name

@param component
         the component to generate the response from (not {@code null}).
@return master component name
ambari-server/src/main/java/org/apache/ambari/server/controller/StackServiceComponentResponse.java