Running WebClient from Windows

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Running WebClient from Windows

tambunanw
Hi All, 

Is there any way to run WebClient for uploading the job from windows ? 

I try to run that from mingw but has these error


$ bin/start-webclient.sh
/c/flink-0.10.0/bin/config.sh: line 261: conditional binary operator expected
/c/flink-0.10.0/bin/config.sh: line 261: syntax error near `=~'
/c/flink-0.10.0/bin/config.sh: line 261: `    if [[ "$SLAVE" =~ ^.*/([0-9a-zA-Z.
-]+)$ ]]; then'
/c/flink-0.10.0/bin/config.sh: line 261: conditional binary operator expected
/c/flink-0.10.0/bin/config.sh: line 261: syntax error near `=~'
/c/flink-0.10.0/bin/config.sh: line 261: `    if [[ "$SLAVE" =~ ^.*/([0-9a-zA-Z.
-]+)$ ]]; then'
Starting Flink webclient

[Terminate]

Cheers

--
Reply | Threaded
Open this post in threaded view
|

Re: Running WebClient from Windows

Fabian Hueske-2
Hi Welly,

at the moment we only provide native Windows .bat scripts for start-local and the CLI client.
However, we check that the Unix scripts (including start-webclient.sh) work in a Windows Cygwin environment.
I have to admit, I am not familiar with MinGW, so not sure what is happening there.

It would be nice to have a Windows start script for the webclient though.
Would you mind and open a JIRA for that?

Thanks,
Fabian

2015-12-02 3:00 GMT+01:00 Welly Tambunan <[hidden email]>:
Hi All, 

Is there any way to run WebClient for uploading the job from windows ? 

I try to run that from mingw but has these error


$ bin/start-webclient.sh
/c/flink-0.10.0/bin/config.sh: line 261: conditional binary operator expected
/c/flink-0.10.0/bin/config.sh: line 261: syntax error near `=~'
/c/flink-0.10.0/bin/config.sh: line 261: `    if [[ "$SLAVE" =~ ^.*/([0-9a-zA-Z.
-]+)$ ]]; then'
/c/flink-0.10.0/bin/config.sh: line 261: conditional binary operator expected
/c/flink-0.10.0/bin/config.sh: line 261: syntax error near `=~'
/c/flink-0.10.0/bin/config.sh: line 261: `    if [[ "$SLAVE" =~ ^.*/([0-9a-zA-Z.
-]+)$ ]]; then'
Starting Flink webclient

[Terminate]

Cheers

--

Reply | Threaded
Open this post in threaded view
|

Re: Running WebClient from Windows

tambunanw
Hi Fabian, 

I have already created JIRA for this one. 

Thanks a lot for this. 

Cheers

On Wed, Dec 2, 2015 at 6:02 PM, Fabian Hueske <[hidden email]> wrote:
Hi Welly,

at the moment we only provide native Windows .bat scripts for start-local and the CLI client.
However, we check that the Unix scripts (including start-webclient.sh) work in a Windows Cygwin environment.
I have to admit, I am not familiar with MinGW, so not sure what is happening there.

It would be nice to have a Windows start script for the webclient though.
Would you mind and open a JIRA for that?

Thanks,
Fabian

2015-12-02 3:00 GMT+01:00 Welly Tambunan <[hidden email]>:
Hi All, 

Is there any way to run WebClient for uploading the job from windows ? 

I try to run that from mingw but has these error


$ bin/start-webclient.sh
/c/flink-0.10.0/bin/config.sh: line 261: conditional binary operator expected
/c/flink-0.10.0/bin/config.sh: line 261: syntax error near `=~'
/c/flink-0.10.0/bin/config.sh: line 261: `    if [[ "$SLAVE" =~ ^.*/([0-9a-zA-Z.
-]+)$ ]]; then'
/c/flink-0.10.0/bin/config.sh: line 261: conditional binary operator expected
/c/flink-0.10.0/bin/config.sh: line 261: syntax error near `=~'
/c/flink-0.10.0/bin/config.sh: line 261: `    if [[ "$SLAVE" =~ ^.*/([0-9a-zA-Z.
-]+)$ ]]; then'
Starting Flink webclient

[Terminate]

Cheers

--




--