Review Board 1.7.22


ACCUMULO-802 Tablespaces

Review Request #15166 - Created Nov. 1, 2013 and submitted

Christopher Tubbs
ACCUMULO-802
ACCUMULO-802
Reviewers
accumulo
accumulo
ACCUMULO-802 Tablespaces (Table Namespaces), work done by Sean Hickey, https://github.com/Wisellama/accumulo/tree/ACCUMULO-802, rebase'd onto latest master (including 210 commits)

 

Diff revision 1 (Latest)

  1. core/src/main/java/org/apache/accumulo/core/Constants.java: Loading...
  2. core/src/main/java/org/apache/accumulo/core/client/Connector.java: Loading...
  3. core/src/main/java/org/apache/accumulo/core/client/TableNamespaceExistsException.java: Loading...
  4. core/src/main/java/org/apache/accumulo/core/client/TableNamespaceNotEmptyException.java: Loading...
  5. core/src/main/java/org/apache/accumulo/core/client/TableNamespaceNotFoundException.java: Loading...
  6. core/src/main/java/org/apache/accumulo/core/client/admin/SecurityOperations.java: Loading...
  7. core/src/main/java/org/apache/accumulo/core/client/admin/SecurityOperationsImpl.java: Loading...
  8. core/src/main/java/org/apache/accumulo/core/client/admin/TableNamespaceOperations.java: Loading...
  9. core/src/main/java/org/apache/accumulo/core/client/admin/TableNamespaceOperationsHelper.java: Loading...
  10. core/src/main/java/org/apache/accumulo/core/client/admin/TableNamespaceOperationsImpl.java: Loading...
  11. core/src/main/java/org/apache/accumulo/core/client/admin/TableOperationsImpl.java: Loading...
  12. core/src/main/java/org/apache/accumulo/core/client/impl/ConnectorImpl.java: Loading...
  13. core/src/main/java/org/apache/accumulo/core/client/impl/TableNamespaces.java: Loading...
  14. core/src/main/java/org/apache/accumulo/core/client/impl/Tables.java: Loading...
  15. core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ClientService.java: Loading...
  16. core/src/main/java/org/apache/accumulo/core/client/impl/thrift/SecurityErrorCode.java: Loading...
  17. core/src/main/java/org/apache/accumulo/core/client/mock/MockAccumulo.java: Loading...
  18. core/src/main/java/org/apache/accumulo/core/client/mock/MockConnector.java: Loading...
  19. core/src/main/java/org/apache/accumulo/core/client/mock/MockSecurityOperations.java: Loading...
  20. core/src/main/java/org/apache/accumulo/core/client/mock/MockTable.java: Loading...
This diff has been split across 5 pages: 1 2 3 4 5 >
core/src/main/java/org/apache/accumulo/core/Constants.java
Revision 9db0c405c5b9fbac13fa735c3ffd6433e9831051 New Change
[20] 33 lines
[+20] [+] public class Constants {
34
  public static final String ZTABLE_CONF = "/conf";
34
  public static final String ZTABLE_CONF = "/conf";
35
  public static final String ZTABLE_STATE = "/state";
35
  public static final String ZTABLE_STATE = "/state";
36
  public static final String ZTABLE_FLUSH_ID = "/flush-id";
36
  public static final String ZTABLE_FLUSH_ID = "/flush-id";
37
  public static final String ZTABLE_COMPACT_ID = "/compact-id";
37
  public static final String ZTABLE_COMPACT_ID = "/compact-id";
38
  public static final String ZTABLE_COMPACT_CANCEL_ID = "/compact-cancel-id";
38
  public static final String ZTABLE_COMPACT_CANCEL_ID = "/compact-cancel-id";

    
   
39
  public static final String ZTABLE_NAMESPACE = "/namespace";

    
   
40

   

    
   
41
  public static final String ZNAMESPACES = "/namespaces";

    
   
42
  public static final String ZNAMESPACE_NAME = "/name";

    
   
43
  public static final String ZNAMESPACE_CONF = "/conf";
39

    
   
44

   
40
  public static final String ZMASTERS = "/masters";
45
  public static final String ZMASTERS = "/masters";
41
  public static final String ZMASTER_LOCK = ZMASTERS + "/lock";
46
  public static final String ZMASTER_LOCK = ZMASTERS + "/lock";
42
  public static final String ZMASTER_GOAL_STATE = ZMASTERS + "/goal_state";
47
  public static final String ZMASTER_GOAL_STATE = ZMASTERS + "/goal_state";
43
  
48
  
[+20] [20] 50 lines
[+20] public class Constants {
94
  @Deprecated
99
  @Deprecated
95
  public static final Authorizations NO_AUTHS = Authorizations.EMPTY;
100
  public static final Authorizations NO_AUTHS = Authorizations.EMPTY;
96
  
101
  
97
  public static final int MAX_DATA_TO_PRINT = 64;
102
  public static final int MAX_DATA_TO_PRINT = 64;
98
  public static final String CORE_PACKAGE_NAME = "org.apache.accumulo.core";
103
  public static final String CORE_PACKAGE_NAME = "org.apache.accumulo.core";
99
  public static final String VALID_TABLE_NAME_REGEX = "^\\w+$";
104
  public static final String VALID_TABLE_NAME_REGEX = "^(\\w+\\.)?(\\w+)$";

    
   
105
  public static final String VALID_TABLE_NAMESPACE_REGEX = "^\\w+$";
100
  public static final String MAPFILE_EXTENSION = "map";
106
  public static final String MAPFILE_EXTENSION = "map";
101
  public static final String GENERATED_TABLET_DIRECTORY_PREFIX = "t-";
107
  public static final String GENERATED_TABLET_DIRECTORY_PREFIX = "t-";
102
  
108
  
103
  public static final String EXPORT_METADATA_FILE = "metadata.bin";
109
  public static final String EXPORT_METADATA_FILE = "metadata.bin";
104
  public static final String EXPORT_TABLE_CONFIG_FILE = "table_config.txt";
110
  public static final String EXPORT_TABLE_CONFIG_FILE = "table_config.txt";
105
  public static final String EXPORT_FILE = "exportMetadata.zip";
111
  public static final String EXPORT_FILE = "exportMetadata.zip";
106
  public static final String EXPORT_INFO_FILE = "accumulo_export_info.txt";
112
  public static final String EXPORT_INFO_FILE = "accumulo_export_info.txt";
107
  
113
  

    
   
114
  public static final String DEFAULT_TABLE_NAMESPACE = "_default_";

    
   
115
  public static final String SYSTEM_TABLE_NAMESPACE = "_system_";

    
   
116
  public static final String DEFAULT_TABLE_NAMESPACE_ID = "!DEF";

    
   
117
  public static final String SYSTEM_TABLE_NAMESPACE_ID = "!SYS";
108
}
118
}
core/src/main/java/org/apache/accumulo/core/client/Connector.java
Revision bbfa55f4b9ad8fc0e5f0c0058e2e0564685d7c85 New Change
 
core/src/main/java/org/apache/accumulo/core/client/TableNamespaceExistsException.java
New File
 
core/src/main/java/org/apache/accumulo/core/client/TableNamespaceNotEmptyException.java
New File
 
core/src/main/java/org/apache/accumulo/core/client/TableNamespaceNotFoundException.java
New File
 
core/src/main/java/org/apache/accumulo/core/client/admin/SecurityOperations.java
Revision 86a3ff271fc2e085c426da3156cfab9cdbb5c36b New Change
 
core/src/main/java/org/apache/accumulo/core/client/admin/SecurityOperationsImpl.java
Revision 0f0e998f334631cfb342f9a39fdd12e62aa98f13 New Change
 
core/src/main/java/org/apache/accumulo/core/client/admin/TableNamespaceOperations.java
New File
 
core/src/main/java/org/apache/accumulo/core/client/admin/TableNamespaceOperationsHelper.java
New File
 
core/src/main/java/org/apache/accumulo/core/client/admin/TableNamespaceOperationsImpl.java
New File
 
core/src/main/java/org/apache/accumulo/core/client/admin/TableOperationsImpl.java
Revision 1b652f99e23e2dfa06c7373a6f4c3c044f5cd1a3 New Change
 
core/src/main/java/org/apache/accumulo/core/client/impl/ConnectorImpl.java
Revision bd1156912849b13ebad8f6b974fd35d8adf18f1d New Change
 
core/src/main/java/org/apache/accumulo/core/client/impl/TableNamespaces.java
New File
 
core/src/main/java/org/apache/accumulo/core/client/impl/Tables.java
Revision 8bc725a3405a79c20c690bff3f6fdb6f713be523 New Change
 
core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ClientService.java
Revision 488e0654720250542145e0d543ad16813f8d8b6d New Change
 
core/src/main/java/org/apache/accumulo/core/client/impl/thrift/SecurityErrorCode.java
Revision b706ce87bb1e8a525e585b14b7fb8563c3493c2c New Change
 
core/src/main/java/org/apache/accumulo/core/client/mock/MockAccumulo.java
Revision 5ee144d9eb67c8e79dad870abbd823cac64e111e New Change
 
core/src/main/java/org/apache/accumulo/core/client/mock/MockConnector.java
Revision 80ec5133334f9ef466dd7e4077230acfd2c77fb5 New Change
 
core/src/main/java/org/apache/accumulo/core/client/mock/MockSecurityOperations.java
Revision 765cda9cac6fb3bc7df9eb8db1c83846960e85c3 New Change
 
core/src/main/java/org/apache/accumulo/core/client/mock/MockTable.java
Revision 3dcab11bd50bf189ccc4cbaf97d3d4ecb9133047 New Change
 
  1. core/src/main/java/org/apache/accumulo/core/Constants.java: Loading...
  2. core/src/main/java/org/apache/accumulo/core/client/Connector.java: Loading...
  3. core/src/main/java/org/apache/accumulo/core/client/TableNamespaceExistsException.java: Loading...
  4. core/src/main/java/org/apache/accumulo/core/client/TableNamespaceNotEmptyException.java: Loading...
  5. core/src/main/java/org/apache/accumulo/core/client/TableNamespaceNotFoundException.java: Loading...
  6. core/src/main/java/org/apache/accumulo/core/client/admin/SecurityOperations.java: Loading...
  7. core/src/main/java/org/apache/accumulo/core/client/admin/SecurityOperationsImpl.java: Loading...
  8. core/src/main/java/org/apache/accumulo/core/client/admin/TableNamespaceOperations.java: Loading...
  9. core/src/main/java/org/apache/accumulo/core/client/admin/TableNamespaceOperationsHelper.java: Loading...
  10. core/src/main/java/org/apache/accumulo/core/client/admin/TableNamespaceOperationsImpl.java: Loading...
  11. core/src/main/java/org/apache/accumulo/core/client/admin/TableOperationsImpl.java: Loading...
  12. core/src/main/java/org/apache/accumulo/core/client/impl/ConnectorImpl.java: Loading...
  13. core/src/main/java/org/apache/accumulo/core/client/impl/TableNamespaces.java: Loading...
  14. core/src/main/java/org/apache/accumulo/core/client/impl/Tables.java: Loading...
  15. core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ClientService.java: Loading...
  16. core/src/main/java/org/apache/accumulo/core/client/impl/thrift/SecurityErrorCode.java: Loading...
  17. core/src/main/java/org/apache/accumulo/core/client/mock/MockAccumulo.java: Loading...
  18. core/src/main/java/org/apache/accumulo/core/client/mock/MockConnector.java: Loading...
  19. core/src/main/java/org/apache/accumulo/core/client/mock/MockSecurityOperations.java: Loading...
  20. core/src/main/java/org/apache/accumulo/core/client/mock/MockTable.java: Loading...
This diff has been split across 5 pages: 1 2 3 4 5 >