Hi! I'm having a issue with confluent-avro format...
# troubleshooting
s
Hi! I'm having a issue with confluent-avro format in my job submission. It hangs and I would really like know the reason for it, but I'm very short on any trace. Any troubleshooting best practices? Context: I'm deploying a python job (no UDFs, uses Table API and SQL) into standalone cluster (1.18.1) and the job works if I use csv formatting. When I change it to use confluent-avro as a format the job submission hangs, and job never appears to the running jobs list in the UI. I been trying to debug the jars that I include into the job jar.pipelines and flink-cli --classpath arguments. I have checked that schema-registry is open and ssl certs should be configured properly.
It seems to get stuck into this command:
Copy code
Traceback (most recent call last):
  File ".../lib64/python3.9/site-packages/py4j/java_gateway.py", line 1038, in send_command
    response = connection.send_command(command)
  File ".../lib64/python3.9/site-packages/py4j/java_gateway.py", line 1217, in send_command
    answer = smart_decode(self.stream.readline()[:-1])
  File "/usr/lib64/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
KeyboardInterrupt
Traceback (most recent call last):
  File "/usr/lib64/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/tmp/pyflink/4eeeebe9-09d1-4a4b-ae65-7195ac920c3e/8bb3c030-743c-43fa-b8b6-458ac09db207/a-job.py", line 46, in module
    aggregate_and_insert(
  File "/tmp/pyflink/4eeeebe9-09d1-4a4b-ae65-7195ac920c3e/8bb3c030-743c-43fa-b8b6-458ac09db207/a-job.py", line 108, in aggregate_and_insert
    table_env.execute_sql(aggregate_and_insert_sql)
  File ".../lib64/python3.9/site-packages/pyflink/table/table_environment.py", line 837, in execute_sql
    return TableResult(self._j_tenv.executeSql(stmt))
  File ".../lib64/python3.9/site-packages/py4j/java_gateway.py", line 1321, in __call__
    answer = self.gateway_client.send_command(command)
  File ".../lib64/python3.9/site-packages/py4j/java_gateway.py", line 1038, in send_command
    response = connection.send_command(command)
  File ".../lib64/python3.9/site-packages/py4j/java_gateway.py", line 1217, in send_command
    answer = smart_decode(self.stream.readline()[:-1])
  File "/usr/lib64/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
KeyboardInterrupt
Any ideas how to dig deeper into this issue would be valuable
Got forward, most probably related to cluster setup as classpath.jars functionality works and doesn't hang.