"java.net.NoRouteToHostException: No route to host (Host unreachable)" when connecting to Hive metastore from Spark #329
-
When I try to connect to hive metastore from spark 3.5.0 operator, I get this exception: It worked previously in Spark 3.4.0. Do you know why this could be? And what is the easiest way to check connectivity from your spark pods to hive metastore pods? Thanks! More info: Stackable version of hive metastore is 23.7.0 Could this be the problem? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
I've had a look at the list of breaking changes in the last release and there are none that relate to Hive resource definitions per se. The intention with SDP releases is to issue operators in a version that have been tested and verified to work together, so mixing the operator release versions is not recommended. Without having any more information it looks as though this is network related. Can you provide the hive metastore resource definition? |
Beta Was this translation helpful? Give feedback.
Hi @paulpaul1076 ,
the NoRouteToHostException basically states that the client (spark) cannot connect to the server (hive). This maybe caused by several things.
Could you please check:
and provide the full hive and spark cluster yaml (remove / redact secrets, s3 access/secret keys etc.)
What hive version are you running? What is your kubernetes / openshift cluster version?