pgandhap edited a comment on issue #13021:
URL: https://github.com/apache/pulsar/issues/13021#issuecomment-982286199


   Hi @nlu90 
   
   Pulsar Logs : 
   --------------
   Using function root classloader: 
jdk.internal.loader.ClassLoaders$AppClassLoader@55054057
   
   Using function instance classloader: java.net.URLClassLoader@5451c3a8
   
   WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will 
impact performance.
   
   Starting function instance...
   
   04:49:11.525 [pulsar-web-63-12] INFO  org.eclipse.jetty.server.RequestLog - 
127.0.0.1 - - [30/Nov/2021:04:49:11 +0000] "GET 
/admin/v2/persistent/public/functions/coordinate/stats?getPreciseBacklog=false&subscriptionBacklogSize=false
 HTTP/1.1" 200 1982 "-" "Pulsar-Java-v2.8.1" 3
   
   04:49:11.530 [pulsar-web-63-9] INFO  org.eclipse.jetty.server.RequestLog - 
127.0.0.1 - - [30/Nov/2021:04:49:11 +0000] "GET 
/admin/v2/persistent/public/functions/coordinate/stats?getPreciseBacklog=false&subscriptionBacklogSize=false
 HTTP/1.1" 200 1982 "-" "Pulsar-Java-v2.8.1" 2
   
   04:49:29.434 [pulsar-web-63-3] INFO  org.eclipse.jetty.server.RequestLog - 
172.17.0.4 - - [30/Nov/2021:04:49:29 +0000] "GET /admin/v2/clusters HTTP/1.1" 
200 14 "-" "Apache-HttpClient/4.5.5 (Java/1.8.0_212)" 3
   
   04:49:29.440 [pulsar-web-63-4] INFO  org.eclipse.jetty.server.RequestLog - 
172.17.0.4 - - [30/Nov/2021:04:49:29 +0000] "GET 
/admin/v2/clusters/standalone/failureDomains HTTP/1.1" 200 2 "-" 
"Apache-HttpClient/4.5.5 (Java/1.8.0_212)" 2
   
   04:49:29.448 [pulsar-web-63-13] INFO  org.eclipse.jetty.server.RequestLog - 
172.17.0.4 - - [30/Nov/2021:04:49:29 +0000] "GET /admin/v2/brokers/standalone 
HTTP/1.1" 200 18 "-" "Apache-HttpClient/4.5.5 (Java/1.8.0_212)" 1
   
   04:49:29.456 [pulsar-web-63-14] INFO  org.eclipse.jetty.server.RequestLog - 
172.17.0.4 - - [30/Nov/2021:04:49:29 +0000] "GET /admin/v2/clusters/standalone 
HTTP/1.1" 200 230 "-" "Apache-HttpClient/4.5.5 (Java/1.8.0_212)" 2
   
   04:49:32.625 [pulsar-web-63-1] INFO  org.eclipse.jetty.server.RequestLog - 
172.17.0.4 - - [30/Nov/2021:04:49:32 +0000] "GET /admin/v2/clusters HTTP/1.1" 
200 14 "-" "Apache-HttpClient/4.5.5 (Java/1.8.0_212)" 2
   
   04:49:32.634 [pulsar-web-63-16] INFO  org.eclipse.jetty.server.RequestLog - 
172.17.0.4 - - [30/Nov/2021:04:49:32 +0000] "GET /admin/v2/clusters/standalone 
HTTP/1.1" 200 230 "-" "Apache-HttpClient/4.5.5 (Java/1.8.0_212)" 3
   
   04:49:32.646 [pulsar-web-63-8] INFO  org.eclipse.jetty.server.RequestLog - 
172.17.0.4 - - [30/Nov/2021:04:49:32 +0000] "GET /admin/v2/clusters HTTP/1.1" 
200 14 "-" "Apache-HttpClient/4.5.5 (Java/1.8.0_212)" 2
   
   04:49:32.653 [pulsar-web-63-15] INFO  org.eclipse.jetty.server.RequestLog - 
172.17.0.4 - - [30/Nov/2021:04:49:32 +0000] "GET /admin/v2/clusters/standalone 
HTTP/1.1" 200 230 "-" "Apache-HttpClient/4.5.5 (Java/1.8.0_212)" 1
   
   04:49:37.317 [function-timer-thread-91-1] ERROR 
org.apache.pulsar.functions.runtime.process.ProcessRuntime - Extracted Process 
death exception
   
   java.lang.RuntimeException: 
   
   at 
org.apache.pulsar.functions.runtime.process.ProcessRuntime.tryExtractingDeathException(ProcessRuntime.java:402)
 ~[org.apache.pulsar-pulsar-functions-runtime-2.8.1.jar:2.8.1]
   
   at 
org.apache.pulsar.functions.runtime.process.ProcessRuntime.isAlive(ProcessRuntime.java:389)
 ~[org.apache.pulsar-pulsar-functions-runtime-2.8.1.jar:2.8.1]
   
   at 
org.apache.pulsar.functions.runtime.RuntimeSpawner.lambda$start$0(RuntimeSpawner.java:86)
 ~[org.apache.pulsar-pulsar-functions-runtime-2.8.1.jar:2.8.1]
   
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 
[?:?]
   
   at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?]
   
   at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
 [?:?]
   
   at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 
[?:?]
   
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
[?:?]
   
   at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
 [io.netty-netty-common-4.1.66.Final.jar:4.1.66.Final]
   
   at java.lang.Thread.run(Thread.java:829) [?:?]
   
   04:49:37.318 [function-timer-thread-91-1] ERROR 
org.apache.pulsar.functions.runtime.RuntimeSpawner - 
public/default/jdbc-postgres-sink-java.lang.RuntimeException:  Function 
Container is dead with exception.. restarting
   
   04:49:37.318 [function-timer-thread-91-1] INFO  
org.apache.pulsar.functions.runtime.process.ProcessRuntime - Creating function 
log directory logs//functions/public/default/jdbc-postgres-sink
   
   04:49:37.319 [function-timer-thread-91-1] INFO  
org.apache.pulsar.functions.runtime.process.ProcessRuntime - Created or found 
function log directory logs//functions/public/default/jdbc-postgres-sink
   
   04:49:37.319 [function-timer-thread-91-1] INFO  
org.apache.pulsar.functions.runtime.process.ProcessRuntime - ProcessBuilder 
starting the process with args java -cp 
/pulsar/instances/java-instance.jar:/pulsar/instances/deps/* 
-Dpulsar.functions.extra.dependencies.dir=/pulsar/instances/deps 
-Dpulsar.functions.instance.classpath=/pulsar/conf:::/pulsar/lib/*: 
-Dlog4j.configurationFile=/pulsar/conf/functions_log4j2.xml 
-Dpulsar.function.log.dir=logs//functions/public/default/jdbc-postgres-sink 
-Dpulsar.function.log.file=jdbc-postgres-sink-0 -Xmx1073741824 
org.apache.pulsar.functions.instance.JavaInstanceMain --jar 
/pulsar/download/pulsar_functions/public/default/jdbc-postgres-sink/0/pulsar-io-jdbc-postgres-2.8.1.nar
 --instance_id 0 --function_id 4583f5d9-9d80-4caa-b789-65f457634325 
--function_version 5706e282-f976-42c2-bac1-319859f9b0b0 --function_details 
'{"tenant":"public","namespace":"default","name":"jdbc-postgres-sink","className":"org.apache.pulsar.functions.api.utils.IdentityFun
 
ction","autoAck":true,"parallelism":1,"source":{"typeClassName":"org.apache.pulsar.client.api.schema.GenericRecord","inputSpecs":{"my-topic":{}},"cleanupSubscription":true},"sink":{"className":"org.apache.pulsar.io.jdbc.PostgresJdbcAutoSchemaSink","configs":"{\"userName\":\"postgres\",\"password\":\"password\",\"jdbcUrl\":\"jdbc:postgresql://localhost:5432/pulsar_postgres_jdbc_sink\",\"tableName\":\"pulsar_postgres_jdbc_sink\"}","typeClassName":"org.apache.pulsar.client.api.schema.GenericRecord"},"resources":{"cpu":1.0,"ram":"1073741824","disk":"10737418240"},"componentType":"SINK"}'
 --pulsar_serviceurl pulsar://localhost:6650 --max_buffered_tuples 1024 --port 
39259 --metrics_port 45229 --pending_async_requests 1000 
--state_storage_serviceurl bk://127.0.0.1:4181 --expected_healthcheck_interval 
30 --secrets_provider 
org.apache.pulsar.functions.secretsprovider.ClearTextSecretsProvider 
--cluster_name standalone --nar_extraction_directory /tmp
   
   04:49:37.338 [function-timer-thread-91-1] INFO  
org.apache.pulsar.functions.runtime.process.ProcessRuntime - Started process 
successfully
   
   Using function root classloader: 
jdk.internal.loader.ClassLoaders$AppClassLoader@55054057
   
   Using function instance classloader: java.net.URLClassLoader@5451c3a8
   
   WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will 
impact performance.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to