[
https://issues.apache.org/jira/browse/FLINK-16856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17070750#comment-17070750
]
Chesnay Schepler edited comment on FLINK-16856 at 3/30/20, 7:32 AM:
--------------------------------------------------------------------
Can you tell me what system you are running on? This works fine for me and we
haven't seen issues on CI.
https://linux.die.net/man/1/head
{code}
-n, --lines=[-]K
print the first K lines instead of the first 10; with the leading '-',
print all but the last K lines of each file
{code}
was (Author: zentol):
Can you tell me what system you are running on? This works fine for me and we
haven't seen issues on CI.
https://linux.die.net/man/1/head
{code}
-n, --lines=[-]K
print the first K lines instead of the first 10; with the leading '-',
print all but the last K lines of each file
{code]
> 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)