Skip to content

[Chore](status) Disable stack trace printing for NotFound error status #40470#40592

Merged
airborne12 merged 1 commit intoapache:branch-3.0from
airborne12:pick_40470_to_origin_branch-3.0
Sep 10, 2024
Merged

[Chore](status) Disable stack trace printing for NotFound error status #40470#40592
airborne12 merged 1 commit intoapache:branch-3.0from
airborne12:pick_40470_to_origin_branch-3.0

Conversation

@airborne12
Copy link
Member

cherry pick from #40470

apache#40470)

## Proposed changes

Fix annoying error log message like this
```
meet error status: [NOT_FOUND]

        0#  doris::io::S3ObjStorageClient::head_object(doris::io::ObjectStoragePathOptions const&) at /root/doris/be/src/common/status.h:0
        1#  doris::io::S3FileSystem::exists_impl(std::filesystem::__cxx11::path const&, bool*) const at /root/doris/be/src/io/fs/s3_file_system.cpp:264
        2#  doris::io::FileSystem::exists(std::filesystem::__cxx11::path const&, bool*) const at /root/doris/be/src/common/status.h:387
        3#  doris::segment_v2::DorisFSDirectory::createOutput(char const*) at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/fs_path.h:310
        4#  doris::segment_v2::InvertedIndexFileWriter::write_v2() at /root/doris/be/src/olap/rowset/segment_v2/inverted_index_file_writer.cpp:0
        5#  doris::segment_v2::InvertedIndexFileWriter::close() at /root/doris/be/src/olap/rowset/segment_v2/inverted_index_file_writer.cpp:140
        6#  doris::segment_v2::VerticalSegmentWriter::_write_inverted_index() at /root/doris/be/src/olap/rowset/segment_v2/vertical_segment_writer.cpp:0
        7#  doris::segment_v2::VerticalSegmentWriter::finalize_columns_index(unsigned long*) at /root/doris/be/src/olap/rowset/segment_v2/vertical_segment_writer.cpp:0
        8#  doris::segment_v2::VerticalSegmentWriter::finalize(unsigned long*, unsigned long*) at /root/doris/be/src/olap/rowset/segment_v2/vertical_segment_writer.cpp:1047
```
@airborne12
Copy link
Member Author

run buildall

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@airborne12 airborne12 merged commit 042fa16 into apache:branch-3.0 Sep 10, 2024
@airborne12 airborne12 deleted the pick_40470_to_origin_branch-3.0 branch September 10, 2024 06:23
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants