Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8707 Implement an async pure c++ HDFS client
  3. HDFS-9699

libhdfs++: Add appropriate catch blocks for ASIO operations that throw

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • hdfs-client
    • None

    Description

      libhdfs++ doesn't create exceptions of its own but it should be able to gracefully handle exceptions thrown by libraries it uses, particularly asio.

      libhdfs++ should be able to catch most exceptions within reason either at the call site or in the code that spins up asio worker threads. Certain system exceptions like std::bad_alloc don't need to be caught because by that point the process is likely in a unrecoverable state.

      Attachments

        1. cancel_backtrace.txt
          9 kB
          James Clampffer
        2. HDFS-6966.HDFS-8707.000.patch
          15 kB
          Bob Hansen
        3. HDFS-9699.HDFS-8707.001.patch
          15 kB
          Bob Hansen
        4. HDFS-9699.HDFS-8707.002.patch
          16 kB
          Bob Hansen

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            bobthansen Bob Hansen Assign to me
            James Clampffer James Clampffer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment