Slackbot
04/25/2023, 8:42 PMNeng
04/25/2023, 10:49 PMDANIEL STRAUGHAN
04/26/2023, 12:48 PMERROR org.apache.pulsar.functions.runtime.process.ProcessRuntime - Health check failed for pyexclamation-0
java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
2023-04-26T12:43:17,277+0000 [function-timer-thread-36-1] ERROR org.apache.pulsar.functions.runtime.process.ProcessRuntime - Extracted Process death exception
2023-04-26T12:43:17,277+0000 [function-timer-thread-36-1] ERROR org.apache.pulsar.functions.runtime.RuntimeSpawner - public/default/pyexclamation Function Container is dead with following exception. Restarting.
2023-04-26T12:43:17,277+0000 [function-timer-thread-36-1] INFO org.apache.pulsar.functions.runtime.process.ProcessRuntime - Creating function log directory /pulsar/logs/functions/public/default/pyexclamation
2023-04-26T12:43:17,277+0000 [function-timer-thread-36-1] INFO org.apache.pulsar.functions.runtime.process.ProcessRuntime - Created or found function log directory /pulsar/logs/functions/public/default/pyexclamation
2023-04-26T12:43:17,277+0000 [function-timer-thread-36-1] INFO org.apache.pulsar.functions.runtime.process.ProcessRuntime - ProcessBuilder starting the process with args python3 /pulsar/instances/python-instance/python_instance_main.py --py /pulsar/download/pulsar_functions/public/default/pyexclamation/0/pyexclamation.py --logging_directory /pulsar/logs/functions --logging_file pyexclamation --logging_config_file /pulsar/conf/functions-logging/logging_config.ini --instance_id 0 --function_id e32408b2-065a-4203-a001-0e7921aad732 --function_version cc91e9e8-300e-4dd5-8119-a9f1853fa2a1 --function_details '{"tenant":"public","namespace":"default","name":"pyexclamation","className":"pyexclamation.ExclamationFunction","runtime":"PYTHON","autoAck":true,"parallelism":1,"source":{"inputSpecs":{"<persistent://public/default/test4>":{}},"cleanupSubscription":true},"sink":{"topic":"<persistent://public/default/test5>","forwardSourceMessageProperty":true},"resources":{"cpu":1.0,"ram":"1073741824","disk":"10737418240"},"componentType":"FUNC...
2023-04-26T12:43:17,281+0000 [function-timer-thread-36-1] INFO org.apache.pulsar.functions.runtime.process.ProcessRuntime - Started process successfullyDANIEL STRAUGHAN
04/26/2023, 1:13 PM[INFO] python_instance_main.py: Starting Python instance with Namespace(client_auth_params='file:///pulsar/tokens/function/token', client_auth_plugin='org.apache.pulsar.client.impl.auth.AuthenticationToken', cluster_name='pulsar-dev', dependency_repository=None, expected_healthcheck_interval=30, extra_dependency_repository=None, function_details='{"tenant":"public","namespace":"default","name":"pyexclamation","className":"pyexclamation.ExclamationFunction","runtime":"PYTHON","autoAck":true,"parallelism":1,"source":{"inputSpecs":{"<persistent://public/default/test4>":{}},"cleanupSubscription":true},"sink":{"topic":"<persistent://public/default/test5>","forwardSourceMessageProperty":true},"resources":{"cpu":1.0,"ram":"1073741824","disk":"10737418240"},"componentType":"FUNCTION"}', function_id='e32408b2-065a-4203-a001-0e7921aad732', function_version='cc91e9e8-300e-4dd5-8119-a9f1853fa2a1', hostname_verification_enabled='false', install_usercode_dependencies=None, instance_id='0', logging_config_file='/pulsar/conf/functions-logging/logging_config.ini', logging_directory='/pulsar/logs/functions', logging_file='pyexclamation', logging_level=None, max_buffered_tuples='1024', metrics_port=42169, port=41159, pulsar_serviceurl='<pulsar+ssl://pulsar-dev-broker:6651>', py='/pulsar/download/pulsar_functions/public/default/pyexclamation/0/pyexclamation.py', secrets_provider='secretsprovider.ClearTextSecretsProvider', secrets_provider_config=None, state_storage_serviceurl=None, tls_allow_insecure_connection='true', tls_trust_cert_path='/pulsar/certs/ca/ca.crt', use_tls='true')
[ERROR] log.py: Traceback (most recent call last):
[ERROR] log.py: File "/pulsar/instances/python-instance/python_instance_main.py", line 239, in <module>
[ERROR] log.py: main()
[ERROR] log.py: File "/pulsar/instances/python-instance/python_instance_main.py", line 176, in main
[ERROR] log.py: authentication = pulsar.Authentication(args.client_auth_plugin, args.client_auth_params)
[ERROR] log.py: File "/pulsar/instances/python-instance/pulsar/__init__.py", line 278, in __init__
[ERROR] log.py: self.auth = _pulsar.Authentication(dynamicLibPath, authParamsString)
[ERROR] log.py: TypeError
[ERROR] log.py: :
[ERROR] log.py: _pulsar.Authentication: No constructor defined!Neng
05/05/2023, 6:37 PM