def create_hive_database(cluster, remote):
    db_password = get_hive_db_password(cluster)
    create_db_script = files.get_file_text(
        'plugins/cdh/v5_3_0/resources/create_hive_db.sql')
    create_db_script = create_db_script % db_password
    dh.remote_execute_db_script(remote, create_db_script)
dataset/ETHPy150Open openstack/sahara/sahara/plugins/cdh/v5_3_0/db_helper.py/create_hive_database/original