Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-4759

Atlas Python client suppresses 503 error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 3.0.0, 2.4.0
    • atlas-intg
    • None

    Description

      Currently if Python client for Apache Atlas gets HTTP 503 error code, it always returns None:
      https://github.com/apache/atlas/blob/b19fba2ad96e3007af79d646ba17b6bd783d9156/intg/src/main/python/apache_atlas/client/base_client.py#L113-L116

      So if someone writes data to Atlas (e.g. update entity properties, save lineage info), there is no distinction if None is returned because it is supposed to do (e.g. 204 No content) or Atlas is not available.

      It is recommended to raise exception here.

      Attachments

        Activity

          People

            dolfinus Maxim Martynov
            dolfinus Maxim Martynov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m