TeslaCN commented on issue #1714:
URL:
https://github.com/apache/shardingsphere-elasticjob/issues/1714#issuecomment-725953894
Have you install mesos library into library path? such as
`/usr/local/lib:/usr/lib:/usr/lib64`
For instance, my mesos lib is under `/usr/local/lib/libmesos.so`, and I run
cloud scheduler with `-Djava.library.path=/usr/local/lib`.
logs:
```
[INFO ] 2020-11-12 17:19:29,649 --Curator-LeaderSelector-0--
[org.apache.shardingsphere.elasticjob.reg.zookeeper.ZookeeperElectionService]
Elastic job: 127.0.0.1:8899 has leadership
[INFO ] 2020-11-12 17:19:30,339 --Curator-LeaderSelector-0--
[org.apache.shardingsphere.elasticjob.cloud.scheduler.mesos.FacadeService]
Elastic Job: Start facade service
[INFO ] 2020-11-12 17:19:30,341 --Curator-LeaderSelector-0--
[org.apache.shardingsphere.elasticjob.cloud.scheduler.producer.ProducerManager]
Start producer manager
[INFO ] 2020-11-12 17:19:30,370 --Curator-LeaderSelector-0--
[org.quartz.impl.StdSchedulerFactory] Using default implementation for
ThreadExecutor
[INFO ] 2020-11-12 17:19:30,386 --Curator-LeaderSelector-0--
[org.quartz.core.SchedulerSignalerImpl] Initialized Scheduler Signaller of
type: class org.quartz.core.SchedulerSignalerImpl
[INFO ] 2020-11-12 17:19:30,386 --Curator-LeaderSelector-0--
[org.quartz.core.QuartzScheduler] Quartz Scheduler v.2.3.2 created.
[INFO ] 2020-11-12 17:19:30,386 --Curator-LeaderSelector-0--
[org.quartz.plugins.management.ShutdownHookPlugin] Registering Quartz shutdown
hook.
[INFO ] 2020-11-12 17:19:30,387 --Curator-LeaderSelector-0--
[org.quartz.simpl.RAMJobStore] RAMJobStore initialized.
[INFO ] 2020-11-12 17:19:30,387 --Curator-LeaderSelector-0--
[org.quartz.core.QuartzScheduler] Scheduler meta-data: Quartz Scheduler
(v2.3.2) 'ELASTIC_JOB_CLOUD_TRANSIENT_PRODUCER' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 24 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support
persistence. and is not clustered.
[INFO ] 2020-11-12 17:19:30,387 --Curator-LeaderSelector-0--
[org.quartz.impl.StdSchedulerFactory] Quartz scheduler
'ELASTIC_JOB_CLOUD_TRANSIENT_PRODUCER' initialized from an externally provided
properties instance.
[INFO ] 2020-11-12 17:19:30,388 --Curator-LeaderSelector-0--
[org.quartz.impl.StdSchedulerFactory] Quartz scheduler version: 2.3.2
[INFO ] 2020-11-12 17:19:30,388 --Curator-LeaderSelector-0--
[org.quartz.core.QuartzScheduler] Scheduler
ELASTIC_JOB_CLOUD_TRANSIENT_PRODUCER_$_NON_CLUSTERED started.
[INFO ] 2020-11-12 17:19:30,413 --task-launch-processor STARTING--
[org.apache.shardingsphere.elasticjob.cloud.scheduler.mesos.TaskLaunchScheduledService]
Elastic Job: Start task-launch-processor
[INFO ] 2020-11-12 17:19:30,585 --nioEventLoopGroup-2-1--
[org.apache.shardingsphere.elasticjob.restful.NettyRestfulService] Restful
Service started on port 8899.
2020-11-12 17:19:30,586:536475(0x7f05766be700):ZOO_INFO@log_env@753: Client
environment:zookeeper.version=zookeeper C client 3.4.8
2020-11-12 17:19:30,586:536475(0x7f05766be700):ZOO_INFO@log_env@757: Client
environment:host.name=wwj
2020-11-12 17:19:30,586:536475(0x7f05766be700):ZOO_INFO@log_env@764: Client
environment:os.name=Linux
2020-11-12 17:19:30,586:536475(0x7f05766be700):ZOO_INFO@log_env@765: Client
environment:os.arch=5.4.0-52-generic
2020-11-12 17:19:30,586:536475(0x7f05766be700):ZOO_INFO@log_env@766: Client
environment:os.version=#57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020
2020-11-12 17:19:30,586:536475(0x7f05766be700):ZOO_INFO@log_env@774: Client
environment:user.name=wuweijie
2020-11-12 17:19:30,586:536475(0x7f05766be700):ZOO_INFO@log_env@782: Client
environment:user.home=/home/wuweijie
2020-11-12 17:19:30,586:536475(0x7f05766be700):ZOO_INFO@log_env@794: Client
environment:user.dir=/home/wuweijie/IdeaProjects/shardingsphere-elasticjob
2020-11-12 17:19:30,586:536475(0x7f05766be700):ZOO_INFO@zookeeper_init@818:
Initiating client connection, host=127.0.0.1:2181 sessionTimeout=10000
watcher=0x7f050f73ae65 sessionId=0 sessionPasswd=<null> context=0x7f044c000d78
flags=0
2020-11-12 17:19:30,587:536475(0x7f05010c2700):ZOO_INFO@check_events@1763:
initiated connection to server [127.0.0.1:2181]
I1112 17:19:30.588145 536538 sched.cpp:239] Version: 1.10.0
2020-11-12 17:19:30,592:536475(0x7f05010c2700):ZOO_INFO@check_events@1809:
session establishment complete on server [127.0.0.1:2181],
sessionId=0x100053554190004, negotiated timeout=10000
I1112 17:19:30.594702 536548 group.cpp:341] Group process
(zookeeper-group(1)@127.0.1.1:42997) connected to ZooKeeper
I1112 17:19:30.594847 536548 group.cpp:831] Syncing group operations: queue
size (joins, cancels, datas) = (0, 0, 0)
I1112 17:19:30.594884 536548 group.cpp:419] Trying to create path '/mesos'
in ZooKeeper
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]