AshinGau opened a new pull request, #34797: URL: https://github.com/apache/doris/pull/34797
## Proposed changes Prevent core dump if read position delete file failed: ``` hdfsOpenFile(/usr/hive/warehouse/hadoop_catalog/multi_catalog/iceberg_position_gen_data/data/00000-17-9c155cb4-dc13-459a-92ff-bbc959cd29cb-00001.orc): FileSystem#open((Lorg/apache/hadoop/fs/Path;I)Lorg/apache/hadoop/fs/FSDataInputStream;) error: NoRouteToHostException: No route to hostjava.net.NoRouteToHostException: No Route to Host from VM-0-105-ubuntu/127.0.1.1 to 172.21.16.47:4007 failed on socket timeout exception: java.net.NoRouteToHostException: No route to host; For more details see: http://wiki.apache.org/hadoop/NoRouteToHost at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) 5# doris::vectorized::OrcReader::set_fill_columns(std::unordered_map, std::allocator >, std::tuple, std::allocator >, doris::SlotDescriptor const*>, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::tuple, std::allocator >, doris::SlotDescriptor const*> > > > const&, std::unordered_map, std::allocator >, std::shared_ptr, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr > > > const&) at /home/zcp/repo_center/doris_branch-2.1/doris/be/src/vec/exec/format/orc/vorc_reader.cpp:857 6# doris::vectorized::IcebergOrcReader::_read_position_delete_file(doris::TFileRangeDesc const*, phmap::parallel_flat_hash_map, std::allocator >, std::unique_ptr >, std::default_delete > > >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::unique_ptr >, std::default_delete > > > > >, 8ul, std::mutex>*) at /home/zcp/repo_center/doris_branch-2.1/doris/be/src/vec/exec/format/table/iceberg_reader.cpp:629 7# doris::vectorized::IcebergTableReader::_position_delete_base(std::vector > const&)::$_0::operator()[abi:cxx11]() const at /home/zcp/repo_center/doris_branch-2.1/doris/be/src/vec/exec/format/table/iceberg_reader.cpp:301 ``` Should return the error status if initialize the position file reader failed, and never ## Further comments If this is a relatively large or complex change, kick off the discussion at [[email protected]](mailto:[email protected]) by explaining why you chose the solution you did and what alternatives you considered, etc... -- 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]
