code: def get_component_exceptionsummary(cluster, environ, topology, component, role=None):
    '''
    Get summary of exception for a component
    :param cluster:
    :param environ:
    :param topology:
    :param component:
    :param role:
    :return:
    '''
    params = dict(
        cluster=cluster,
        environ=environ,
        topology=topology,
        component=component)
    if role is not None:
      params['role'] = role
    request_url = tornado.httputil.url_concat(
        create_url(EXCEPTION_SUMMARY_URL_FMT), params)
    raise tornado.gen.Return((yield fetch_url_as_json(request_url))f get_component_exceptionsummary(cluster, environ, topology, component, role=None):
    '''
    Get summary of exception for a component
    :param cluster:
    :param environ:
    :param topology:
    :param component:
    :param role:
    :return:
    '''
    params = dict(
        cluster=cluster,
        environ=environ,
        topology=topology,
        component=component)
    if role is not None:
      params['role'] = role
    request_url = tornado.httputil.url_concat(
        create_url(EXCEPTION_SUMMARY_URL_FMT), params)
    raise tornado.gen.Return((yield fetch_url_as_json(request_url)))
docs: Get summary of exception for a component
    :param cluster:
    :param environ:
    :param topology:
    :param component:
    :param role:
    :return: