Hi Everyone I am facing an issue and not able to ...
# troubleshooting
n
Hi Everyone I am facing an issue and not able to figure out why is this happening. Please help me out with it. It is kind of urgent.
Copy code
2025/02/13 05:35:51.062 ERROR [MultiStageBrokerRequestHandler] [jersey-server-managed-async-executor-0] Caught exception executing request 2084905552000000000: --set maxRowsInJoin=1000000;
select * from cust_loan_apps_9630 t1 join gonogoCustomer_9630 t2 on t1.s_application_id=t2.s_application_id
--select * from cust_loan_apps_9630, Received error query execution result block: {250=ExecutionTimeoutError
ProcessingException(errorCode:250, message:ExecutionTimeoutError)
        at org.apache.pinot.common.exception.QueryException.clinit(QueryException.java:113)        at org.apache.pinot.common.datablock.DataBlockUtils.extractErrorMsg(DataBlockUtils.java:58)
        at org.apache.pinot.common.datablock.DataBlockUtils.getErrorDataBlock(DataBlockUtils.java:50)
        at org.apache.pinot.query.runtime.blocks.TransferableBlockUtils.getErrorTransferableBlock(TransferableBlockUtils.java:47)}org.apache.pinot.query.service.dispatch.QueryDispatcher.getResultTable(QueryDispatcher.java:268)
org.apache.pinot.query.service.dispatch.QueryDispatcher.runReducer(QueryDispatcher.java:207)org.apache.pinot.query.service.dispatch.QueryDispatcher.submitAndReduce(QueryDispatcher.java:96)
org.apache.pinot.broker.requesthandler.MultiStageBrokerRequestHandler.handleRequest(MultiStageBrokerRequestHandler.java:179)
Any query with multi-stage is not working. Without multi-stage, every query is working as expected. Here are my controller, broker and server configs. Controller.conf
Copy code
pinot.service.role=CONTROLLER

# Pinot Cluster name
pinot.cluster.name=MT-MC-PROD

# Use hostname as Pinot Instance ID other than IP
pinot.set.instance.id.to.hostname=true

# Pinot Controller VIP Port
controller.vip.port=9000


controller.data.dir=s3:/test/controller-data
controller.local.temp.dir=/data/pinot/controller-data/pinot-tmp-data/
controller.zk.str=localhost:2181

controller.port=9000
controller.helix.cluster.name=Pinot
pinot.controller.storage.factory.class.s3=org.apache.pinot.plugin.filesystem.S3PinotFS
pinot.controller.storage.factory.s3.region=ap-south-1

pinot.controller.segment.fetcher.protocols=file,http,s3
pinot.controller.segment.fetcher.s3.class=org.apache.pinot.common.utils.fetcher.PinotFSSegmentFetcher
pinot.controller.storage.factory.s3.disableAcl=false

controller.task.scheduler.enabled=true

controller.disable.ingestion.groovy=false
Server.conf
Copy code
# Pinot Role
pinot.service.role=SERVER

# Pinot Cluster name
pinot.cluster.name=Pinot

# Pinot Zookeeper Server
#Uncommented
pinot.zk.server=localhost:2181

# Use hostname as Pinot Instance ID other than IP
pinot.set.instance.id.to.hostname=true

pinot.server.netty.port=8098
pinot.server.adminapi.port=8097
pinot.server.instance.dataDir=/data/pinot/server-data/server/index
pinot.server.instance.segmentTarDir=/data/pinot/server-data/server/segmentTars

pinot.query.server.port=8421
pinot.query.runner.port=8442

pinot.server.storage.factory.class.s3=org.apache.pinot.plugin.filesystem.S3PinotFS
pinot.server.storage.factory.s3.region=ap-south-1
#hdfs added recently
#pinot.server.storage.factory.class.hdfs=org.apache.pinot.plugin.filesystem.HadoopPinotFS
pinot.server.segment.fetcher.protocols=file,http,s3
pinot.server.segment.fetcher.s3.class=org.apache.pinot.common.utils.fetcher.PinotFSSegmentFetcher
pinot.controller.storage.factory.s3.disableAcl=false

pinot.server.instance.reload.consumingSegment=true
Broker.conf
Copy code
# Pinot Role
pinot.service.role=BROKER

# Pinot Cluster name
pinot.cluster.name=Pinot
# Pinot Zookeeper Server
pinot.zk.server=localhost:2181

# Use hostname as Pinot Instance ID other than IP
pinot.set.instance.id.to.hostname=true

# Pinot Broker Query Port
pinot.broker.client.queryPort=8099

# Pinot Routing table builder class
pinot.broker.routing.table.builder.class=random

pinot.query.server.port= 8422
y
Hey Naman, are you seeing this
ExecutionTimeoutError
even for simple queries (without joins) using the multi-stage engine?
n
Yes. Any query using multi-stage engine is giving ExecutionTimeoutError
y
Did you check the server logs? Any relevant interesting errors there?
n
I am not seeing any error in Server logs. Getting error in only broker logs and those I have mentioned in the initial message
y
Could be an issue with the gRPC connection used by the multi-stage engine between the brokers and servers. Are there no other errors in the broker logs? How is your Pinot cluster deployed? Is this a fresh deployment or were these queries running fine earlier? Which version of Pinot are you running?
n
There are no other errors in Broker logs The Pinot cluster is deployed through the binary. We are not using any kind of containers This is a fresh deployment. I am using Pinot v1.0
Got it resolved. Seems like a port opening issue.