Hi All, just looking for some information, has any...
# troubleshooting
s
Hi All, just looking for some information, has anyone ever used
kubernetes operator v1.11
with
Flink 2.0.0
successfully? I am getting an error
Copy code
Could not parse command line arguments [some IP, --pyClientExecutable, /usr/local/bin/python, -py, /opt/flink/usrlib/app.py, --jarfile, /opt/flink/usrlib/dependencies-1.0.0.jar]
The same config work fine for
kubernetes operator v1.9
with
Flink 1.18
, these are the args I am passing
Copy code
args: ["--pyClientExecutable", "/usr/local/bin/python",
           "--py", "/opt/flink/usrlib/app.py",
           "--jarfile", "/opt/flink/usrlib/dependencies-1.0.0.jar"]
The above error is thrown from jobmanager, if I look at the jobmanager pod config, this is what I see
Copy code
Args:                                                                                                                                                                                                    
       standalone-job                                                                                                                                                                                         
       --job-classname                                                                                                                                                                                        
       org.apache.flink.client.python.PythonDriver                                                                                                                                                            
       --host                                                                                                                                                                                                 
       $(_POD_IP_ADDRESS)                                                                                                                                                                                     
       --pyClientExecutable                                                                                                                                                                                   
       /usr/local/bin/python                                                                                                                                                                                  
       -py                                                                                                                                                                                                    
       /opt/flink/usrlib/app.py                                                                                                                                                                               
       --jarfile                                                                                                                                                                                              
       /opt/flink/usrlib/dependencies-1.0.0.jar