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

    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. HDFS-9699.HDFS-8707.002.patch
          16 kB
          Bob Hansen
        2. HDFS-9699.HDFS-8707.001.patch
          15 kB
          Bob Hansen
        3. HDFS-6966.HDFS-8707.000.patch
          15 kB
          Bob Hansen
        4. cancel_backtrace.txt
          9 kB
          James Clampffer

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: