You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/01/19 07:26:50 UTC
[GitHub] [shardingsphere-elasticjob] doctormacky edited a comment on issue #1858: Elasticjob unable to get local IP address, runtime In JDK version 1.8.0_40
doctormacky edited a comment on issue #1858:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1858#issuecomment-1016154852
same issue in Mac
stack trace log:
```
15:16:23.919 [main-SendThread(127.0.0.1:2181)] DEBUG org.apache.zookeeper.ClientCnxn - Reading reply session id: 0x100002f22d70008, packet:: clientPath:/elastic-job-demo/javaHttpJob/config serverPath:/elastic-job-demo/javaHttpJob/config finished:false header:: 13,12 replyHeader:: 13,21,0 request:: '/elastic-job-demo/javaHttpJob/config,F response:: v{},s{6,6,1642575279023,1642575279023,0,0,0,0,392,0,6}
Exception in thread "main" org.apache.shardingsphere.elasticjob.infra.env.HostException: ip is null
at org.apache.shardingsphere.elasticjob.infra.env.IpUtils.getIp(IpUtils.java:70)
at org.apache.shardingsphere.elasticjob.infra.handler.sharding.JobInstance.<init>(JobInstance.java:44)
at org.apache.shardingsphere.elasticjob.lite.internal.schedule.JobScheduler.registerStartUpInfo(JobScheduler.java:176)
at org.apache.shardingsphere.elasticjob.lite.internal.schedule.JobScheduler.createJobScheduleController(JobScheduler.java:140)
at org.apache.shardingsphere.elasticjob.lite.internal.schedule.JobScheduler.<init>(JobScheduler.java:104)
at org.apache.shardingsphere.elasticjob.lite.api.bootstrap.impl.ScheduleJobBootstrap.<init>(ScheduleJobBootstrap.java:40)
at com.ibm.cloud.security.job.Main.main(Main.java:18)
15:16:37.261 [main-SendThread(127.0.0.1:2181)] DEBUG org.apache.zookeeper.ClientCnxn - Got ping response for session id: 0x100002f22d70008 after 5ms.
```
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org