HAWQ-1305 Add apache license header to doc source
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/commit/a42c05a9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/tree/a42c05a9 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/diff/a42c05a9 Branch: refs/heads/develop Commit: a42c05a957a128ed7fd5f492544681d548f826ca Parents: 18e72d6 Author: David Yozie <yo...@apache.org> Authored: Wed Feb 1 09:32:04 2017 -0800 Committer: David Yozie <yo...@apache.org> Committed: Wed Feb 1 09:32:12 2017 -0800 ---------------------------------------------------------------------- ...ackingUpandRestoringHAWQDatabases.html.md.erb | 19 +++++++++++++++++++ markdown/admin/ClusterExpansion.html.md.erb | 19 +++++++++++++++++++ markdown/admin/ClusterShrink.html.md.erb | 19 +++++++++++++++++++ markdown/admin/FaultTolerance.html.md.erb | 19 +++++++++++++++++++ ...cesandHighAvailabilityEnabledHDFS.html.md.erb | 19 +++++++++++++++++++ markdown/admin/HighAvailability.html.md.erb | 19 +++++++++++++++++++ markdown/admin/MasterMirroring.html.md.erb | 19 +++++++++++++++++++ .../admin/RecommendedMonitoringTasks.html.md.erb | 19 +++++++++++++++++++ markdown/admin/RunningHAWQ.html.md.erb | 19 +++++++++++++++++++ markdown/admin/logfiles.html.md.erb | 19 +++++++++++++++++++ markdown/admin/maintain.html.md.erb | 19 +++++++++++++++++++ markdown/admin/monitor.html.md.erb | 19 +++++++++++++++++++ markdown/admin/setuphawqopenv.html.md.erb | 19 +++++++++++++++++++ markdown/admin/startstop.html.md.erb | 19 +++++++++++++++++++ .../HAWQBestPracticesOverview.html.md.erb | 19 +++++++++++++++++++ .../general_bestpractices.html.md.erb | 19 +++++++++++++++++++ .../managing_data_bestpractices.html.md.erb | 19 +++++++++++++++++++ .../managing_resources_bestpractices.html.md.erb | 19 +++++++++++++++++++ .../operating_hawq_bestpractices.html.md.erb | 19 +++++++++++++++++++ .../querying_data_bestpractices.html.md.erb | 19 +++++++++++++++++++ .../secure_bestpractices.html.md.erb | 19 +++++++++++++++++++ markdown/clientaccess/client_auth.html.md.erb | 19 +++++++++++++++++++ .../clientaccess/disable-kerberos.html.md.erb | 19 +++++++++++++++++++ .../g-connecting-with-psql.html.md.erb | 19 +++++++++++++++++++ ...g-database-application-interfaces.html.md.erb | 19 +++++++++++++++++++ ...g-establishing-a-database-session.html.md.erb | 19 +++++++++++++++++++ ...hawq-database-client-applications.html.md.erb | 19 +++++++++++++++++++ .../g-supported-client-applications.html.md.erb | 19 +++++++++++++++++++ ...oubleshooting-connection-problems.html.md.erb | 19 +++++++++++++++++++ markdown/clientaccess/index.md.erb | 19 +++++++++++++++++++ markdown/clientaccess/kerberos.html.md.erb | 19 +++++++++++++++++++ markdown/clientaccess/ldap.html.md.erb | 19 +++++++++++++++++++ markdown/clientaccess/roles_privs.html.md.erb | 19 +++++++++++++++++++ .../datamgmt/BasicDataOperations.html.md.erb | 19 +++++++++++++++++++ markdown/datamgmt/ConcurrencyControl.html.md.erb | 19 +++++++++++++++++++ .../HAWQInputFormatforMapReduce.html.md.erb | 19 +++++++++++++++++++ markdown/datamgmt/Transactions.html.md.erb | 19 +++++++++++++++++++ markdown/datamgmt/about_statistics.html.md.erb | 19 +++++++++++++++++++ markdown/datamgmt/dml.html.md.erb | 19 +++++++++++++++++++ .../datamgmt/load/client-loadtools.html.md.erb | 19 +++++++++++++++++++ ...creating-external-tables-examples.html.md.erb | 19 +++++++++++++++++++ ...out-gpfdist-setup-and-performance.html.md.erb | 19 +++++++++++++++++++ .../load/g-character-encoding.html.md.erb | 19 +++++++++++++++++++ ...command-based-web-external-tables.html.md.erb | 19 +++++++++++++++++++ .../load/g-configuration-file-format.html.md.erb | 19 +++++++++++++++++++ ...g-controlling-segment-parallelism.html.md.erb | 19 +++++++++++++++++++ ...-table-and-declare-a-reject-limit.html.md.erb | 19 +++++++++++++++++++ ...ing-and-using-web-external-tables.html.md.erb | 19 +++++++++++++++++++ ...e-with-single-row-error-isolation.html.md.erb | 19 +++++++++++++++++++ ...based-writable-external-web-table.html.md.erb | 19 +++++++++++++++++++ ...ile-based-writable-external-table.html.md.erb | 19 +++++++++++++++++++ ...termine-the-transformation-schema.html.md.erb | 19 +++++++++++++++++++ ...r-web-or-writable-external-tables.html.md.erb | 19 +++++++++++++++++++ ...g-escaping-in-csv-formatted-files.html.md.erb | 19 +++++++++++++++++++ ...-escaping-in-text-formatted-files.html.md.erb | 19 +++++++++++++++++++ markdown/datamgmt/load/g-escaping.html.md.erb | 19 +++++++++++++++++++ ...se-publications-in-demo-directory.html.md.erb | 19 +++++++++++++++++++ ...-example-hawq-file-server-gpfdist.html.md.erb | 19 +++++++++++++++++++ ...s-mef-xml-files-in-demo-directory.html.md.erb | 19 +++++++++++++++++++ ...le-witsml-files-in-demo-directory.html.md.erb | 19 +++++++++++++++++++ .../g-examples-read-fixed-width-data.html.md.erb | 19 +++++++++++++++++++ .../datamgmt/load/g-external-tables.html.md.erb | 19 +++++++++++++++++++ .../load/g-formatting-columns.html.md.erb | 19 +++++++++++++++++++ .../load/g-formatting-data-files.html.md.erb | 19 +++++++++++++++++++ .../datamgmt/load/g-formatting-rows.html.md.erb | 19 +++++++++++++++++++ .../datamgmt/load/g-gpfdist-protocol.html.md.erb | 19 +++++++++++++++++++ .../load/g-gpfdists-protocol.html.md.erb | 19 +++++++++++++++++++ .../g-handling-errors-ext-table-data.html.md.erb | 19 +++++++++++++++++++ .../load/g-handling-load-errors.html.md.erb | 19 +++++++++++++++++++ ...lid-csv-files-in-error-table-data.html.md.erb | 19 +++++++++++++++++++ ...ng-and-exporting-fixed-width-data.html.md.erb | 19 +++++++++++++++++++ .../load/g-installing-gpfdist.html.md.erb | 19 +++++++++++++++++++ .../datamgmt/load/g-load-the-data.html.md.erb | 19 +++++++++++++++++++ .../g-loading-and-unloading-data.html.md.erb | 19 +++++++++++++++++++ ...-and-writing-non-hdfs-custom-data.html.md.erb | 19 +++++++++++++++++++ ...ding-data-using-an-external-table.html.md.erb | 19 +++++++++++++++++++ .../load/g-loading-data-with-copy.html.md.erb | 19 +++++++++++++++++++ .../g-loading-data-with-hawqload.html.md.erb | 19 +++++++++++++++++++ .../g-moving-data-between-tables.html.md.erb | 19 +++++++++++++++++++ ...g-data-load-and-query-performance.html.md.erb | 19 +++++++++++++++++++ .../datamgmt/load/g-register_files.html.md.erb | 19 +++++++++++++++++++ .../load/g-representing-null-values.html.md.erb | 19 +++++++++++++++++++ ...n-single-row-error-isolation-mode.html.md.erb | 19 +++++++++++++++++++ .../g-starting-and-stopping-gpfdist.html.md.erb | 19 +++++++++++++++++++ .../g-transfer-and-store-the-data.html.md.erb | 19 +++++++++++++++++++ .../load/g-transforming-with-gpload.html.md.erb | 19 +++++++++++++++++++ ...ming-with-insert-into-select-from.html.md.erb | 19 +++++++++++++++++++ .../load/g-transforming-xml-data.html.md.erb | 19 +++++++++++++++++++ .../load/g-troubleshooting-gpfdist.html.md.erb | 19 +++++++++++++++++++ ...unloading-data-from-hawq-database.html.md.erb | 19 +++++++++++++++++++ ...a-using-a-writable-external-table.html.md.erb | 19 +++++++++++++++++++ .../load/g-unloading-data-using-copy.html.md.erb | 19 +++++++++++++++++++ .../g-url-based-web-external-tables.html.md.erb | 19 +++++++++++++++++++ .../load/g-using-a-custom-format.html.md.erb | 19 +++++++++++++++++++ ...ng-the-hawq-file-server--gpfdist-.html.md.erb | 19 +++++++++++++++++++ ...orking-with-file-based-ext-tables.html.md.erb | 19 +++++++++++++++++++ .../load/g-write-a-transform.html.md.erb | 19 +++++++++++++++++++ ...g-write-the-gpfdist-configuration.html.md.erb | 19 +++++++++++++++++++ .../g-xml-transformation-examples.html.md.erb | 19 +++++++++++++++++++ markdown/ddl/ddl-database.html.md.erb | 19 +++++++++++++++++++ markdown/ddl/ddl-partition.html.md.erb | 19 +++++++++++++++++++ markdown/ddl/ddl-schema.html.md.erb | 19 +++++++++++++++++++ markdown/ddl/ddl-storage.html.md.erb | 19 +++++++++++++++++++ markdown/ddl/ddl-table.html.md.erb | 19 +++++++++++++++++++ markdown/ddl/ddl-tablespace.html.md.erb | 19 +++++++++++++++++++ markdown/ddl/ddl-view.html.md.erb | 19 +++++++++++++++++++ markdown/ddl/ddl.html.md.erb | 19 +++++++++++++++++++ markdown/install/aws-config.html.md.erb | 19 +++++++++++++++++++ markdown/install/select-hosts.html.md.erb | 19 +++++++++++++++++++ markdown/overview/ElasticSegments.html.md.erb | 19 +++++++++++++++++++ markdown/overview/HAWQArchitecture.html.md.erb | 19 +++++++++++++++++++ markdown/overview/HAWQOverview.html.md.erb | 19 +++++++++++++++++++ markdown/overview/HDFSCatalogCache.html.md.erb | 19 +++++++++++++++++++ markdown/overview/ManagementTools.html.md.erb | 19 +++++++++++++++++++ markdown/overview/RedundancyFailover.html.md.erb | 19 +++++++++++++++++++ markdown/overview/ResourceManagement.html.md.erb | 19 +++++++++++++++++++ .../TableDistributionStorage.html.md.erb | 19 +++++++++++++++++++ markdown/overview/system-overview.html.md.erb | 19 +++++++++++++++++++ .../plext/UsingProceduralLanguages.html.md.erb | 19 +++++++++++++++++++ markdown/plext/builtin_langs.html.md.erb | 19 +++++++++++++++++++ markdown/plext/using_pgcrypto.html.md.erb | 19 +++++++++++++++++++ markdown/plext/using_pljava.html.md.erb | 19 +++++++++++++++++++ markdown/plext/using_plperl.html.md.erb | 19 +++++++++++++++++++ markdown/plext/using_plpgsql.html.md.erb | 19 +++++++++++++++++++ markdown/plext/using_plpython.html.md.erb | 19 +++++++++++++++++++ markdown/plext/using_plr.html.md.erb | 19 +++++++++++++++++++ markdown/pxf/ConfigurePXF.html.md.erb | 19 +++++++++++++++++++ markdown/pxf/HBasePXF.html.md.erb | 19 +++++++++++++++++++ markdown/pxf/HDFSFileDataPXF.html.md.erb | 19 +++++++++++++++++++ markdown/pxf/HDFSWritablePXF.html.md.erb | 19 +++++++++++++++++++ .../pxf/HawqExtensionFrameworkPXF.html.md.erb | 19 +++++++++++++++++++ markdown/pxf/HivePXF.html.md.erb | 19 +++++++++++++++++++ markdown/pxf/InstallPXFPlugins.html.md.erb | 19 +++++++++++++++++++ markdown/pxf/JsonPXF.html.md.erb | 19 +++++++++++++++++++ .../PXFExternalTableandAPIReference.html.md.erb | 19 +++++++++++++++++++ markdown/pxf/ReadWritePXF.html.md.erb | 19 +++++++++++++++++++ markdown/pxf/TroubleshootingPXF.html.md.erb | 19 +++++++++++++++++++ markdown/query/HAWQQueryProcessing.html.md.erb | 19 +++++++++++++++++++ markdown/query/defining-queries.html.md.erb | 19 +++++++++++++++++++ markdown/query/functions-operators.html.md.erb | 19 +++++++++++++++++++ .../gporca/query-gporca-changed.html.md.erb | 19 +++++++++++++++++++ .../query/gporca/query-gporca-enable.html.md.erb | 19 +++++++++++++++++++ .../gporca/query-gporca-fallback.html.md.erb | 19 +++++++++++++++++++ .../gporca/query-gporca-features.html.md.erb | 19 +++++++++++++++++++ .../gporca/query-gporca-limitations.html.md.erb | 19 +++++++++++++++++++ .../query/gporca/query-gporca-notes.html.md.erb | 19 +++++++++++++++++++ .../gporca/query-gporca-optimizer.html.md.erb | 19 +++++++++++++++++++ .../gporca/query-gporca-overview.html.md.erb | 19 +++++++++++++++++++ markdown/query/query-performance.html.md.erb | 19 +++++++++++++++++++ markdown/query/query-profiling.html.md.erb | 19 +++++++++++++++++++ markdown/query/query.html.md.erb | 19 +++++++++++++++++++ .../CharacterSetSupportReference.html.md.erb | 19 +++++++++++++++++++ markdown/reference/HAWQDataTypes.html.md.erb | 19 +++++++++++++++++++ .../HAWQEnvironmentVariables.html.md.erb | 19 +++++++++++++++++++ .../reference/HAWQSampleSiteConfig.html.md.erb | 19 +++++++++++++++++++ markdown/reference/HAWQSiteConfig.html.md.erb | 19 +++++++++++++++++++ ...FSConfigurationParameterReference.html.md.erb | 19 +++++++++++++++++++ .../reference/SQLCommandReference.html.md.erb | 19 +++++++++++++++++++ .../catalog/catalog_ref-html.html.md.erb | 19 +++++++++++++++++++ .../catalog/catalog_ref-tables.html.md.erb | 19 +++++++++++++++++++ .../catalog/catalog_ref-views.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/catalog_ref.html.md.erb | 19 +++++++++++++++++++ .../catalog/gp_configuration_history.html.md.erb | 19 +++++++++++++++++++ .../catalog/gp_distribution_policy.html.md.erb | 19 +++++++++++++++++++ .../catalog/gp_global_sequence.html.md.erb | 19 +++++++++++++++++++ .../catalog/gp_master_mirroring.html.md.erb | 19 +++++++++++++++++++ .../gp_persistent_database_node.html.md.erb | 19 +++++++++++++++++++ .../gp_persistent_filespace_node.html.md.erb | 19 +++++++++++++++++++ .../gp_persistent_relation_node.html.md.erb | 19 +++++++++++++++++++ .../gp_persistent_relfile_node.html.md.erb | 19 +++++++++++++++++++ .../gp_persistent_tablespace_node.html.md.erb | 19 +++++++++++++++++++ .../catalog/gp_relfile_node.html.md.erb | 19 +++++++++++++++++++ .../catalog/gp_segment_configuration.html.md.erb | 19 +++++++++++++++++++ .../catalog/gp_version_at_initdb.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_aggregate.html.md.erb | 19 +++++++++++++++++++ markdown/reference/catalog/pg_am.html.md.erb | 19 +++++++++++++++++++ markdown/reference/catalog/pg_amop.html.md.erb | 19 +++++++++++++++++++ markdown/reference/catalog/pg_amproc.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_appendonly.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_attrdef.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_attribute.html.md.erb | 19 +++++++++++++++++++ .../catalog/pg_attribute_encoding.html.md.erb | 19 +++++++++++++++++++ .../catalog/pg_auth_members.html.md.erb | 19 +++++++++++++++++++ markdown/reference/catalog/pg_authid.html.md.erb | 19 +++++++++++++++++++ markdown/reference/catalog/pg_cast.html.md.erb | 19 +++++++++++++++++++ markdown/reference/catalog/pg_class.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_compression.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_constraint.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_conversion.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_database.html.md.erb | 19 +++++++++++++++++++ markdown/reference/catalog/pg_depend.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_description.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_exttable.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_filespace.html.md.erb | 19 +++++++++++++++++++ .../catalog/pg_filespace_entry.html.md.erb | 19 +++++++++++++++++++ markdown/reference/catalog/pg_index.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_inherits.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_language.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_largeobject.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_listener.html.md.erb | 19 +++++++++++++++++++ markdown/reference/catalog/pg_locks.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_namespace.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_opclass.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_operator.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_partition.html.md.erb | 19 +++++++++++++++++++ .../catalog/pg_partition_columns.html.md.erb | 19 +++++++++++++++++++ .../catalog/pg_partition_encoding.html.md.erb | 19 +++++++++++++++++++ .../catalog/pg_partition_rule.html.md.erb | 19 +++++++++++++++++++ .../catalog/pg_partition_templates.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_partitions.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_pltemplate.html.md.erb | 19 +++++++++++++++++++ markdown/reference/catalog/pg_proc.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_resqueue.html.md.erb | 19 +++++++++++++++++++ .../catalog/pg_resqueue_status.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_rewrite.html.md.erb | 19 +++++++++++++++++++ markdown/reference/catalog/pg_roles.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_shdepend.html.md.erb | 19 +++++++++++++++++++ .../catalog/pg_shdescription.html.md.erb | 19 +++++++++++++++++++ .../catalog/pg_stat_activity.html.md.erb | 19 +++++++++++++++++++ .../catalog/pg_stat_last_operation.html.md.erb | 19 +++++++++++++++++++ .../catalog/pg_stat_last_shoperation.html.md.erb | 19 +++++++++++++++++++ .../catalog/pg_stat_operations.html.md.erb | 19 +++++++++++++++++++ .../pg_stat_partition_operations.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_statistic.html.md.erb | 19 +++++++++++++++++++ markdown/reference/catalog/pg_stats.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_tablespace.html.md.erb | 19 +++++++++++++++++++ .../reference/catalog/pg_trigger.html.md.erb | 19 +++++++++++++++++++ markdown/reference/catalog/pg_type.html.md.erb | 19 +++++++++++++++++++ .../catalog/pg_type_encoding.html.md.erb | 19 +++++++++++++++++++ markdown/reference/catalog/pg_window.html.md.erb | 19 +++++++++++++++++++ .../cli/admin_utilities/analyzedb.html.md.erb | 19 +++++++++++++++++++ .../cli/admin_utilities/gpfdist.html.md.erb | 19 +++++++++++++++++++ .../cli/admin_utilities/gplogfilter.html.md.erb | 19 +++++++++++++++++++ .../cli/admin_utilities/hawqactivate.html.md.erb | 19 +++++++++++++++++++ .../cli/admin_utilities/hawqcheck.html.md.erb | 19 +++++++++++++++++++ .../admin_utilities/hawqcheckperf.html.md.erb | 19 +++++++++++++++++++ .../cli/admin_utilities/hawqconfig.html.md.erb | 19 +++++++++++++++++++ .../cli/admin_utilities/hawqextract.html.md.erb | 19 +++++++++++++++++++ .../admin_utilities/hawqfilespace.html.md.erb | 19 +++++++++++++++++++ .../cli/admin_utilities/hawqinit.html.md.erb | 19 +++++++++++++++++++ .../cli/admin_utilities/hawqload.html.md.erb | 19 +++++++++++++++++++ .../cli/admin_utilities/hawqregister.html.md.erb | 19 +++++++++++++++++++ .../cli/admin_utilities/hawqrestart.html.md.erb | 19 +++++++++++++++++++ .../cli/admin_utilities/hawqscp.html.md.erb | 19 +++++++++++++++++++ .../admin_utilities/hawqssh-exkeys.html.md.erb | 19 +++++++++++++++++++ .../cli/admin_utilities/hawqssh.html.md.erb | 19 +++++++++++++++++++ .../cli/admin_utilities/hawqstart.html.md.erb | 19 +++++++++++++++++++ .../cli/admin_utilities/hawqstate.html.md.erb | 19 +++++++++++++++++++ .../cli/admin_utilities/hawqstop.html.md.erb | 19 +++++++++++++++++++ .../cli/client_utilities/createdb.html.md.erb | 19 +++++++++++++++++++ .../cli/client_utilities/createuser.html.md.erb | 19 +++++++++++++++++++ .../cli/client_utilities/dropdb.html.md.erb | 19 +++++++++++++++++++ .../cli/client_utilities/dropuser.html.md.erb | 19 +++++++++++++++++++ .../cli/client_utilities/pg_dump.html.md.erb | 19 +++++++++++++++++++ .../cli/client_utilities/pg_dumpall.html.md.erb | 19 +++++++++++++++++++ .../cli/client_utilities/pg_restore.html.md.erb | 19 +++++++++++++++++++ .../cli/client_utilities/psql.html.md.erb | 19 +++++++++++++++++++ .../cli/client_utilities/vacuumdb.html.md.erb | 19 +++++++++++++++++++ .../reference/cli/management_tools.html.md.erb | 19 +++++++++++++++++++ .../reference/guc/guc_category-list.html.md.erb | 19 +++++++++++++++++++ markdown/reference/guc/guc_config.html.md.erb | 19 +++++++++++++++++++ .../guc/parameter_definitions.html.md.erb | 19 +++++++++++++++++++ markdown/reference/hawq-reference.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/ABORT.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/ALTER-AGGREGATE.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/ALTER-CONVERSION.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/ALTER-DATABASE.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/ALTER-FUNCTION.html.md.erb | 19 +++++++++++++++++++ .../sql/ALTER-OPERATOR-CLASS.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/ALTER-OPERATOR.html.md.erb | 19 +++++++++++++++++++ .../sql/ALTER-RESOURCE-QUEUE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/ALTER-ROLE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/ALTER-TABLE.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/ALTER-TABLESPACE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/ALTER-TYPE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/ALTER-USER.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/ANALYZE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/BEGIN.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/CHECKPOINT.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/CLOSE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/COMMIT.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/COPY.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/CREATE-AGGREGATE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/CREATE-CAST.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/CREATE-CONVERSION.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/CREATE-DATABASE.html.md.erb | 19 +++++++++++++++++++ .../sql/CREATE-EXTERNAL-TABLE.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/CREATE-FUNCTION.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/CREATE-GROUP.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/CREATE-LANGUAGE.html.md.erb | 19 +++++++++++++++++++ .../sql/CREATE-OPERATOR-CLASS.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/CREATE-OPERATOR.html.md.erb | 19 +++++++++++++++++++ .../sql/CREATE-RESOURCE-QUEUE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/CREATE-ROLE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/CREATE-SCHEMA.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/CREATE-SEQUENCE.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/CREATE-TABLE-AS.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/CREATE-TABLE.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/CREATE-TABLESPACE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/CREATE-TYPE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/CREATE-USER.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/CREATE-VIEW.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/DEALLOCATE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/DECLARE.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/DROP-AGGREGATE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/DROP-CAST.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/DROP-CONVERSION.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/DROP-DATABASE.html.md.erb | 19 +++++++++++++++++++ .../sql/DROP-EXTERNAL-TABLE.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/DROP-FILESPACE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/DROP-FUNCTION.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/DROP-GROUP.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/DROP-LANGUAGE.html.md.erb | 19 +++++++++++++++++++ .../sql/DROP-OPERATOR-CLASS.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/DROP-OPERATOR.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/DROP-OWNED.html.md.erb | 19 +++++++++++++++++++ .../sql/DROP-RESOURCE-QUEUE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/DROP-ROLE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/DROP-SCHEMA.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/DROP-SEQUENCE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/DROP-TABLE.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/DROP-TABLESPACE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/DROP-TYPE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/DROP-USER.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/DROP-VIEW.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/END.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/EXECUTE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/EXPLAIN.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/FETCH.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/GRANT.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/INSERT.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/PREPARE.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/REASSIGN-OWNED.html.md.erb | 19 +++++++++++++++++++ .../reference/sql/RELEASE-SAVEPOINT.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/RESET.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/REVOKE.html.md.erb | 19 +++++++++++++++++++ .../sql/ROLLBACK-TO-SAVEPOINT.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/ROLLBACK.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/SAVEPOINT.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/SELECT-INTO.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/SELECT.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/SET-ROLE.html.md.erb | 19 +++++++++++++++++++ .../sql/SET-SESSION-AUTHORIZATION.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/SET.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/SHOW.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/TRUNCATE.html.md.erb | 19 +++++++++++++++++++ markdown/reference/sql/VACUUM.html.md.erb | 19 +++++++++++++++++++ .../reference/toolkit/hawq_toolkit.html.md.erb | 19 +++++++++++++++++++ .../requirements/system-requirements.html.md.erb | 19 +++++++++++++++++++ .../ConfigureResourceManagement.html.md.erb | 19 +++++++++++++++++++ .../HAWQResourceManagement.html.md.erb | 19 +++++++++++++++++++ markdown/resourcemgmt/ResourceQueues.html.md.erb | 19 +++++++++++++++++++ .../resourcemgmt/YARNIntegration.html.md.erb | 19 +++++++++++++++++++ markdown/resourcemgmt/best-practices.html.md.erb | 19 +++++++++++++++++++ markdown/resourcemgmt/index.md.erb | 19 +++++++++++++++++++ .../troubleshooting/Troubleshooting.html.md.erb | 19 +++++++++++++++++++ 356 files changed, 6764 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/admin/BackingUpandRestoringHAWQDatabases.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/admin/BackingUpandRestoringHAWQDatabases.html.md.erb b/markdown/admin/BackingUpandRestoringHAWQDatabases.html.md.erb index 78b0dec..f1e651a 100644 --- a/markdown/admin/BackingUpandRestoringHAWQDatabases.html.md.erb +++ b/markdown/admin/BackingUpandRestoringHAWQDatabases.html.md.erb @@ -2,6 +2,25 @@ title: Backing Up and Restoring HAWQ --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + This chapter provides information on backing up and restoring databases in HAWQ system. As an administrator, you will need to back up and restore your database. HAWQ provides three utilities to help you back up your data: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/admin/ClusterExpansion.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/admin/ClusterExpansion.html.md.erb b/markdown/admin/ClusterExpansion.html.md.erb index d3d921b..f282903 100644 --- a/markdown/admin/ClusterExpansion.html.md.erb +++ b/markdown/admin/ClusterExpansion.html.md.erb @@ -2,6 +2,25 @@ title: Expanding a Cluster --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + Apache HAWQ supports dynamic node expansion. You can add segment nodes while HAWQ is running without having to suspend or terminate cluster operations. **Note:** This topic describes how to expand a cluster using the command-line interface. If you are using Ambari to manage your HAWQ cluster, see [Expanding the HAWQ Cluster](../admin/ambari-admin.html#amb-expand) in [Managing HAWQ Using Ambari](../admin/ambari-admin.html) http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/admin/ClusterShrink.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/admin/ClusterShrink.html.md.erb b/markdown/admin/ClusterShrink.html.md.erb index 33c5cc2..32c2938 100644 --- a/markdown/admin/ClusterShrink.html.md.erb +++ b/markdown/admin/ClusterShrink.html.md.erb @@ -2,6 +2,25 @@ title: Removing a Node --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + This topic outlines the proper procedure for removing a node from a HAWQ cluster. In general, you should not need to remove nodes manually from running HAWQ clusters. HAWQ isolates any nodes that HAWQ detects as failing due to hardware or other types of errors. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/admin/FaultTolerance.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/admin/FaultTolerance.html.md.erb b/markdown/admin/FaultTolerance.html.md.erb index fc9de93..2334b04 100644 --- a/markdown/admin/FaultTolerance.html.md.erb +++ b/markdown/admin/FaultTolerance.html.md.erb @@ -2,6 +2,25 @@ title: Understanding the Fault Tolerance Service --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + The fault tolerance service (FTS) enables HAWQ to continue operating in the event that a segment node fails. The fault tolerance service runs automatically and requires no additional configuration requirements. Each segment runs a resource manager process that periodically sends (by default, every 30 seconds) the segmentâs status to the master's resource manager process. This interval is controlled by the `hawq_rm_segment_heartbeat_interval` server configuration parameter. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/admin/HAWQFilespacesandHighAvailabilityEnabledHDFS.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/admin/HAWQFilespacesandHighAvailabilityEnabledHDFS.html.md.erb b/markdown/admin/HAWQFilespacesandHighAvailabilityEnabledHDFS.html.md.erb index b4284be..6923494 100644 --- a/markdown/admin/HAWQFilespacesandHighAvailabilityEnabledHDFS.html.md.erb +++ b/markdown/admin/HAWQFilespacesandHighAvailabilityEnabledHDFS.html.md.erb @@ -2,6 +2,25 @@ title: HAWQ Filespaces and High Availability Enabled HDFS --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + If you initialized HAWQ without the HDFS High Availability \(HA\) feature, you can enable it by using the following procedure. ## <a id="enablingthehdfsnamenodehafeature"></a>Enabling the HDFS NameNode HA Feature http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/admin/HighAvailability.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/admin/HighAvailability.html.md.erb b/markdown/admin/HighAvailability.html.md.erb index 0c2e32b..a6dac79 100644 --- a/markdown/admin/HighAvailability.html.md.erb +++ b/markdown/admin/HighAvailability.html.md.erb @@ -2,6 +2,25 @@ title: High Availability in HAWQ --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + A HAWQ cluster can be made highly available by providing fault-tolerant hardware, by enabling HAWQ or HDFS high-availability features, and by performing regular monitoring and maintenance procedures to ensure the health of all system components. Hardware components eventually fail either due to normal wear or to unexpected circumstances. Loss of power can lead to temporarily unavailable components. You can make a system highly available by providing redundant standbys for components that can fail so services can continue uninterrupted when a failure does occur. In some cases, the cost of redundancy is higher than a userâs tolerance for interruption in service. When this is the case, the goal is to ensure that full service is able to be restored, and can be restored within an expected timeframe. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/admin/MasterMirroring.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/admin/MasterMirroring.html.md.erb b/markdown/admin/MasterMirroring.html.md.erb index b9352f0..80aa242 100644 --- a/markdown/admin/MasterMirroring.html.md.erb +++ b/markdown/admin/MasterMirroring.html.md.erb @@ -2,6 +2,25 @@ title: Using Master Mirroring --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + There are two masters in a HAWQ cluster-- a primary master and a standby master. Clients connect to the primary master and queries can be executed only on the primary master. You deploy a backup or mirror of the master instance on a separate host machine from the primary master so that the cluster can tolerate a single host failure. A backup master or standby master serves as a warm standby if the primary master becomes non-operational. You create a standby master from the primary master while the primary is online. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/admin/RecommendedMonitoringTasks.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/admin/RecommendedMonitoringTasks.html.md.erb b/markdown/admin/RecommendedMonitoringTasks.html.md.erb index 5083b44..1c2c6df 100644 --- a/markdown/admin/RecommendedMonitoringTasks.html.md.erb +++ b/markdown/admin/RecommendedMonitoringTasks.html.md.erb @@ -2,6 +2,25 @@ title: Recommended Monitoring and Maintenance Tasks --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + This section lists monitoring and maintenance activities recommended to ensure high availability and consistent performance of your HAWQ cluster. The tables in the following sections suggest activities that a HAWQ System Administrator can perform periodically to ensure that all components of the system are operating optimally. Monitoring activities help you to detect and diagnose problems early. Maintenance activities help you to keep the system up-to-date and avoid deteriorating performance, for example, from bloated system tables or diminishing free disk space. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/admin/RunningHAWQ.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/admin/RunningHAWQ.html.md.erb b/markdown/admin/RunningHAWQ.html.md.erb index c7de1d5..45164d9 100644 --- a/markdown/admin/RunningHAWQ.html.md.erb +++ b/markdown/admin/RunningHAWQ.html.md.erb @@ -2,6 +2,25 @@ title: Running a HAWQ Cluster --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + This section provides information for system administrators responsible for administering a HAWQ deployment. You should have some knowledge of Linux/UNIX system administration, database management systems, database administration, and structured query language \(SQL\) to administer a HAWQ cluster. Because HAWQ is based on PostgreSQL, you should also have some familiarity with PostgreSQL. The HAWQ documentation calls out similarities between HAWQ and PostgreSQL features throughout. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/admin/logfiles.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/admin/logfiles.html.md.erb b/markdown/admin/logfiles.html.md.erb index 3202ed3..799191d 100644 --- a/markdown/admin/logfiles.html.md.erb +++ b/markdown/admin/logfiles.html.md.erb @@ -2,6 +2,25 @@ title: HAWQ Administrative Log Files --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + Log files are files that include messages and other information about your HAWQ deployment, including the database and utilities. HAWQ administrative log files reside in pre-defined or configured locations on the local file system of the HAWQ node. These log files are distinctly located, formatted, configured, and managed. Every database instance in HAWQ \(master, standby, and segments\) runs a PostgreSQL database server with its own server log file. You generate log files when you invoke HAWQ management utilities directly, or indirectly via Ambari management operations. Additionally, other components in your HAWQ cluster (PXF, HDFS) generate log files of their own. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/admin/maintain.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/admin/maintain.html.md.erb b/markdown/admin/maintain.html.md.erb index b3e8ab6..25e62db 100644 --- a/markdown/admin/maintain.html.md.erb +++ b/markdown/admin/maintain.html.md.erb @@ -2,6 +2,25 @@ title: Routine System Maintenance Tasks --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + ## <a id="overview-topic"></a>Overview To keep a HAWQ system running efficiently, the database must be regularly cleared of expired data and the table statistics must be updated so that the query optimizer has accurate information. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/admin/monitor.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/admin/monitor.html.md.erb b/markdown/admin/monitor.html.md.erb index c6e96f1..bfd1ec0 100644 --- a/markdown/admin/monitor.html.md.erb +++ b/markdown/admin/monitor.html.md.erb @@ -2,6 +2,25 @@ title: Monitoring a HAWQ System --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + You can monitor a HAWQ system using a variety of tools included with the system or available as add-ons. Observing the HAWQ system day-to-day performance helps administrators understand the system behavior, plan workflow, and troubleshoot problems. This chapter discusses tools for monitoring database performance and activity. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/admin/setuphawqopenv.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/admin/setuphawqopenv.html.md.erb b/markdown/admin/setuphawqopenv.html.md.erb index 01e62ce..b7f69d8 100644 --- a/markdown/admin/setuphawqopenv.html.md.erb +++ b/markdown/admin/setuphawqopenv.html.md.erb @@ -2,6 +2,25 @@ title: Introducing the HAWQ Operating Environment --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + Before invoking operations on a HAWQ cluster, you must set up your HAWQ environment. This set up is required for both administrative and non-administrative HAWQ users. ## <a id="hawq_setupenv"></a>Procedure: Setting Up Your HAWQ Operating Environment http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/admin/startstop.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/admin/startstop.html.md.erb b/markdown/admin/startstop.html.md.erb index 7aac723..523e1de 100644 --- a/markdown/admin/startstop.html.md.erb +++ b/markdown/admin/startstop.html.md.erb @@ -2,6 +2,25 @@ title: Starting and Stopping HAWQ --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + In a HAWQ DBMS, the database server instances \(the master and all segments\) are started or stopped across all of the hosts in the system in such a way that they can work together as a unified DBMS. Because a HAWQ system is distributed across many machines, the process for starting and stopping a HAWQ system is different than the process for starting and stopping a regular PostgreSQL DBMS. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/bestpractices/HAWQBestPracticesOverview.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/bestpractices/HAWQBestPracticesOverview.html.md.erb b/markdown/bestpractices/HAWQBestPracticesOverview.html.md.erb index 13b4dca..5fa7769 100644 --- a/markdown/bestpractices/HAWQBestPracticesOverview.html.md.erb +++ b/markdown/bestpractices/HAWQBestPracticesOverview.html.md.erb @@ -2,6 +2,25 @@ title: Best Practices --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + This chapter provides best practices on using the components and features that are part of a HAWQ system. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/bestpractices/general_bestpractices.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/bestpractices/general_bestpractices.html.md.erb b/markdown/bestpractices/general_bestpractices.html.md.erb index 503887b..9332d14 100644 --- a/markdown/bestpractices/general_bestpractices.html.md.erb +++ b/markdown/bestpractices/general_bestpractices.html.md.erb @@ -2,6 +2,25 @@ title: HAWQ Best Practices --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + This topic addresses general best practices for users who are new to HAWQ. When using HAWQ, adhere to the following guidelines for best results: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/bestpractices/managing_data_bestpractices.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/bestpractices/managing_data_bestpractices.html.md.erb b/markdown/bestpractices/managing_data_bestpractices.html.md.erb index 11d6e02..bae0d2f 100644 --- a/markdown/bestpractices/managing_data_bestpractices.html.md.erb +++ b/markdown/bestpractices/managing_data_bestpractices.html.md.erb @@ -2,6 +2,25 @@ title: Best Practices for Managing Data --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + This topic describes best practices for creating databases, loading data, partioning data, and recovering data in HAWQ. ## <a id="topic_xhy_v2j_1v"></a>Best Practices for Loading Data http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/bestpractices/managing_resources_bestpractices.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/bestpractices/managing_resources_bestpractices.html.md.erb b/markdown/bestpractices/managing_resources_bestpractices.html.md.erb index f770611..0dfe665 100644 --- a/markdown/bestpractices/managing_resources_bestpractices.html.md.erb +++ b/markdown/bestpractices/managing_resources_bestpractices.html.md.erb @@ -2,6 +2,25 @@ title: Best Practices for Managing Resources --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + This topic describes best practices for managing resources in HAWQ. ## <a id="topic_ikz_ndx_15"></a>Best Practices for Configuring Resource Management http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/bestpractices/operating_hawq_bestpractices.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/bestpractices/operating_hawq_bestpractices.html.md.erb b/markdown/bestpractices/operating_hawq_bestpractices.html.md.erb index 9dc56e9..b19ba25 100644 --- a/markdown/bestpractices/operating_hawq_bestpractices.html.md.erb +++ b/markdown/bestpractices/operating_hawq_bestpractices.html.md.erb @@ -2,6 +2,25 @@ title: Best Practices for Operating HAWQ --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + This topic provides best practices for operating HAWQ, including recommendations for stopping, starting and monitoring HAWQ. ## <a id="best_practice_config"></a>Best Practices for Configuring HAWQ Parameters http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/bestpractices/querying_data_bestpractices.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/bestpractices/querying_data_bestpractices.html.md.erb b/markdown/bestpractices/querying_data_bestpractices.html.md.erb index 3efe569..b3c9fe8 100644 --- a/markdown/bestpractices/querying_data_bestpractices.html.md.erb +++ b/markdown/bestpractices/querying_data_bestpractices.html.md.erb @@ -2,6 +2,25 @@ title: Best Practices for Querying Data --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + To obtain the best results when querying data in HAWQ, review the best practices described in this topic. ## <a id="virtual_seg_performance"></a>Factors Impacting Query Performance http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/bestpractices/secure_bestpractices.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/bestpractices/secure_bestpractices.html.md.erb b/markdown/bestpractices/secure_bestpractices.html.md.erb index 04c5343..69f73b2 100644 --- a/markdown/bestpractices/secure_bestpractices.html.md.erb +++ b/markdown/bestpractices/secure_bestpractices.html.md.erb @@ -2,6 +2,25 @@ title: Best Practices for Securing HAWQ --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + To secure your HAWQ deployment, review the recommendations listed in this topic. - Set up SSL to encrypt your client server communication channel. See [Encrypting Client/Server Connections](../clientaccess/client_auth.html#topic5). http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/clientaccess/client_auth.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/clientaccess/client_auth.html.md.erb b/markdown/clientaccess/client_auth.html.md.erb index a13f4e1..33dc717 100644 --- a/markdown/clientaccess/client_auth.html.md.erb +++ b/markdown/clientaccess/client_auth.html.md.erb @@ -2,6 +2,25 @@ title: Configuring Client Authentication --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + When a HAWQ system is first initialized, the system contains one predefined *superuser* role. This role will have the same name as the operating system user who initialized the HAWQ system. This role is referred to as `gpadmin`. By default, the system is configured to only allow local connections to the database from the `gpadmin` role. To allow any other roles to connect, or to allow connections from remote hosts, you configure HAWQ to allow such connections. ## <a id="topic2"></a>Allowing Connections to HAWQ http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/clientaccess/disable-kerberos.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/clientaccess/disable-kerberos.html.md.erb b/markdown/clientaccess/disable-kerberos.html.md.erb index 5646eec..fe379f4 100644 --- a/markdown/clientaccess/disable-kerberos.html.md.erb +++ b/markdown/clientaccess/disable-kerberos.html.md.erb @@ -2,6 +2,25 @@ title: Disabling Kerberos Security --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + Follow these steps to disable Kerberos security for HAWQ and PXF for manual installations. **Note:** If you install or manage your cluster using Ambari, then the HAWQ Ambari plug-in automatically disables security for HAWQ and PXF when you disable security for Hadoop. The following instructions are only necessary for manual installations, or when Hadoop security is disabled outside of Ambari. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/clientaccess/g-connecting-with-psql.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/clientaccess/g-connecting-with-psql.html.md.erb b/markdown/clientaccess/g-connecting-with-psql.html.md.erb index 0fa501c..2ef3c9f 100644 --- a/markdown/clientaccess/g-connecting-with-psql.html.md.erb +++ b/markdown/clientaccess/g-connecting-with-psql.html.md.erb @@ -2,6 +2,25 @@ title: Connecting with psql --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + Depending on the default values used or the environment variables you have set, the following examples show how to access a database via `psql`: ``` bash http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/clientaccess/g-database-application-interfaces.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/clientaccess/g-database-application-interfaces.html.md.erb b/markdown/clientaccess/g-database-application-interfaces.html.md.erb index 29e22c5..db80d38 100644 --- a/markdown/clientaccess/g-database-application-interfaces.html.md.erb +++ b/markdown/clientaccess/g-database-application-interfaces.html.md.erb @@ -2,6 +2,25 @@ title: HAWQ Database Drivers and APIs --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + You may want to connect your existing Business Intelligence (BI) or Analytics applications with HAWQ. The database application programming interfaces most commonly used with HAWQ are the Postgres and ODBC and JDBC APIs. HAWQ provides the following connectivity tools for connecting to the database: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/clientaccess/g-establishing-a-database-session.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/clientaccess/g-establishing-a-database-session.html.md.erb b/markdown/clientaccess/g-establishing-a-database-session.html.md.erb index a1c5f1c..454a6c9 100644 --- a/markdown/clientaccess/g-establishing-a-database-session.html.md.erb +++ b/markdown/clientaccess/g-establishing-a-database-session.html.md.erb @@ -2,6 +2,25 @@ title: Establishing a Database Session --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + Users can connect to HAWQ using a PostgreSQL-compatible client program, such as `psql`. Users and administrators *always* connect to HAWQ through the *master*; the segments cannot accept client connections. In order to establish a connection to the HAWQ master, you will need to know the following connection information and configure your client program accordingly. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/clientaccess/g-hawq-database-client-applications.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/clientaccess/g-hawq-database-client-applications.html.md.erb b/markdown/clientaccess/g-hawq-database-client-applications.html.md.erb index a1e8ff3..70604da 100644 --- a/markdown/clientaccess/g-hawq-database-client-applications.html.md.erb +++ b/markdown/clientaccess/g-hawq-database-client-applications.html.md.erb @@ -2,6 +2,25 @@ title: HAWQ Client Applications --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + HAWQ comes installed with a number of client utility applications located in the `$GPHOME/bin` directory of your HAWQ master host installation. The following are the most commonly used client utility applications: |Name|Usage| http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/clientaccess/g-supported-client-applications.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/clientaccess/g-supported-client-applications.html.md.erb b/markdown/clientaccess/g-supported-client-applications.html.md.erb index 202f625..7569c36 100644 --- a/markdown/clientaccess/g-supported-client-applications.html.md.erb +++ b/markdown/clientaccess/g-supported-client-applications.html.md.erb @@ -2,6 +2,25 @@ title: Supported Client Applications --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + Users can connect to HAWQ using various client applications: - A number of [HAWQ Client Applications](g-hawq-database-client-applications.html) are provided with your HAWQ installation. The `psql` client application provides an interactive command-line interface to HAWQ. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/clientaccess/g-troubleshooting-connection-problems.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/clientaccess/g-troubleshooting-connection-problems.html.md.erb b/markdown/clientaccess/g-troubleshooting-connection-problems.html.md.erb index 0328606..4f7caeb 100644 --- a/markdown/clientaccess/g-troubleshooting-connection-problems.html.md.erb +++ b/markdown/clientaccess/g-troubleshooting-connection-problems.html.md.erb @@ -2,6 +2,25 @@ title: Troubleshooting Connection Problems --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + A number of things can prevent a client application from successfully connecting to HAWQ. This topic explains some of the common causes of connection problems and how to correct them. |Problem|Solution| http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/clientaccess/index.md.erb ---------------------------------------------------------------------- diff --git a/markdown/clientaccess/index.md.erb b/markdown/clientaccess/index.md.erb index c88adeb..3da95e4 100644 --- a/markdown/clientaccess/index.md.erb +++ b/markdown/clientaccess/index.md.erb @@ -2,6 +2,25 @@ title: Managing Client Access --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + This section explains how to configure client connections and authentication for HAWQ: * <a class="subnav" href="./client_auth.html">Configuring Client Authentication</a> http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/clientaccess/kerberos.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/clientaccess/kerberos.html.md.erb b/markdown/clientaccess/kerberos.html.md.erb index 2e7cfe5..3a1729d 100644 --- a/markdown/clientaccess/kerberos.html.md.erb +++ b/markdown/clientaccess/kerberos.html.md.erb @@ -2,6 +2,25 @@ title: Using Kerberos Authentication --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + **Note:** The following steps for enabling Kerberos *are not required* if you install HAWQ using Ambari. You can control access to HAWQ with a Kerberos authentication server. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/clientaccess/ldap.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/clientaccess/ldap.html.md.erb b/markdown/clientaccess/ldap.html.md.erb index 27b204f..cb7da69 100644 --- a/markdown/clientaccess/ldap.html.md.erb +++ b/markdown/clientaccess/ldap.html.md.erb @@ -2,6 +2,25 @@ title: Using LDAP Authentication with TLS/SSL --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + You can control access to HAWQ with an LDAP server and, optionally, secure the connection with encryption by adding parameters to pg\_hba.conf file entries. HAWQ supports LDAP authentication with the TLS/SSL protocol to encrypt communication with an LDAP server: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/clientaccess/roles_privs.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/clientaccess/roles_privs.html.md.erb b/markdown/clientaccess/roles_privs.html.md.erb index 4bdf3ee..6c496b3 100644 --- a/markdown/clientaccess/roles_privs.html.md.erb +++ b/markdown/clientaccess/roles_privs.html.md.erb @@ -2,6 +2,25 @@ title: Managing Roles and Privileges --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + The HAWQ authorization mechanism stores roles and permissions to access database objects in the database and is administered using SQL statements or command-line utilities. HAWQ manages database access permissions using *roles*. The concept of roles subsumes the concepts of *users* and *groups*. A role can be a database user, a group, or both. Roles can own database objects \(for example, tables\) and can assign privileges on those objects to other roles to control access to the objects. Roles can be members of other roles, thus a member role can inherit the object privileges of its parent role. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/datamgmt/BasicDataOperations.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/datamgmt/BasicDataOperations.html.md.erb b/markdown/datamgmt/BasicDataOperations.html.md.erb index 66328c7..3118272 100644 --- a/markdown/datamgmt/BasicDataOperations.html.md.erb +++ b/markdown/datamgmt/BasicDataOperations.html.md.erb @@ -2,6 +2,25 @@ title: Basic Data Operations --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + This topic describes basic data operations that you perform in HAWQ. ## <a id="topic3"></a>Inserting Rows http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/datamgmt/ConcurrencyControl.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/datamgmt/ConcurrencyControl.html.md.erb b/markdown/datamgmt/ConcurrencyControl.html.md.erb index 2ced135..805e69e 100644 --- a/markdown/datamgmt/ConcurrencyControl.html.md.erb +++ b/markdown/datamgmt/ConcurrencyControl.html.md.erb @@ -2,6 +2,25 @@ title: Concurrency Control --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + This topic discusses the mechanisms used in HAWQ to provide concurrency control. HAWQ and PostgreSQL do not use locks for concurrency control. They maintain data consistency using a multiversion model, Multiversion Concurrency Control (MVCC). MVCC achieves transaction isolation for each database session, and each query transaction sees a snapshot of data. This ensures the transaction sees consistent data that is not affected by other concurrent transactions. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/datamgmt/HAWQInputFormatforMapReduce.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/datamgmt/HAWQInputFormatforMapReduce.html.md.erb b/markdown/datamgmt/HAWQInputFormatforMapReduce.html.md.erb index a6fcca2..10c3751 100644 --- a/markdown/datamgmt/HAWQInputFormatforMapReduce.html.md.erb +++ b/markdown/datamgmt/HAWQInputFormatforMapReduce.html.md.erb @@ -2,6 +2,25 @@ title: HAWQ InputFormat for MapReduce --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + MapReduce is a programming model developed by Google for processing and generating large data sets on an array of commodity servers. You can use the HAWQ InputFormat class to enable MapReduce jobs to access HAWQ data stored in HDFS. To use HAWQ InputFormat, you need only to provide the URL of the database to connect to, along with the table name you want to access. HAWQ InputFormat fetches only the metadata of the database and table of interest, which is much less data than the table data itself. After getting the metadata, HAWQ InputFormat determines where and how the table data is stored in HDFS. It reads and parses those HDFS files and processes the parsed table tuples directly inside a Map task. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/datamgmt/Transactions.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/datamgmt/Transactions.html.md.erb b/markdown/datamgmt/Transactions.html.md.erb index dfc9a5e..f2dc408 100644 --- a/markdown/datamgmt/Transactions.html.md.erb +++ b/markdown/datamgmt/Transactions.html.md.erb @@ -2,6 +2,25 @@ title: Working with Transactions --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + This topic describes transaction support in HAWQ. Transactions allow you to bundle multiple SQL statements in one all-or-nothing operation. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/a42c05a9/markdown/datamgmt/about_statistics.html.md.erb ---------------------------------------------------------------------- diff --git a/markdown/datamgmt/about_statistics.html.md.erb b/markdown/datamgmt/about_statistics.html.md.erb index 5e2184a..a2df3ba 100644 --- a/markdown/datamgmt/about_statistics.html.md.erb +++ b/markdown/datamgmt/about_statistics.html.md.erb @@ -2,6 +2,25 @@ title: About Database Statistics --- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + ## <a id="overview"></a>Overview Statistics are metadata that describe the data stored in the database. The query optimizer needs up-to-date statistics to choose the best execution plan for a query. For example, if a query joins two tables and one of them must be broadcast to all segments, the optimizer can choose the smaller of the two tables to minimize network traffic.