Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-7529

Improved error handling in StorageProviderNamespaceAdmin

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.1, 3.5.0
    • Fix Version/s: 3.5.2
    • Component/s: Namespaces
    • Labels:
      None
    • Release Notes:
      Improved error handling upon failures in namespace creation.
    • Rank:
      1|hzznrj:

      Description

      In AbstractStorageProviderNamespaceAdmin, if explore namespace creation fails, we delete the hdfs directory created for the namespace. If this hdfs directory cleanup fails, it throws an exception and the original exception from explore is lost.
      Similar issue is there for DistributedStorageProviderNamespaceAdmin, upon failure to create HBase namespace.

      PR to not lose the original exception:
      https://github.com/caskdata/cdap/pull/7002

        Attachments

          Activity

            People

            • Assignee:
              ali.anwar Ali Anwar
              Reporter:
              ali.anwar Ali Anwar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: