static void createNamespaceAndTable(final Admin admin) throws IOException {

    if (!namespaceExists(admin, MY_NAMESPACE_NAME)) {
      System.out.println("Creating Namespace [" + MY_NAMESPACE_NAME + "].");

      admin.createNamespace(NamespaceDescriptor.create(MY_NAMESPACE_NAME).build());
    }
    if (!admin.tableExists(MY_TABLE_NAME)) {
      System.out.println("Creating Table [" + MY_TABLE_NAME.getNameAsString()
        + "], with one Column Family [" + Bytes.toString(MY_COLUMN_FAMILY_NAME) + "].");

      admin.createTable(TableDescriptorBuilder.newBuilder(MY_TABLE_NAME)
        .setColumnFamily(ColumnFamilyDescriptorBuilder.of(MY_COLUMN_FAMILY_NAME)).build());
    }
  }
Invokes Admin#createNamespace and Admin#createTable to create a namespace with a table that has
one column-family.
@param admin Standard Admin object
@throws IOException If IO problem encountered
hbase-archetypes/hbase-shaded-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/shaded_client/HelloHBase.java