[jira] [Created] (FLINK-16856) taskmanager.sh is broken because of invalid arguments of head

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-16856) taskmanager.sh is broken because of invalid arguments of head

Shang Yuanchun (Jira)
Yang Wang created FLINK-16856:
---------------------------------

             Summary: 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


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)