Slackbot
02/02/2023, 10:47 PMJason Witkowski
02/02/2023, 10:48 PMSergio Ferragut
02/02/2023, 10:52 PMdruid-kubernetes-extension expert. Can you help?Jason Witkowski
02/02/2023, 10:59 PMapache/druid repo. It seems the error comes from there being no existing annotations on the statefulset pods. I added druid: true to the annotations and I was able to move to the next error. The next error seems to be the same in nature though:
2023-02-02T22:56:47,927 INFO [main] org.apache.druid.k8s.discovery.K8sDruidNodeAnnouncer - Json Patch For Node Announcement: [[{"op":"add","path":"/metadata/labels/druidDiscoveryAnnouncement-historical","value":"true"},{"op":"add","path":"/metadata/labels/druidDiscoveryAnnouncement-id-hash","value":"1962150723"},{"op":"add","path":"/metadata/labels/druidDiscoveryAnnouncement-cluster-identifier","value":"druid1"},{"op":"add","path":"/metadata/annotations/druidNodeInfo-historical","value":"{\"druidNode\":{\"service\":\"druid/historical\",\"host\":\"10.233.87.196\",\"bindOnHost\":false,\"plaintextPort\":8083,\"port\":-1,\"tlsPort\":-1,\"enablePlaintextPort\":true,\"enableTlsPort\":false},\"nodeType\":\"historical\",\"services\":{\"dataNodeService\":{\"type\":\"dataNodeService\",\"tier\":\"_default_tier\",\"maxSize\":10737418240,\"type\":\"historical\",\"serverType\":\"historical\",\"priority\":0},\"lookupNodeService\":{\"type\":\"lookupNodeService\",\"lookupTier\":\"__default\"}}}"}]]
2023-02-02T22:56:47,960 INFO [main] org.apache.druid.k8s.discovery.K8sDruidNodeAnnouncer - Announced DiscoveryDruidNode[DiscoveryDruidNode{druidNode=DruidNode{serviceName='druid/historical', host='10.233.87.196', bindOnHost=false, port=-1, plaintextPort=8083, enablePlaintextPort=true, tlsPort=-1, enableTlsPort=false}, nodeRole='HISTORICAL', services={dataNodeService=DataNodeService{tier='_default_tier', maxSize=10737418240, serverType=historical, priority=0}, lookupNodeService=LookupNodeService{lookupTier='__default'}}}]
2023-02-02T22:56:47,960 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle - Successfully started lifecycle [module]
2023-02-02T22:56:48,064 INFO [qtp138617961-59] org.apache.druid.server.coordination.SegmentLoadDropHandler - Starting...
2023-02-02T22:56:48,066 WARN [qtp138617961-59] org.apache.druid.guice.LifecycleScope - Caught exception when trying to create a[Key[type=org.apache.druid.server.coordination.SegmentLoadDropHandler, annotation=[none]]]
java.lang.reflect.InvocationTargetException: nullJason Witkowski
02/02/2023, 11:01 PMCaused by: org.apache.druid.java.util.common.IOE: Cannot create directory [/var/druid/segment-cache/info_dir]Jason Witkowski
02/02/2023, 11:04 PMJason Witkowski
02/02/2023, 11:04 PM/opt/druid/var/druid/ is what is mounted for the statefulset... so maybe something in there is more appropriate? unclearJason Witkowski
02/02/2023, 11:07 PMSergio Ferragut
02/02/2023, 11:08 PMJason Witkowski
02/02/2023, 11:09 PMJason Witkowski
02/02/2023, 11:10 PMJason Witkowski
02/02/2023, 11:18 PMSergio Ferragut
02/02/2023, 11:54 PMjason witkowski
02/03/2023, 5:42 AMJason Witkowski
02/06/2023, 4:09 PM