code: private void createNamespace(boolean isUpdate)
      {
          boolean isNameSpaceAvailable = isNamespaceAvailable(databaseName);
          if (isNameSpaceAvailable && !isUpdate)
          {
              drop();
          }
          if (!(isNameSpaceAvailable && isUpdate))
          {
              try
              {
                  NamespaceDescriptor descriptor = NamespaceDescriptor.create(databaseName).build();
                  admin.createNamespace(descriptor);
              }
              catch (IOException ioex)
              {
                  logger.error("Either table isn't in enabled state or some network problem, Caused by: ", ioex);
                  throw new SchemaGenerationException(ioex, "Hbase");
              }
          }
      }
docs: Creates the namespace.
  
  @param isUpdate
  the is update