Haymant Mangla created HIVE-25602:
-------------------------------------
Summary: Fix failover metadata file path in repl load execution.
Key: HIVE-25602
URL: https://issues.apache.org/jira/browse/HIVE-25602
Project: Hive
Issue Type: Improvement
Reporter: Haymant Mangla
Assignee: Haymant Mangla
When executed through scheduled queries, repl load fails with following error:
{code:java}
Reading failover metadata from file:
2021-10-08 02:02:51,824 ERROR org.apache.hadoop.hive.ql.Driver: [Scheduled
Query Executor(schedule:repl_load_p1, execution_id:43)]: FAILED:
SemanticException java.io.FileNotFoundException: File does not exist:
/user/hive/repl/c291cmNl/36d04dfd-ee5d-4faf-bc0a-ae8d665f95f9/_failovermetadata
at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:87)
at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:77)
at
org.apache.hadoop.hdfs.server.namenode.FSDirStatAndListingOp.getBlockLocations(FSDirStatAndListingOp.java:159)
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:2035)
at
org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getBlockLocations(NameNodeRpcServer.java:737)
at
org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getBlockLocations(ClientNamenodeProtocolServerSideTranslatorPB.java:454)
at
org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
at
org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:533)
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)