Re: bin/start-cluster.sh won't start jobmanager on master machine

2018-03-07 Thread Yesheng Ma
Oh, I have figured out the problem, which has something to do with my ~/.profile, i cannot remember when i added one line in the ~/.profile, which sources my .zshrc, leading to the login shell always goes to zsh. On Wed, Mar 7, 2018 at 2:13 AM, Yesheng Ma wrote: > Related

Re: bin/start-cluster.sh won't start jobmanager on master machine

2018-03-06 Thread Yesheng Ma
Related source code: https://github.com/apache/flink/blob/master/flink-dist/src/main/flink-bin/bin/start-cluster.sh#L40 On Wed, Mar 7, 2018 at 2:11 AM, Yesheng Ma wrote: > Hi Nico, > > Thanks for your reply. My major concern is actually the `-l` argument. > The command I

Re: bin/start-cluster.sh won't start jobmanager on master machine

2018-03-06 Thread Yesheng Ma
Hi Nico, Thanks for your reply. My major concern is actually the `-l` argument. The command I executed is: `nohup /bin/bash -x -l "/state/partition1/ysma/flink-1.4.1/bin/jobmanager.sh" start cluster dell-01.epcc 8091`, with and without the `-l` argument (the script in Flink's bin directory uses

Re: bin/start-cluster.sh won't start jobmanager on master machine

2018-03-06 Thread Nico Kruber
Hi Yesheng, `nohup /bin/bash -l bin/jobmanager.sh start cluster ...` looks a bit strange since it should (imho) be an absolute path towards flink. What you could do to diagnose further, is to try to run the ssh command manually, i.e. figure out what is being executed by calling bash -x

bin/start-cluster.sh won't start jobmanager on master machine

2018-03-04 Thread Yesheng Ma
Hi all, ​​When I execute bin/start-cluster.sh on the master machine, actually the command `nohup /bin/bash -l bin/jobmanager.sh start cluster ...` is exexuted, which does not open the job manager properly. I think there might be something wrong with the `-l` argument, since when I use the