JPPF, java, parallel computing, distributed computing, grid computing, parallel, distributed, cluster, grid, cloud, open source, android, .net
JPPF

The open source
grid computing
solution

 Home   About   Features   Download   Documentation   On Github   Forums 
October 18, 2021, 07:16:04 AM *
Welcome,
Please login or register.

Login with username, password and session length
Advanced search  
News: New users, please read this message. Thank you!
  Home Help Search Login Register  
Pages: [1]   Go Down

Author Topic: Getting the JPPF to work in kubernetes  (Read 33 times)

vasanthsubramanian

  • JPPF Padawan
  • *
  • Posts: 2
Getting the JPPF to work in kubernetes
« on: September 18, 2021, 03:32:32 AM »

Hi
I am trying to run JPPF in kubernetes in minikube but the client does not connect to driver.
Deployed the driver and node pods.  Nodes are connected to the driver, as per logs
Deployed a client project, containing TemplateApplicationRunner, TemplateJPPFTask and the jppf.properties, node and driver properties file
The client runs and submits a job and never finishes and seems to not able to send a message or connect to the driver. There is no log
for the results
The driver and node logs show no sign of call from the client
 
The node and driver properties are copied from the project without any change

JPPF configuration
============
jppf.discovery.enabled = true
jppf.discovery.acceptMultipleInterfaces = false
jppf.pool.size = 4

# manual connection configuration when discovery is disabled

jppf.drivers = driver1
driver1.jppf.priority = 0
driver1.jppf.pool.size = 4
driver1.jppf.server.host = 192.168.99.104. //minikube ip address
driver1.jppf.server.port = 11111
driver1.jppf.management.port = 11198


Here is the log in the client
=================
14:49:49.071 [main] DEBUG org.jppf.client.JPPFClient - submitting job JPPFJob[name=Template blocking job for KDP4, uuid=CF7B1704-48B2-4A15-8167-E9CF6C5EA640, blocking=true, nbTasks=1, nbResults=0, hasGraph=false]
14:49:49.071 [main] DEBUG org.jppf.client.balancer.JobManagerClient - submitting job JPPFJob[name=Template blocking job for KDP4, uuid=CF7B1704-48B2-4A15-8167-E9CF6C5EA640, blocking=true, nbTasks=1, nbResults=0, hasGraph=false]
14:49:49.076 [DriverDiscovery-0001-0001] DEBUG org.jppf.client.ClientConfigDriverDiscovery - initializing connections from discovery with priority = 0 and acceptMultipleInterfaces = false
14:49:49.078 [main] DEBUG org.jppf.client.balancer.AbstractClientJob - creating ClientJob #1
14:49:49.079 [main] DEBUG org.jppf.client.AbstractJPPFJob - job [CF7B1704-48B2-4A15-8167-E9CF6C5EA640] status changing from 'SUBMITTED' to 'PENDING'
14:49:49.079 [main] DEBUG org.jppf.client.AbstractJPPFJob - job [CF7B1704-48B2-4A15-8167-E9CF6C5EA640] fire status changed event for 'PENDING'
14:49:49.080 [main] DEBUG org.jppf.client.balancer.queue.JPPFPriorityQueue - adding bundle with ClientJob[uuid=CF7B1704-48B2-4A15-8167-E9CF6C5EA640, jobName=Template blocking job for KDP4, jobStatus=PENDING, broadcastUUID=null, nbTasks=1, taskGraph=null]
14:49:49.081 [main] DEBUG org.jppf.client.balancer.queue.JPPFPriorityQueue - Maps size information: priorityMap[shallow size=1, total elements=1]
14:49:49.083 [DriverDiscovery-0001-0001] DEBUG org.jppf.client.ClientConfigDriverDiscovery - looking for peers in the configuration
14:49:49.083 [DriverDiscovery-0001-0001] DEBUG org.jppf.client.ClientConfigDriverDiscovery - list of drivers: [driver1]
14:49:49.083 [DriverDiscovery-0001-0001] DEBUG org.jppf.client.ClientConfigDriverDiscovery - initPeers = false
14:49:49.088 [ReceiverThread] DEBUG org.jppf.utils.NetworkUtils - found network interface: name:eth0 (eth0)
14:49:49.088 [ReceiverThread] DEBUG org.jppf.utils.NetworkUtils - found network interface: name:lo (lo)
14:49:49.088 [ReceiverThread] DEBUG org.jppf.utils.NetworkUtils - found network interface: name:eth0 (eth0)
14:49:49.088 [ReceiverThread] DEBUG org.jppf.utils.NetworkUtils - found network interface: name:lo (lo)
14:49:49.089 [ReceiverThread] DEBUG org.jppf.comm.discovery.JPPFMulticastReceiver - Found 1 address: 172.17.0.3
Logs from Sep 20, 2021 to Sep 20, 2021 UTC

« Last Edit: September 20, 2021, 04:53:01 PM by vasanthsubramanian »
Logged
Pages: [1]   Go Up
 
JPPF Powered by SMF 2.0 RC5 | SMF © 2006–2011, Simple Machines LLC Get JPPF at SourceForge.net. Fast, secure and Free Open Source software downloads