code: @Override
      protected void validate(List<TableInfo> tableInfos)
      {
          try
          {
              if (isNamespaceAvailable(databaseName))
              {
                  for (TableInfo tableInfo : tableInfos)
                  {
                      if (tableInfo != null)
                      {
                          HTableDescriptor hTableDescriptor = admin.getTableDescriptor((databaseName + ":" + tableInfo
                                  .getTableName()).getBytes());
                          boolean columnFamilyFound = false;
                          Boolean f = false;
                          for (HColumnDescriptor columnDescriptor : hTableDescriptor.getColumnFamilies())
                          {
  
                              if (!columnFamilyFound
                                      && columnDescriptor.getNameAsString().equalsIgnoreCase(tableInfo.getTableName()))
                              {
                                  columnFamilyFound = true;
                              }
  
                              for (CollectionColumnInfo cci : tableInfo.getCollectionColumnMetadatas())
                              {
                                  if (columnDescriptor.getNameAsString().equalsIgnoreCase(cci.getCollectionColumnName()))
                                  {
                                      f = true;
                                      break;
                                  }
  
                              }
                              if (!(columnFamilyFound || f))
                              {
                                  throw new SchemaGenerationException("column " + tableInfo.getTableName()
                                          + " does not exist in table " + databaseName + "", "Hbase", databaseName,
                                          tableInfo.getTableName());
                              }
                              // TODO make a check for sec table
                          }
  
                      }
                  }
              }
              else
              {
                  throw new SchemaGenerationException("Namespace" + databaseName + "does not exist", "HBase",
                          databaseName);
              }
  
          }
          catch (TableNotFoundException tnfex)
          {
              throw new SchemaGenerationException("table " + databaseName + " does not exist ", tnfex, "Hbase");
          }
          catch (IOException ioe)
          {
              logger.error("Either check for network connection or table isn't in enabled state, Caused by:", ioe);
              throw new SchemaGenerationException(ioe, "Hbase");
          }
      }
docs: /*
  (non-Javadoc)
  
  @see
  com.impetus.kundera.configure.schema.api.AbstractSchemaManager#validate
  (java.util.List)