[
https://issues.apache.org/jira/browse/FLINK-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14577156#comment-14577156
]
ASF GitHub Bot commented on FLINK-2174:
---------------------------------------
Github user mxm commented on the pull request:
https://github.com/apache/flink/pull/796#issuecomment-109988749
Are you sure? For me, it works in bash. Just tested under MacOS, Debian
Stable, and Ubuntu. It doesn't work in other shells which implement regexp
matching differently. For example, in zsh the matching array is called `match`
instead of `BASH_REMATCH`. However, the script is meant to be executed in bash
anyways and therefore has a `#!/usr/bin/env bash` shebang.
> Allow comments in 'slaves' file
> -------------------------------
>
> Key: FLINK-2174
> URL: https://issues.apache.org/jira/browse/FLINK-2174
> Project: Flink
> Issue Type: Improvement
> Components: Start-Stop Scripts
> Reporter: Matthias J. Sax
> Assignee: Matthias J. Sax
> Priority: Trivial
>
> Currently, each line in slaves in interpreded as a host name. Scripts should
> skip lines starting with '#'. Also allow for comments at the end of a line
> and skip empty lines.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)