amanraj2520 commented on PR #3941: URL: https://github.com/apache/hive/pull/3941#issuecomment-1381518433
Hi @abstractdog Actually this error does not come up in a test until we manually bring up a cluster with Hive master and Hadoop 3.3.4. This error did not happen with hadoop 3.1.1 since at that time Hadoop was using Jackson 2.7.8 for deserializing this placement_policy yarnfile. Jackson 3.7.8 was able to deserialize it from "NODE" to "node" since it was case insensitive. Thus is found the [node] enum in the Hadoop PlacementScope class which in turn brought up the AM successfully. But Jackson 2.12.7 (Hadoop 3.3.4) is doing case sensitive parsing thereby not finding the relevant enum. Either we have to disable this configuration from jackson side 2.3/com/fasterxml/jackson/databind/MapperFeature.html#ACCEPT_CASE_INSENSITIVE_ENUMS or from Hive side we will have to send "node" as the placement policy. We can discuss on this Lazlo if you have doubts. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
