private void dumpSameKeytab(Configuration flinkConfiguration, List<File> shipFiles) {
        Optional.ofNullable(flinkConfiguration.getString(SecurityOptions.KERBEROS_LOGIN_KEYTAB))
                .ifPresent(x ->
                        shipFiles.removeIf(f ->
                                f.getName().equals(Stream
                                        .of(x.split(File.separator))
                                        .reduce((a, b) -> b)
                                        .get())));
    }
Date: 2020/3/4
Company: www.dtstack.com
@author maqi
launcher/src/main/java/com/dtstack/flink/sql/launcher/executor/YarnJobClusterExecutor.java