Revert "HBASE-14147 REST Support for Namespaces (Matt Warhaftig); DOES NOT COMPILE"

This reverts commit fa730f89c3.
This commit is contained in:
stack 2015-09-09 06:52:08 -07:00
parent fa730f89c3
commit 27d3ab43ef
4 changed files with 0 additions and 39 deletions

View File

@ -366,8 +366,6 @@
<include>CellMessage.proto</include> <include>CellMessage.proto</include>
<include>CellSetMessage.proto</include> <include>CellSetMessage.proto</include>
<include>ColumnSchemaMessage.proto</include> <include>ColumnSchemaMessage.proto</include>
<include>NamespacesMessage.proto</include>
<include>NamespacePropertiesMessage.proto</include>
<include>ScannerMessage.proto</include> <include>ScannerMessage.proto</include>
<include>StorageClusterStatusMessage.proto</include> <include>StorageClusterStatusMessage.proto</include>
<include>TableInfoMessage.proto</include> <include>TableInfoMessage.proto</include>

View File

@ -103,9 +103,4 @@ public class RootResource extends ResourceBase {
final @PathParam("table") String table) throws IOException { final @PathParam("table") String table) throws IOException {
return new TableResource(table); return new TableResource(table);
} }
@Path("namespaces")
public NamespacesResource getNamespaceResource() throws IOException {
return new NamespacesResource();
}
} }

View File

@ -31,8 +31,6 @@ import org.apache.hadoop.hbase.classification.InterfaceAudience;
import org.apache.hadoop.hbase.rest.model.CellModel; import org.apache.hadoop.hbase.rest.model.CellModel;
import org.apache.hadoop.hbase.rest.model.CellSetModel; import org.apache.hadoop.hbase.rest.model.CellSetModel;
import org.apache.hadoop.hbase.rest.model.ColumnSchemaModel; import org.apache.hadoop.hbase.rest.model.ColumnSchemaModel;
import org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel;
import org.apache.hadoop.hbase.rest.model.NamespacesModel;
import org.apache.hadoop.hbase.rest.model.RowModel; import org.apache.hadoop.hbase.rest.model.RowModel;
import org.apache.hadoop.hbase.rest.model.ScannerModel; import org.apache.hadoop.hbase.rest.model.ScannerModel;
import org.apache.hadoop.hbase.rest.model.StorageClusterStatusModel; import org.apache.hadoop.hbase.rest.model.StorageClusterStatusModel;
@ -65,8 +63,6 @@ public class JAXBContextResolver implements ContextResolver<JAXBContext> {
CellModel.class, CellModel.class,
CellSetModel.class, CellSetModel.class,
ColumnSchemaModel.class, ColumnSchemaModel.class,
NamespacesModel.class,
NamespacesInstanceModel.class,
RowModel.class, RowModel.class,
ScannerModel.class, ScannerModel.class,
StorageClusterStatusModel.class, StorageClusterStatusModel.class,

View File

@ -178,32 +178,4 @@
<attribute name="currentCompactedKVs" type="int"></attribute> <attribute name="currentCompactedKVs" type="int"></attribute>
</complexType> </complexType>
<element name="Namespaces" type="tns:Namespaces"></element>
<complexType name="Namespaces">
<sequence>
<element name="Namespace" type="string"
maxOccurs="unbounded" minOccurs="0">
</element>
</sequence>
</complexType>
<complexType name="NamespaceProperties">
<sequence>
<element name="properties">
<complexType>
<sequence>
<element name="entry" maxOccurs="unbounded" minOccurs="0">
<complexType>
<sequence>
<element type="string" name="key" />
<element type="string" name="value" />
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</schema> </schema>