Skip to:
The UpgradeTool fails with exception like this if default namespace doesn't exist:
Looking to upgrade to 4.1 very soon.This needs to be fixed.
Avoid depending on default namespace in UpgradeTool:against release/3.5 for 3.5.4: https://github.com/caskdata/cdap/pull/7870release/4.0: https://github.com/caskdata/cdap/pull/7924Changes were brought into release/4.1 by a merge from release/4.0: https://github.com/caskdata/cdap/pull/7938
Ideally the `NamespaceId.DEFAULT` should only be used in the `DefaultNamespaceEnsurer` and unit tests.
As part of this effort we should also scan all usages of NamespaceId.DEFAULT to evaluate if it is really required or not.
NamespaceId.DEFAULT
The UpgradeTool fails with exception like this if default namespace doesn't exist: