Create/manage queues within namespaces

Description

Currently, queues are identified by app + flow + flowlet.

Table names in Hbase:
cdap.system.queue.PurchaseHistory.PurchaseFlow

However, with namespaces, we could have the same app deployed in multiple namespaces, in which case this could be a problem.

The issue surfaced while adding namespaces to metrics, but this could be a much bigger problem.

Trying to investigate what it takes to add namespace to queues, but unsure at this point if this would be a risky fix for 2.7.0.

As part of this fix, we should also add the DELETE /v3/namespaces/<namespace-id>/queues API in AppFabric.

Release Notes

None
100% Done
Loading...

Activity

Show:

Ali Anwar March 9, 2015 at 5:50 PM

Bhooshan Mogal February 23, 2015 at 7:06 PM

Assigning to since he is working on the pending tasks. Please close this after PRs are merged.

Bhooshan Mogal January 17, 2015 at 3:38 AM
Edited

Terence Yim January 16, 2015 at 9:01 PM

So we just need to prefix the table with the namespaceId if it is not "default"? Something like:

For default namespace, just keep the way it is now to be backward compatible.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Components

Sprint

Fix versions

Due date

Priority

Created January 16, 2015 at 7:33 PM
Updated March 27, 2015 at 7:31 PM
Resolved March 9, 2015 at 5:50 PM