Here is the original JIRA for the constraint work: https://issues.apache.org/jira/browse/HBASE-4999
Its a common DB feature, but not sure if folks actually use it in HBase. ------------------- Jesse Yates @jesse_yates jesseyates.com <http://jyates.github.com/> On Fri, Jun 5, 2020 at 4:06 AM 张铎(Duo Zhang) <[email protected]> wrote: > When removing HTableDescriptor on master branch, I found that it has been > referenced by org.apache.hadoop.hbase.constraint package. > > The problem here is that, the API design is to pass in an HTableDescriptor > and modify it directly, but now, TableDescriptor is immutable, so we need > to redesign the API. > > But the problem is that, all the classes are marked as IA.Private, and the > only references to these classes are in the test code. And I can not find > any useful information through the git log, the earliest one is > > commit 390f32d79fd0c0464fcab008150ad182f4c0abef > Author: Michael Stack <[email protected]> > Date: Sat May 26 05:56:04 2012 +0000 > > HBASE-4336 Convert source tree into maven modules > > git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1342856 > 13f79535-47bb-0310-9956-ffa450edef68 > <https://svn.apache.org/repos/asf/hbase/trunk@134285613f79535-47bb-0310-9956-ffa450edef68> > > Does anyone still use this feature? Or does anyone have some background on > how this feature works? > > Thanks. >
