[
https://issues.apache.org/jira/browse/FLINK-16856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17070764#comment-17070764
]
Yang Wang commented on FLINK-16856:
-----------------------------------
Aha, i get your point. However, i am afraid it could not work on Mac.
> taskmanager.sh is broken because of invalid arguments of head
> -------------------------------------------------------------
>
> Key: FLINK-16856
> URL: https://issues.apache.org/jira/browse/FLINK-16856
> Project: Flink
> Issue Type: Bug
> Components: Deployment / Scripts
> Reporter: Yang Wang
> Priority: Critical
> Fix For: 1.11.0
>
>
> When we start the standalone cluster, the following exception will show up.
> The root cause is an invalid argument of head in {{taskmanager.sh}}.
> [https://github.com/apache/flink/blob/master/flink-dist/src/main/flink-bin/bin/taskmanager.sh#L52]
>
> I think it maybe a typo. cc [~chesnay]
>
> {code:java}
> wangyang-pc:build-target danrtsey.wy$ ./bin/start-cluster.sh
> Starting cluster.
> Starting standalonesession daemon on host wangyang-pc.
> head: illegal line count -- -2
> Starting taskexecutor daemon on host wangyang-pc.
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)