Tabnine Logo
NamespaceOperations.removeProperty
Code IndexAdd Tabnine to your IDE (free)

How to use
removeProperty
method
in
org.apache.accumulo.core.client.admin.NamespaceOperations

Best Java code snippets using org.apache.accumulo.core.client.admin.NamespaceOperations.removeProperty (Showing top 8 results out of 315)

origin: apache/accumulo

    + ", still removing from zookeeper if it's there.");
 shellState.getAccumuloClient().namespaceOperations().removeProperty(namespace, property);
 Shell.log.debug("Successfully deleted namespace configuration option.");
} else {
origin: org.apache.accumulo/accumulo-proxy

@Override
public void removeNamespaceProperty(ByteBuffer login, String namespaceName, String property)
  throws org.apache.accumulo.proxy.thrift.AccumuloException,
  org.apache.accumulo.proxy.thrift.AccumuloSecurityException,
  org.apache.accumulo.proxy.thrift.NamespaceNotFoundException, TException {
 try {
  getConnector(login).namespaceOperations().removeProperty(namespaceName, property);
 } catch (Exception e) {
  handleExceptionNNF(e);
 }
}
origin: org.apache.accumulo/accumulo-shell

    + ", still removing from zookeeper if it's there.");
 shellState.getConnector().namespaceOperations().removeProperty(namespace, property);
 Shell.log.debug("Successfully deleted namespace configuration option.");
} else {
origin: org.apache.accumulo/accumulo-test

 break;
case 10:
 ops.removeProperty(namespace, "a");
 fail();
 break;
origin: org.apache.accumulo/accumulo-test

try {
 loginAs(testUser);
 test_user_conn.namespaceOperations().removeProperty(namespace,
   Property.TABLE_BLOOM_ERRORRATE.getKey());
 throw new IllegalStateException("Should NOT be able to remove a namespace property");
origin: org.apache.accumulo/accumulo-test

 throw new IllegalStateException("Should be able to set a table property");
loginAs(testUser);
test_user_conn.namespaceOperations().removeProperty(namespace,
  Property.TABLE_BLOOM_ERRORRATE.getKey());
loginAs(rootUser);
origin: org.apache.accumulo/accumulo-test

loginAs(user1);
user1Con.namespaceOperations().setProperty(n1, Property.TABLE_FILE_MAX.getKey(), "42");
user1Con.namespaceOperations().removeProperty(n1, Property.TABLE_FILE_MAX.getKey());
loginAs(root);
c.securityOperations().revokeNamespacePermission(u1, n1, NamespacePermission.ALTER_NAMESPACE);
loginAs(user1);
user1Con.namespaceOperations().setProperty(n1, Property.TABLE_FILE_MAX.getKey(), "33");
user1Con.namespaceOperations().removeProperty(n1, Property.TABLE_FILE_MAX.getKey());
loginAs(root);
c.securityOperations().revokeSystemPermission(u1, SystemPermission.ALTER_NAMESPACE);
origin: org.apache.accumulo/accumulo-test

c.namespaceOperations().removeProperty(namespace, k);
assertFalse(checkNamespaceHasProp(namespace, k, v));
assertFalse(checkTableHasProp(t1, k, v));
org.apache.accumulo.core.client.adminNamespaceOperationsremoveProperty

Javadoc

Removes a property from a namespace. Note that it may take a few seconds to propagate the change everywhere.

Popular methods of NamespaceOperations

  • create
    Create an empty namespace with no initial configuration. Valid names for a namespace contain letters
  • exists
    A method to check if a namespace exists in Accumulo.
  • list
    Retrieve a list of namespaces in Accumulo.
  • getProperties
    Gets properties of a namespace, which are inherited by tables in this namespace. Note that recently
  • addConstraint
    Add a new constraint to a namespace.
  • attachIterator
    Add an iterator to a namespace on the given scopes.
  • delete
    Delete an empty namespace
  • getIteratorSetting
    Get the settings for an iterator.
  • listConstraints
    List constraints on a namespace with their assigned numbers.
  • listIterators
    Get a list of iterators for this namespace.
  • namespaceIdMap
    Get a mapping of namespace name to internal namespace id.
  • removeConstraint
    Remove a constraint from a namespace.
  • namespaceIdMap,
  • removeConstraint,
  • removeIterator,
  • rename,
  • setProperty,
  • testClassLoad,
  • checkIteratorConflicts,
  • defaultNamespace,
  • systemNamespace

Popular in Java

  • Reading from database using SQL prepared statement
  • getSystemService (Context)
  • getExternalFilesDir (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Menu (java.awt)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now