import re


def find_exported_class_path(spark_config_env_sh):
    """
    find any current class path
    :param spark_config_env_sh: all the text from the cloudera manager spark_env.sh
    :return: the entire line containing the exported class path
    """
    return re.search('SPARK_CLASSPATH=.*', spark_config_env_sh) if spark_config_env_sh else None