From aa53794cd80f5abf4b00c7ce0f0e1cbd959d1029 Mon Sep 17 00:00:00 2001 From: Stamatis Zampetakis Date: Tue, 7 Jan 2025 15:54:55 +0100 Subject: [PATCH] HIVE-28696: Enforce uniform codestyle in Markdown files in hive-site --- .gitignore | 1 + README.md | 51 +- archetypes/default.md | 3 +- content/Development/gettingStarted.md | 40 +- content/Development/quickStart.md | 158 +- content/Development/versionControl.md | 37 +- content/_index.md | 36 +- content/community/becomingcommitter/index.md | 7 +- content/community/bylaws.md | 79 +- content/community/issueTracking.md | 39 +- content/community/mailingLists.md | 49 +- content/community/people.md | 60 +- content/docs/javadocs.md | 38 +- content/docs/latest/122917025.md | 9 +- content/docs/latest/158869886.md | 31 +- content/docs/latest/170266662.md | 16 +- content/docs/latest/282102318.md | 45 +- content/docs/latest/283118453.md | 61 +- content/docs/latest/283118454.md | 27 +- content/docs/latest/284790216.md | 18 +- content/docs/latest/30151323.md | 129 +- content/docs/latest/44302539.md | 197 ++- content/docs/latest/45876173.md | 19 +- content/docs/latest/50860526.md | 46 +- content/docs/latest/59690156.md | 7 +- content/docs/latest/67641451.md | 7 +- content/docs/latest/73632935.md | 7 +- content/docs/latest/75963441.md | 13 +- content/docs/latest/75969407.md | 11 +- content/docs/latest/75977362.md | 7 +- content/docs/latest/80452092.md | 82 +- content/docs/latest/97551656.md | 42 +- content/docs/latest/_index.md | 475 +++--- content/docs/latest/aboutthiswiki_27820116.md | 17 +- .../accessserver-design-proposal_31823045.md | 26 +- .../latest/accumulointegration_46633569.md | 89 +- .../adminmanual-configuration_27362070.md | 119 +- .../adminmanual-installation_27362077.md | 29 +- ...l-metastore-3-0-administration_75978150.md | 106 +- ...anual-metastore-administration_27362076.md | 173 ++- ...dminmanual-settinguphiveserver_27362079.md | 7 +- content/docs/latest/adminmanual_27362071.md | 7 +- .../latest/apache-hive-4-0-x_282102245.md | 13 +- .../apache-hive-sql-conformance_67641449.md | 13 +- content/docs/latest/authdev_27362078.md | 71 +- content/docs/latest/avroserde_27850707.md | 70 +- .../binary-datatype-proposal_27826614.md | 19 +- .../docs/latest/books-about-hive_61322063.md | 7 +- .../building-hive-from-source_282102252.md | 21 +- content/docs/latest/changelog_283118275.md | 587 ++++---- .../column-statistics-in-hive_29131019.md | 175 ++- .../committed-jiras-for-1-2-1_58851880.md | 669 +++++---- ...mmitted-jiras-for-branch-1-2-0_56068523.md | 689 ++++----- .../common-table-expression_38572242.md | 7 +- .../latest/compaction-pooling_240884493.md | 7 +- .../docs/latest/compressedstorage_27362073.md | 7 +- .../configuration-properties_27842758.md | 378 +++-- .../latest/contributorday2011_27820725.md | 7 +- .../contributorminutes20110907_27826430.md | 7 +- .../contributorminutes20111205_27833038.md | 7 +- .../contributorminutes20120418_27844528.md | 9 +- .../contributorsminutes110726_27822784.md | 7 +- .../latest/correlation-optimizer_34019487.md | 43 +- ...ost-based-optimization-in-hive_42566775.md | 69 +- content/docs/latest/csv-serde_48202659.md | 13 +- ...or-hive-and-hive-like-engines_288885794.md | 68 +- .../data-connectors-in-hive_177049669.md | 16 +- .../datasketches-integration_177050456.md | 83 +- .../docs/latest/dependent-tables_30151205.md | 83 +- content/docs/latest/design_27362072.md | 31 +- content/docs/latest/designdocs_27362075.md | 18 +- content/docs/latest/developerdocs_42568263.md | 25 +- .../latest/developerguide-udtf_27362086.md | 9 +- .../docs/latest/developerguide_27362074.md | 168 ++- ...-hivecontributorsminutes100601_27362084.md | 23 +- ...-hivecontributorsminutes100706_27362085.md | 31 +- ...-hivecontributorsminutes100808_27362082.md | 23 +- ...-hivecontributorsminutes100913_27362083.md | 7 +- ...-hivecontributorsminutes101025_27362080.md | 7 +- ...-hivecontributorsminutes110425_27362081.md | 7 +- ...velopment-contributorsmeetings_27362087.md | 7 +- .../different-timestamp-types_103091503.md | 9 +- content/docs/latest/downloadtest_27362094.md | 7 +- .../docs/latest/druid-integration_65866491.md | 620 ++++---- .../docs/latest/dynamicpartitions_27823715.md | 45 +- content/docs/latest/end2endtests_27845856.md | 45 +- .../latest/exchange-partition_30755801.md | 12 +- content/docs/latest/fileformats_47384180.md | 7 +- .../docs/latest/filterpushdowndev_27362092.md | 31 +- ...-tests-on-hadoop-2---hive-3949_31824506.md | 71 +- .../latest/genericudafcasestudy_27362093.md | 55 +- .../gettingstarted-eclipsesetup_27362091.md | 7 +- .../docs/latest/gettingstarted_27362090.md | 154 +- .../docs/latest/groupbywithrollup_27826238.md | 81 +- ...e-input-output-format-for-hive_30745805.md | 7 +- ...ore-partition-filter-condition_55151993.md | 136 +- content/docs/latest/hbasebulkload_27362088.md | 27 +- .../docs/latest/hbaseintegration_27362089.md | 632 ++++---- ...hbasemetastoredevelopmentguide_55151960.md | 24 +- .../latest/hcatalog-authorization_34014782.md | 43 +- content/docs/latest/hcatalog-cli_34013932.md | 63 +- ...talog-configuration-properties_39622369.md | 45 +- .../hcatalog-dynamicpartitions_34014006.md | 31 +- .../latest/hcatalog-inputoutput_34013776.md | 63 +- .../latest/hcatalog-installhcat_34013403.md | 21 +- .../latest/hcatalog-loadstore_34013511.md | 103 +- .../latest/hcatalog-notification_34014558.md | 67 +- .../latest/hcatalog-readerwriter_34013921.md | 17 +- .../hcatalog-storageformats_34013997.md | 19 +- ...catalog-streaming-mutation-api_61337025.md | 27 +- .../latest/hcatalog-usinghcat_34013260.md | 27 +- content/docs/latest/hcatalog_33299065.md | 7 +- .../hive-0-13-1-release-tracking_40510656.md | 69 +- .../hive-0-13-release-status_39622095.md | 13 +- .../hive-0-14-release-status_46632949.md | 21 +- .../hive-1-2-release-status_55156189.md | 113 +- .../latest/hive-apis-overview_61326349.md | 40 +- content/docs/latest/hive-aws-emr_27823791.md | 15 +- .../latest/hive-configurations_283118321.md | 17 +- .../hive-iceberg-integration_282102247.md | 35 +- ...hive-metadata-caching-proposal_69407514.md | 71 +- content/docs/latest/hive-metatool_55156221.md | 62 +- content/docs/latest/hive-metrics_65872987.md | 9 +- content/docs/latest/hive-on-spark_42567714.md | 75 +- content/docs/latest/hive-on-tez_33296197.md | 77 +- .../docs/latest/hive-operators_283118406.md | 135 +- .../hive-pmc-social-media-creds_255070652.md | 7 +- .../hive-precommit-patch-testing_33295252.md | 37 +- .../hive-ptest2-infrastructure_33295254.md | 23 +- .../docs/latest/hive-schema-tool_34835119.md | 17 +- .../latest/hive-tez-compatibility_59689974.md | 21 +- .../docs/latest/hive-transactions_40509723.md | 61 +- content/docs/latest/hive-udfs_282102277.md | 1267 +++++++++++------ .../hiveamazonelasticmapreduce_27825646.md | 15 +- .../hiveaws-hivings3nremotely_27362102.md | 37 +- content/docs/latest/hiveaws_27362103.md | 32 +- content/docs/latest/hiveclient_27362101.md | 21 +- .../hivecontributorsminutes100601_27362064.md | 23 +- .../hivecontributorsminutes100706_27362065.md | 31 +- content/docs/latest/hivecounters_67636835.md | 19 +- .../latest/hivederbyservermode_27362068.md | 23 +- .../docs/latest/hivedeveloperfaq_27823747.md | 109 +- .../docs/latest/hivejdbcinterface_27362100.md | 46 +- content/docs/latest/hiveodbc_27362099.md | 152 +- content/docs/latest/hiveplugins_27362098.md | 7 +- content/docs/latest/hiveql_27362097.md | 7 +- .../hivereplicationdevelopment_55155632.md | 67 +- .../hivereplicationv2development_66850051.md | 98 +- .../latest/hiveserver2-clients_30758725.md | 343 +++-- .../latest/hiveserver2-overview_65147648.md | 25 +- .../latest/hiveserver2-thrift-api_27843687.md | 7 +- content/docs/latest/hiveserver_27362111.md | 7 +- .../docs/latest/hivewebinterface_27362110.md | 59 +- content/docs/latest/home_27362069.md | 73 +- .../docs/latest/how-to-articles_65877302.md | 7 +- .../how-to-edit-the-website_33294834.md | 14 +- content/docs/latest/howl_27362109.md | 7 +- content/docs/latest/howtocommit_27362108.md | 32 +- .../docs/latest/howtocontribute_27362107.md | 237 +-- content/docs/latest/howtorelease_27362106.md | 102 +- .../docs/latest/indexdev-bitmap_27362028.md | 17 +- content/docs/latest/indexdev_27362104.md | 609 ++++---- .../introduction-to-apache-hive_283118337.md | 11 +- .../latest/jdbc-storage-handler_95651916.md | 32 +- .../docs/latest/jenkins-script_33295285.md | 7 +- .../docs/latest/kudu-integration_133631955.md | 37 +- .../languagemanual-archiving_27362031.md | 21 +- .../languagemanual-authorization_27362032.md | 34 +- .../latest/languagemanual-cli_27362033.md | 78 +- .../languagemanual-commands_34838882.md | 43 +- ...guagemanual-ddl-bucketedtables_27362035.md | 7 +- .../latest/languagemanual-ddl_27362034.md | 289 ++-- .../latest/languagemanual-dml_27362036.md | 139 +- .../latest/languagemanual-explain_27362037.md | 33 +- .../latest/languagemanual-groupby_27362038.md | 21 +- .../languagemanual-importexport_27837968.md | 17 +- .../languagemanual-indexing_31822176.md | 9 +- ...anguagemanual-joinoptimization_33293167.md | 60 +- .../latest/languagemanual-joins_27362039.md | 54 +- .../languagemanual-lateralview_27362040.md | 53 +- .../latest/languagemanual-lzo_33298193.md | 39 +- .../latest/languagemanual-orc_31818911.md | 61 +- .../languagemanual-sampling_27362042.md | 11 +- .../latest/languagemanual-select_27362043.md | 35 +- .../latest/languagemanual-sortby_27362045.md | 17 +- .../languagemanual-subqueries_27362044.md | 7 +- .../languagemanual-transform_27362047.md | 11 +- .../latest/languagemanual-types_27838462.md | 161 ++- .../latest/languagemanual-udf_27362046.md | 707 +++++---- .../latest/languagemanual-union_27362049.md | 25 +- ...agemanual-variablesubstitution_30754722.md | 8 +- .../languagemanual-virtualcolumns_27362048.md | 9 +- ...gemanual-windowingandanalytics_31819589.md | 116 +- .../languagemanual-xpathudf_27362051.md | 12 +- .../docs/latest/languagemanual_27362030.md | 87 +- content/docs/latest/links_27847416.md | 221 ++- content/docs/latest/listbucketing_27846854.md | 100 +- content/docs/latest/literals_27829682.md | 17 +- content/docs/latest/llap_62689557.md | 39 +- content/docs/latest/locking_27362050.md | 15 +- .../managed-vs--external-tables_95654003.md | 7 +- .../latest/manual-installation_283118363.md | 49 +- .../mapjoin-and-partition-pruning_34015666.md | 123 +- .../latest/mapjoinoptimization_27362029.md | 27 +- .../materialized-views-in-hive_283118346.md | 7 +- .../latest/materialized-views_80447331.md | 587 ++++---- .../latest/metastore-api-tests_75958143.md | 7 +- .../latest/metastore-tlp-proposal_71013238.md | 9 +- .../docs/latest/minidriver-tests_38571221.md | 7 +- .../docs/latest/multidelimitserde_46631999.md | 26 +- .../latest/operatorsandfunctions_30754909.md | 16 +- .../docs/latest/outerjoinbehavior_35749927.md | 33 +- .../overview-of-major-changes_283118379.md | 193 ++- content/docs/latest/parquet_38570914.md | 25 +- .../partition-filter-syntax_103092177.md | 7 +- .../docs/latest/partitionedviews_27362053.md | 17 +- content/docs/latest/performance_27362052.md | 7 +- ...permission-inheritance-in-hive_48203008.md | 23 +- .../latest/plugindeveloperkit_27820324.md | 29 +- content/docs/latest/poweredby_27362055.md | 7 +- content/docs/latest/presentations_27362054.md | 64 +- .../docs/latest/query-reexecution_87298873.md | 45 +- content/docs/latest/rcfile_58851803.md | 7 +- content/docs/latest/rcfilecat_30748712.md | 15 +- .../latest/rebalance-compaction_240884502.md | 11 +- content/docs/latest/reflectudf_30754716.md | 18 +- .../docs/latest/relatedprojects_34836686.md | 7 +- ...tion-of-hive-cli-using-beeline_61311909.md | 68 +- content/docs/latest/replication_61336919.md | 39 +- content/docs/latest/roadmap_27362057.md | 43 +- content/docs/latest/running-yetus_71012969.md | 7 +- .../latest/scheduled-queries_145724128.md | 133 +- content/docs/latest/security_27362056.md | 7 +- content/docs/latest/serde_27362059.md | 82 +- .../setting-up-hive-with-docker_282102281.md | 27 +- .../latest/setting-up-hiveserver2_30758712.md | 69 +- .../skewed-join-optimization_27847852.md | 34 +- .../docs/latest/spatial-queries_34022710.md | 7 +- ...ndard-based-hive-authorization_40509928.md | 146 +- .../latest/starrocks-integration_272927528.md | 7 +- .../statisticsanddatamining_27362058.md | 43 +- content/docs/latest/statsdev_27362062.md | 625 ++++---- .../storage-api-release-proposal_67635447.md | 7 +- ...zation-in-the-metastore-server_45876440.md | 17 +- .../docs/latest/storagehandlers_27362063.md | 19 +- .../streaming-data-ingest-v2_85477610.md | 43 +- .../latest/streaming-data-ingest_40509746.md | 51 +- .../latest/subqueries-in-select_68717850.md | 17 +- ...in-hms-schema-upgrade-scripts_138022168.md | 11 +- .../synchronized-metastore-cache_110692851.md | 19 +- .../latest/teradatabinaryserde_89068127.md | 79 +- content/docs/latest/testingdocs_42567126.md | 7 +- content/docs/latest/theta-join_33293991.md | 37 +- .../latest/tipsforaddingnewtests_27362060.md | 7 +- content/docs/latest/top-k-stats_30150275.md | 25 +- ...sitivity-on-predicate-pushdown_27823388.md | 7 +- content/docs/latest/tutorial_27362061.md | 301 ++-- .../type-qualifiers-in-hive_33298524.md | 25 +- .../latest/union-optimization_29688910.md | 15 +- .../unit-test-parallel-execution_27833687.md | 99 +- .../latest/unit-testing-hive-sql_61328063.md | 28 +- .../docs/latest/updatableviews_27824044.md | 7 +- ...ap-atn-provider-in-hiveserver2_58852417.md | 70 +- content/docs/latest/user-faq_27362095.md | 73 +- content/docs/latest/userguide_27362066.md | 7 +- ...s-the-hive-metastore-database_158872426.md | 47 +- .../vectorized-query-execution_34838326.md | 13 +- content/docs/latest/viewdev_27362067.md | 51 +- .../docs/latest/webhcat-configure_34015738.md | 91 +- .../webhcat-reference-allddl_34016001.md | 57 +- .../latest/webhcat-reference-ddl_34015990.md | 45 +- .../webhcat-reference-deletedb_34016281.md | 43 +- .../webhcat-reference-deletejob_34017204.md | 51 +- .../webhcat-reference-deletejobid_34835045.md | 49 +- ...hcat-reference-deletepartition_34016611.md | 47 +- .../webhcat-reference-deletetable_34016561.md | 43 +- .../webhcat-reference-getcolumn_34016979.md | 43 +- .../webhcat-reference-getcolumns_34016970.md | 41 +- .../webhcat-reference-getdb_34016250.md | 43 +- .../webhcat-reference-getdbs_34016238.md | 35 +- ...webhcat-reference-getpartition_34016592.md | 57 +- ...ebhcat-reference-getpartitions_34016583.md | 39 +- ...ebhcat-reference-getproperties_34016995.md | 39 +- .../webhcat-reference-getproperty_34017004.md | 43 +- .../webhcat-reference-gettable_34016519.md | 61 +- .../webhcat-reference-gettables_34016290.md | 41 +- .../latest/webhcat-reference-hive_34017180.md | 51 +- .../latest/webhcat-reference-job_34835065.md | 53 +- .../webhcat-reference-jobids_34017187.md | 33 +- .../webhcat-reference-jobinfo_34017194.md | 53 +- .../latest/webhcat-reference-jobs_34835057.md | 49 +- ...webhcat-reference-mapreducejar_34017030.md | 55 +- ...hcat-reference-mapreducestream_34017023.md | 59 +- .../latest/webhcat-reference-pig_34017169.md | 51 +- .../webhcat-reference-posttable_34016548.md | 47 +- .../webhcat-reference-putcolumn_34016987.md | 49 +- .../webhcat-reference-putdb_34016273.md | 43 +- ...webhcat-reference-putpartition_34016600.md | 49 +- .../webhcat-reference-putproperty_34017012.md | 45 +- .../webhcat-reference-puttable_34016540.md | 65 +- ...webhcat-reference-puttablelike_34016572.md | 51 +- ...ebhcat-reference-responsetypes_34015937.md | 35 +- .../webhcat-reference-status_34015941.md | 29 +- .../webhcat-reference-version_34015986.md | 29 +- ...ebhcat-reference-versionhadoop_44303410.md | 21 +- .../webhcat-reference-versionhive_44303406.md | 21 +- .../docs/latest/webhcat-reference_34015762.md | 89 +- .../latest/webhcat-usingwebhcat_34015492.md | 29 +- content/docs/latest/webhcat_33299069.md | 7 +- content/general/PrivacyPolicy.md | 36 +- content/general/downloads.md | 443 +++--- pom.xml | 61 + .../static/attachments/27362075/35193191.md | 124 +- 313 files changed, 10512 insertions(+), 11303 deletions(-) create mode 100644 pom.xml diff --git a/.gitignore b/.gitignore index 3cca7a04..bba70342 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ themes/.DS_Store themes/hive/.DS_Store themes/hive/static/.DS_Store .hugo_build.lock +target diff --git a/README.md b/README.md index 8fcb6faa..8bab76ac 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,21 @@ +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 Hive Documentation Site This repository contains the code for generating the Apache Hive web site. @@ -25,13 +26,14 @@ It's built with Hugo and hosted at https://hive.apache.org. * Clone this repository. * Install [hugo] on macOS: - ```brew install hugo``` -* For other OS please refer: [hugo-install] +```brew install hugo``` +* For other OS please refer: [hugo-install] * To verify your new install: ```hugo version``` * To build and start the Hugo server run: + ``` >>> hugo server -D @@ -55,19 +57,20 @@ Running in Fast Render Mode. For full rebuilds on change: hugo server --disableF Web Server is available at http://localhost:1313/ (bind address 127.0.0.1) Press Ctrl+C to stop ``` -* Navigate to `http://localhost:1313/` to view the site locally. +* Navigate to `http://localhost:1313/` to view the site locally. -### To Add New Content +### To Add New Content -* To add new markdown file : -`hugo new general/Downloads.md` +* To add new markdown file : + `hugo new general/Downloads.md` * Update `themes/hive/layouts/partials/menu.html` and `config.toml` to add navigation link to the markdown page as needed. ### Pushing to site -Commit and push the changes to the main branch. The site is automatically deployed from the site directory. +Commit and push the changes to the main branch. The site is automatically deployed from the site directory. [hugo]: https://gohugo.io/getting-started/quick-start/ -[hugo-install]: https://gohugo.io/installation/ \ No newline at end of file +[hugo-install]: https://gohugo.io/installation/ + diff --git a/archetypes/default.md b/archetypes/default.md index 00e77bd7..d931b58a 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,6 +1,7 @@ --- + title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} draft: true ---- +----------- diff --git a/content/Development/gettingStarted.md b/content/Development/gettingStarted.md index b21fd171..37da90de 100644 --- a/content/Development/gettingStarted.md +++ b/content/Development/gettingStarted.md @@ -1,27 +1,27 @@ --- + title: "Getting Started" date: 2023-01-10T12:35:11+05:30 draft: false ---- +------------ +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 Apache Hive ™ data warehouse software facilitates reading, writing, and managing large datasets residing in distributed storage @@ -29,20 +29,25 @@ using SQL. Structure can be projected onto data already in storage. A command line tool and JDBC driver are provided to connect users to Hive. - # Getting Started With Apache Hive Software + --- + * Check out the [Getting Started Guide][GETTING_STARTED]. * Learn more [About Hive's Functionality][HIVE_DETAILS]. * Read the [Getting Started Guide][GETTING_STARTED] to learn how to install Hive * The [User and Hive SQL documentation][HIVE_QL] shows how to program Hive ## Quick start with Docker + --- + Checkout the quickstart with Docker here: [DOCKER_QUICKSTART] # Getting Involved With The Apache Hive Community + --- + Apache Hive is an open source project run by volunteers at the Apache Software Foundation. Previously it was a subproject of [Apache® Hadoop®][APACHE_HADOOP], but has now graduated to become a @@ -67,4 +72,3 @@ project and contribute your expertise. [HIVE_TWITTER]: https://twitter.com/apachehive [DOCKER_QUICKSTART]: /development/quickstart/ - diff --git a/content/Development/quickStart.md b/content/Development/quickStart.md index 74282960..48e09803 100644 --- a/content/Development/quickStart.md +++ b/content/Development/quickStart.md @@ -1,170 +1,221 @@ --- + title: "QuickStarted" date: 2023-05-12T17:51:06+05:30 draft: false ---- +------------ ### Introduction --- -Run Apache Hive inside docker container in pseudo-distributed mode, inorder to provide the following Quick-start/Debugging/Prepare a test env for Hive +Run Apache Hive inside docker container in pseudo-distributed mode, inorder to provide the following Quick-start/Debugging/Prepare a test env for Hive ### Quickstart --- -##### **STEP 1: Pull the image** +##### **STEP 1: Pull the image** - Pull the image from DockerHub: https://hub.docker.com/r/apache/hive/tags. Here are the latest images: - 4.0.0 - 3.1.3 + ```shell docker pull apache/hive:4.0.0 ``` + ` ` + ##### **STEP 2: Export the Hive version** + ```shell export HIVE_VERSION=4.0.0 ``` + ` ` + ##### **STEP 3: Launch the HiveServer2 with an embedded Metastore.** + This is lightweight and for a quick setup, it uses Derby as metastore db. + ```shell docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 --name hive4 apache/hive:${HIVE_VERSION} ``` + ` ` + ##### **STEP 4: Connect to beeline** ```shell docker exec -it hiveserver2 beeline -u 'jdbc:hive2://hiveserver2:10000/' ``` + ` ` + ##### Note: Launch Standalone Metastore To use standalone Metastore with Derby, ```shell docker run -d -p 9083:9083 --env SERVICE_NAME=metastore --name metastore-standalone apache/hive:${HIVE_VERSION} ``` + ` ` + ## Detailed Setup --- + ##### - Build image Apache Hive relies on Hadoop, Tez and some others to facilitate reading, writing, and managing large datasets. The [/packaging/src/docker/build.sh] provides ways to build the image against specified version of the dependent, as well as build from source. ##### - Build from source + ```shell mvn clean package -pl packaging -DskipTests -Pdocker ``` + ` ` + ##### - Build with specified version There are some arguments to specify the component version: + ```shell -hadoop -tez -hive ``` + If the version is not provided, it will read the version from current `pom.xml`: `project.version`, `hadoop.version` and `tez.version` for Hive, Hadoop and Tez respectively. For example, the following command uses Hive 4.0.0, Hadoop `hadoop.version` and Tez `tez.version` to build the image, + ```shell ./build.sh -hive 4.0.0 ``` + If the command does not specify the Hive version, it will use the local `apache-hive-${project.version}-bin.tar.gz`(will trigger a build if it doesn't exist), together with Hadoop 3.3.6 and Tez 0.10.3 to build the image, + ```shell ./build.sh -hadoop 3.3.6 -tez 0.10.3 ``` + After building successfully, we can get a Docker image named `apache/hive` by default, the image is tagged by the provided Hive version. ### Run services + --- + Before going further, we should define the environment variable `HIVE_VERSION` first. For example, if `-hive 4.0.0` is specified to build the image, + ```shell export HIVE_VERSION=4.0.0 ``` + or assuming that you're relying on current `project.version` from pom.xml, + ```shell export HIVE_VERSION=$(mvn -f pom.xml -q help:evaluate -Dexpression=project.version -DforceStdout) ``` + ` ` + ##### **- Metastore** For a quick start, launch the Metastore with Derby, - ```shell - docker run -d -p 9083:9083 --env SERVICE_NAME=metastore --name metastore-standalone apache/hive:${HIVE_VERSION} - ``` + +```shell +docker run -d -p 9083:9083 --env SERVICE_NAME=metastore --name metastore-standalone apache/hive:${HIVE_VERSION} +``` + Everything would be lost when the service is down. In order to save the Hive table's schema and data, start the container with an external Postgres and Volume to keep them, - ```shell - docker run -d -p 9083:9083 --env SERVICE_NAME=metastore --env DB_DRIVER=postgres \ - --env SERVICE_OPTS="-Djavax.jdo.option.ConnectionDriverName=org.postgresql.Driver -Djavax.jdo.option.ConnectionURL=jdbc:postgresql://postgres:5432/metastore_db -Djavax.jdo.option.ConnectionUserName=hive -Djavax.jdo.option.ConnectionPassword=password" \ - --mount source=warehouse,target=/opt/hive/data/warehouse \ - --mount type=bind,source=`mvn help:evaluate -Dexpression=settings.localRepository -q -DforceStdout`/org/postgresql/postgresql/42.5.1/postgresql-42.5.1.jar,target=/opt/hive/lib/postgres.jar \ - --name metastore-standalone apache/hive:${HIVE_VERSION} - ``` +```shell +docker run -d -p 9083:9083 --env SERVICE_NAME=metastore --env DB_DRIVER=postgres \ + --env SERVICE_OPTS="-Djavax.jdo.option.ConnectionDriverName=org.postgresql.Driver -Djavax.jdo.option.ConnectionURL=jdbc:postgresql://postgres:5432/metastore_db -Djavax.jdo.option.ConnectionUserName=hive -Djavax.jdo.option.ConnectionPassword=password" \ + --mount source=warehouse,target=/opt/hive/data/warehouse \ + --mount type=bind,source=`mvn help:evaluate -Dexpression=settings.localRepository -q -DforceStdout`/org/postgresql/postgresql/42.5.1/postgresql-42.5.1.jar,target=/opt/hive/lib/postgres.jar \ + --name metastore-standalone apache/hive:${HIVE_VERSION} +``` + If you want to use your own `hdfs-site.xml` or `yarn-site.xml` for the service, you can provide the environment variable `HIVE_CUSTOM_CONF_DIR` for the command. For instance, put the custom configuration file under the directory `/opt/hive/conf`, then, - ```shell - docker run -d -p 9083:9083 --env SERVICE_NAME=metastore --env DB_DRIVER=postgres \ - -v /opt/hive/conf:/hive_custom_conf --env HIVE_CUSTOM_CONF_DIR=/hive_custom_conf \ - --mount type=bind,source=`mvn help:evaluate -Dexpression=settings.localRepository -q -DforceStdout`/org/postgresql/postgresql/42.5.1/postgresql-42.5.1.jar,target=/opt/hive/lib/postgres.jar \ - --name metastore apache/hive:${HIVE_VERSION} - ``` +```shell +docker run -d -p 9083:9083 --env SERVICE_NAME=metastore --env DB_DRIVER=postgres \ + -v /opt/hive/conf:/hive_custom_conf --env HIVE_CUSTOM_CONF_DIR=/hive_custom_conf \ + --mount type=bind,source=`mvn help:evaluate -Dexpression=settings.localRepository -q -DforceStdout`/org/postgresql/postgresql/42.5.1/postgresql-42.5.1.jar,target=/opt/hive/lib/postgres.jar \ + --name metastore apache/hive:${HIVE_VERSION} +``` + For Hive releases before 4.0, if you want to upgrade the existing external Metastore schema to the target version, then add `--env SCHEMA_COMMAND=upgradeSchema` to the command. To skip schematool initialisation or upgrade for metastore use `--env IS_RESUME="true"`, for verbose logging set `--env VERBOSE="true"`. ` ` -##### **- HiveServer2** + +##### **- HiveServer2** Launch the HiveServer2 with an embedded Metastore, - ```shell - docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 --name hiveserver2-standalone apache/hive:${HIVE_VERSION} - ``` + +```shell +docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 --name hiveserver2-standalone apache/hive:${HIVE_VERSION} +``` + or specify a remote Metastore if it's available, - ```shell - docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 \ - --env SERVICE_OPTS="-Dhive.metastore.uris=thrift://metastore:9083" \ - --env IS_RESUME="true" \ - --name hiveserver2-standalone apache/hive:${HIVE_VERSION} - ``` + +```shell +docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 \ + --env SERVICE_OPTS="-Dhive.metastore.uris=thrift://metastore:9083" \ + --env IS_RESUME="true" \ + --name hiveserver2-standalone apache/hive:${HIVE_VERSION} +``` + To save the data between container restarts, you can start the HiveServer2 with a Volume, - ```shell - docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 \ - --env SERVICE_OPTS="-Dhive.metastore.uris=thrift://metastore:9083" \ - --mount source=warehouse,target=/opt/hive/data/warehouse \ - --env IS_RESUME="true" \ - --name hiveserver2 apache/hive:${HIVE_VERSION} - ``` + +```shell +docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 \ + --env SERVICE_OPTS="-Dhive.metastore.uris=thrift://metastore:9083" \ + --mount source=warehouse,target=/opt/hive/data/warehouse \ + --env IS_RESUME="true" \ + --name hiveserver2 apache/hive:${HIVE_VERSION} +``` + ` ` + ##### **- HiveServer2, Metastore** To get a quick overview of both HiveServer2 and Metastore, there is a `docker-compose.yml` placed under `packaging/src/docker` for this purpose, specify the `POSTGRES_LOCAL_PATH` first: + ```shell export POSTGRES_LOCAL_PATH=your_local_path_to_postgres_driver ``` + Example: + ```shell mvn dependency:copy -Dartifact="org.postgresql:postgresql:42.5.1" && \ export POSTGRES_LOCAL_PATH=`mvn help:evaluate -Dexpression=settings.localRepository -q -DforceStdout`/org/postgresql/postgresql/42.5.1/postgresql-42.5.1.jar ``` + If you don't install maven or have problem in resolving the postgres driver, you can always download this jar yourself, change the `POSTGRES_LOCAL_PATH` to the path of the downloaded jar. Then, + ```shell docker compose up -d ``` + HiveServer2, Metastore and Postgres services will be started as a consequence. Volumes are used to persist data generated by Hive inside Postgres and HiveServer2 containers: -- hive_db - - The volume persists the metadata of Hive tables inside Postgres container. -- warehouse - - The volume stores tables' files inside HiveServer2 container. +- hive_db +- The volume persists the metadata of Hive tables inside Postgres container. +- warehouse +- The volume stores tables' files inside HiveServer2 container. To stop/remove them all, + ```shell docker compose down ``` @@ -174,21 +225,24 @@ docker compose down --- - HiveServer2 web - - Accessed on browser at http://localhost:10002/ + - Accessed on browser at http://localhost:10002/ - Beeline: + ```shell - docker exec -it hiveserver2 beeline -u 'jdbc:hive2://hiveserver2:10000/' - # If beeline is installed on host machine, HiveServer2 can be simply reached via: - beeline -u 'jdbc:hive2://localhost:10000/' + docker exec -it hiveserver2 beeline -u 'jdbc:hive2://hiveserver2:10000/' + # If beeline is installed on host machine, HiveServer2 can be simply reached via: + beeline -u 'jdbc:hive2://localhost:10000/' ``` - Run some queries + ```sql - show tables; - create table hive_example(a string, b int) partitioned by(c int); - alter table hive_example add partition(c=1); - insert into hive_example partition(c=1) values('a', 1), ('a', 2),('b',3); - select count(distinct a) from hive_example; - select sum(b) from hive_example; + show tables; + create table hive_example(a string, b int) partitioned by(c int); + alter table hive_example add partition(c=1); + insert into hive_example partition(c=1) values('a', 1), ('a', 2),('b',3); + select count(distinct a) from hive_example; + select sum(b) from hive_example; ``` - -[/packaging/src/docker/build.sh]: https://github.com/apache/hive/blob/master/packaging/src/docker/build.sh \ No newline at end of file + +[/packaging/src/docker/build.sh]: https://github.com/apache/hive/blob/master/packaging/src/docker/build.sh + diff --git a/content/Development/versionControl.md b/content/Development/versionControl.md index d3a1bf8a..d4449f80 100644 --- a/content/Development/versionControl.md +++ b/content/Development/versionControl.md @@ -1,29 +1,31 @@ --- + title: "Version Control" date: 2022-09-14T00:34:39+05:30 draft: false aliases: [/version_control.html] ---- +-------------------------------- +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. --> # Version Control + --- The Hive source code resides in Apache's [Hive GitHub](https://github.com/apache/hive) @@ -31,3 +33,4 @@ The Hive source code resides in Apache's [Hive GitHub](https://github.com/apache * Anonymous clone via http - * Authenticated clone via ssh - git@github.com:apache/hive.git * Instructions: [Apache committer git instructions](https://git.apache.org/) + diff --git a/content/_index.md b/content/_index.md index a6a4c8ab..0632d11f 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,26 +1,27 @@ --- + title: "Apache Hive" date: 2023-01-27T19:16:15+05:30 draft: false ---- +------------ +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 Apache Hive ™ data warehouse software facilitates reading, writing, and managing large datasets residing in distributed storage @@ -60,4 +61,3 @@ project and contribute your expertise. [CONTRIBUTOR]: {{ site.wiki }}/Home#Home-ResourcesforContributors [HIVE_TWITTER]: https://twitter.com/apachehive - diff --git a/content/community/becomingcommitter/index.md b/content/community/becomingcommitter/index.md index ff21ce93..949a7c1c 100644 --- a/content/community/becomingcommitter/index.md +++ b/content/community/becomingcommitter/index.md @@ -1,7 +1,8 @@ --- + title: "Apache Hive : BecomingACommitter" date: 2024-12-12 ---- +---------------- # Apache Hive : BecomingACommitter @@ -48,7 +49,3 @@ It should go without saying, but here it is anyway: your participation in the pr ![](images/icons/bullet_blue.gif) - - - - diff --git a/content/community/bylaws.md b/content/community/bylaws.md index e22ad30d..1abfac5f 100644 --- a/content/community/bylaws.md +++ b/content/community/bylaws.md @@ -1,23 +1,24 @@ --- + title: "Apache Hive : Bylaws" date: 2024-12-12 ---- +---------------- # Apache Hive : Bylaws # Apache Hive Project Bylaws * [Apache Hive Project Bylaws]({{< ref "#apache-hive-project-bylaws" >}}) - + [Roles and Responsibilities]({{< ref "#roles-and-responsibilities" >}}) - - [Users]({{< ref "#users" >}}) - - [Committers]({{< ref "#committers" >}}) - - [Submodule Committers]({{< ref "#submodule-committers" >}}) - - [Project Management Committee]({{< ref "#project-management-committee" >}}) - + [Decision Making]({{< ref "#decision-making" >}}) - - [Voting]({{< ref "#voting" >}}) - - [Approvals]({{< ref "#approvals" >}}) - - [Vetoes]({{< ref "#vetoes" >}}) - - [Actions]({{< ref "#actions" >}}) + + [Roles and Responsibilities]({{< ref "#roles-and-responsibilities" >}}) + - [Users]({{< ref "#users" >}}) + - [Committers]({{< ref "#committers" >}}) + - [Submodule Committers]({{< ref "#submodule-committers" >}}) + - [Project Management Committee]({{< ref "#project-management-committee" >}}) + + [Decision Making]({{< ref "#decision-making" >}}) + - [Voting]({{< ref "#voting" >}}) + - [Approvals]({{< ref "#approvals" >}}) + - [Vetoes]({{< ref "#vetoes" >}}) + - [Actions]({{< ref "#actions" >}}) This document defines the bylaws under which the Apache Hive project operates. It defines the roles and responsibilities of the project, who may vote, how voting works, how conflicts are resolved, etc. @@ -84,12 +85,12 @@ Within the Hive project, different types of decisions require different forms of Decisions regarding the project are made by votes on the primary project development mailing list ([user@hive.apache.org]({{< ref "mailto:user@pig-apache-org" >}})). Where necessary, PMC voting may take place on the private Hive PMC mailing list. Votes are clearly indicated by subject line starting with [VOTE]. Votes may contain multiple items for approval and these should be clearly separated. Voting is carried out by replying to the vote mail. Voting may take four flavors -| Vote | Meaning | -| --- | --- | -| +1 | 'Yes,' 'Agree,' or 'the action should be performed.' In general, this vote also indicates a willingness on the behalf of the voter in 'making it happen'. | -| +0 | This vote indicates a willingness for the action under consideration to go ahead. The voter, however will not be able to help. | -| -0 | This vote indicates that the voter does not, in general, agree with the proposed action but is not concerned enough to prevent the action going ahead. | -| -1 | This is a negative vote. On issues where consensus is required, this vote counts as a **veto**. All vetoes must contain an explanation of why the veto is appropriate. Vetoes with no explanation are void. It may also be appropriate for a -1 vote to include an alternative course of action. | +| Vote | Meaning | +|------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| +1 | 'Yes,' 'Agree,' or 'the action should be performed.' In general, this vote also indicates a willingness on the behalf of the voter in 'making it happen'. | +| +0 | This vote indicates a willingness for the action under consideration to go ahead. The voter, however will not be able to help. | +| -0 | This vote indicates that the voter does not, in general, agree with the proposed action but is not concerned enough to prevent the action going ahead. | +| -1 | This is a negative vote. On issues where consensus is required, this vote counts as a **veto**. All vetoes must contain an explanation of why the veto is appropriate. Vetoes with no explanation are void. It may also be appropriate for a -1 vote to include an alternative course of action. | All participants in the Hive project are encouraged to show their agreement with or against a particular action by voting. For technical decisions, only the votes of active committers are binding. Non binding votes are still useful for those with binding votes to understand the perception of an action in the wider Hive community. For PMC decisions, only the votes of PMC members are binding. @@ -99,13 +100,13 @@ Voting can also be applied to changes already made to the Hive codebase. These t These are the types of approvals that can be sought. Different actions require different types of approvals. -| Approval Type | Definition | -| --- | --- | -| Consensus | For this to pass, all voters with binding votes must vote and there can be no binding vetoes (-1). Consensus votes are rarely required due to the impracticality of getting all eligible voters to cast a vote. | -| Lazy Consensus | Lazy consensus requires 3 binding +1 votes and no binding vetoes. | -| Lazy Majority | A lazy majority vote requires 3 binding +1 votes and more binding +1 votes that -1 votes. | -| Lazy Approval | An action with lazy approval is implicitly allowed unless a -1 vote is received, at which time, depending on the type of action, either lazy majority or lazy consensus approval must be obtained. | -| 2/3 Majority | Some actions require a 2/3 majority of active committers or PMC members to pass. Such actions typically affect the foundation of the project (e.g. adopting a new codebase to replace an existing product). The higher threshold is designed to ensure such changes are strongly supported. To pass this vote requires at least 2/3 of binding vote holders to vote +1. | +| Approval Type | Definition | +|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Consensus | For this to pass, all voters with binding votes must vote and there can be no binding vetoes (-1). Consensus votes are rarely required due to the impracticality of getting all eligible voters to cast a vote. | +| Lazy Consensus | Lazy consensus requires 3 binding +1 votes and no binding vetoes. | +| Lazy Majority | A lazy majority vote requires 3 binding +1 votes and more binding +1 votes that -1 votes. | +| Lazy Approval | An action with lazy approval is implicitly allowed unless a -1 vote is received, at which time, depending on the type of action, either lazy majority or lazy consensus approval must be obtained. | +| 2/3 Majority | Some actions require a 2/3 majority of active committers or PMC members to pass. Such actions typically affect the foundation of the project (e.g. adopting a new codebase to replace an existing product). The higher threshold is designed to ensure such changes are strongly supported. To pass this vote requires at least 2/3 of binding vote holders to vote +1. | ### Vetoes @@ -115,21 +116,17 @@ If you disagree with a valid veto, you must lobby the person casting the veto to ### Actions -| Actions | Description | Approval | Binding Votes | Minimum Length | Mailing List | -| --- | --- | --- | --- | --- | --- | -| Code Change | A change made to a codebase of the project and committed by a committer. This includes source code, documentation, website content, etc. | one +1 from a committer who has not authored the patch followed by a Lazy approval (not counting the vote of the contributor), moving to lazy majority if a -1 is receivedMinor issues (e.g. typos, code style issues, JavaDoc changes. At committer's discretion) can be committed after soliciting feedback/review on the mailing list and not receiving feedback within 2 days. | Active committers | 1 | JIRA (dev@hive.apache.org) | -| Release Plan | Defines the timetable and actions for a release. The plan also nominates a Release Manager. | Lazy majority | Active committers | 3 | user@hive.apache.org | -| Product Release | When a release of one of the project's products is ready, a vote is required to accept the release as an official release of the project. | Lazy Majority | Active PMC members | 3 | user@hive.apache.org | -| Adoption of New Codebase | When the codebase for an existing, released product is to be replaced with an alternative codebase. If such a vote fails to gain approval, the existing code base will continue. This also covers the creation of new sub-projects *and submodules* within the project. | 2/3 majority | Active PMC members | 6 | dev@hive.apache.org | -| New Committer | When a new committer is proposed for the project. | Lazy consensus | Active PMC members | 3 | private@hive.apache.org | -| New PMC Member | When a committer is proposed for the PMC. | Lazy consensus | Active PMC members | 3 | private@hive.apache.org | -| Committer Removal | When removal of commit privileges is sought. **Note:** Such actions will also be referred to the ASF board by the PMC chair. | Consensus | Active PMC members (excluding the committer in question if a member of the PMC). | 6 | private@hive.apache.org | -| PMC Member Removal | When removal of a PMC member is sought. **Note:** Such actions will also be referred to the ASF board by the PMC chair. | Consensus | Active PMC members (excluding the member in question). | 6 | private@hive.apache.org | -| Modifying Bylaws | Modifying this document. | 2/3 majority | Active PMC members | 6 | user@hive.apache.org | -| New Branch Committer | When a new branch committer is proposed for the project. | Lazy Consensus | Active PMC members | 3 | private@hive.apache.org | -| Removal of Branch Committer | When a branch committer is removed from the project. | Consensus | Active PMC members excluding the committer in question if they are PMC members too. | 6 | private@hive.apache.org | - - - - +| Actions | Description | Approval | Binding Votes | Minimum Length | Mailing List | +|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|----------------|----------------------------| +| Code Change | A change made to a codebase of the project and committed by a committer. This includes source code, documentation, website content, etc. | one +1 from a committer who has not authored the patch followed by a Lazy approval (not counting the vote of the contributor), moving to lazy majority if a -1 is receivedMinor issues (e.g. typos, code style issues, JavaDoc changes. At committer's discretion) can be committed after soliciting feedback/review on the mailing list and not receiving feedback within 2 days. | Active committers | 1 | JIRA (dev@hive.apache.org) | +| Release Plan | Defines the timetable and actions for a release. The plan also nominates a Release Manager. | Lazy majority | Active committers | 3 | user@hive.apache.org | +| Product Release | When a release of one of the project's products is ready, a vote is required to accept the release as an official release of the project. | Lazy Majority | Active PMC members | 3 | user@hive.apache.org | +| Adoption of New Codebase | When the codebase for an existing, released product is to be replaced with an alternative codebase. If such a vote fails to gain approval, the existing code base will continue. This also covers the creation of new sub-projects *and submodules* within the project. | 2/3 majority | Active PMC members | 6 | dev@hive.apache.org | +| New Committer | When a new committer is proposed for the project. | Lazy consensus | Active PMC members | 3 | private@hive.apache.org | +| New PMC Member | When a committer is proposed for the PMC. | Lazy consensus | Active PMC members | 3 | private@hive.apache.org | +| Committer Removal | When removal of commit privileges is sought. **Note:** Such actions will also be referred to the ASF board by the PMC chair. | Consensus | Active PMC members (excluding the committer in question if a member of the PMC). | 6 | private@hive.apache.org | +| PMC Member Removal | When removal of a PMC member is sought. **Note:** Such actions will also be referred to the ASF board by the PMC chair. | Consensus | Active PMC members (excluding the member in question). | 6 | private@hive.apache.org | +| Modifying Bylaws | Modifying this document. | 2/3 majority | Active PMC members | 6 | user@hive.apache.org | +| New Branch Committer | When a new branch committer is proposed for the project. | Lazy Consensus | Active PMC members | 3 | private@hive.apache.org | +| Removal of Branch Committer | When a branch committer is removed from the project. | Consensus | Active PMC members excluding the committer in question if they are PMC members too. | 6 | private@hive.apache.org | diff --git a/content/community/issueTracking.md b/content/community/issueTracking.md index 655c44b6..5883563a 100644 --- a/content/community/issueTracking.md +++ b/content/community/issueTracking.md @@ -1,29 +1,31 @@ --- + title: "Issue Tracking" date: 2022-09-14T01:05:14+05:30 draft: false aliases: [/issue_tracking.html] ---- +------------------------------- +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. --> # Issue Tracking + --- Hive tracks both bugs and enhancement requests using [Apache @@ -35,4 +37,5 @@ following: * Check the [user mailing list][mailingLists], both by searching the archives and by asking questions. [JIRA]:https://issues.apache.org/jira/browse/HIVE -[mailingLists]: /community/mailinglists/ \ No newline at end of file +[mailingLists]: /community/mailinglists/ + diff --git a/content/community/mailingLists.md b/content/community/mailingLists.md index 002bc5e8..4d860e80 100644 --- a/content/community/mailingLists.md +++ b/content/community/mailingLists.md @@ -1,4 +1,5 @@ --- + title: "Mailing Lists" date: 2022-09-14T01:01:04+05:30 draft: false @@ -7,31 +8,34 @@ aliases: [/mailing_lists.html] --- +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. --> # Mailing Lists + --- We welcome you to join our mailing lists and let us know about your thoughts or ideas about Hive. ## User Mailing List + --- + The user list is for general discussion or questions on using Hive. Hive developers monitor this list and provide assistance when needed. @@ -41,7 +45,9 @@ developers monitor this list and provide assistance when needed. * Archives: [Apache][user_apache] ## Developer Mailing List + --- + The developer list is for Hive developers to discuss ongoing work, make decisions, and vote on technical issues. @@ -51,7 +57,9 @@ decisions, and vote on technical issues. * Archives: [Apache][dev_apache] ## Issues Mailing List + --- + The issues list receives all notifications from the [JIRA] issue tracker. * Subscribe: @@ -60,7 +68,9 @@ The issues list receives all notifications from the [JIRA] issue tracker. * Archives: [Apache][issues_apache] ## Commits Mailing List + --- + The commits list receives notifications with diffs when changes are committed to the Hive source tree. @@ -69,7 +79,9 @@ to the Hive source tree. * Archives: [Apache][commits_apache] ## Security Mailing List + --- + The security mailing list is a private list for discussion of potential security vulnerabilities issues. Please post potential security vulnerabilities to this list so that they may be investigated and fixed before the vulnerabilities is published. __Note: This mailing list is NOT for end-user questions and discussion on security. Please use the user mailing list for such issues.__ @@ -79,11 +91,8 @@ The Hive security mailing list is : . In order to post to the list, it is __NOT__ necessary to first subscribe to it. [user_apache]: http://mail-archives.apache.org/mod_mbox/hive-user - [dev_apache]: http://mail-archives.apache.org/mod_mbox/hive-dev - [JIRA]: https://issues.apache.org/jira/browse/HIVE - [issues_apache]: http://mail-archives.apache.org/mod_mbox/hive-issues - [commits_apache]: http://mail-archives.apache.org/mod_mbox/hive-commits + diff --git a/content/community/people.md b/content/community/people.md index 09453e94..fa55507a 100644 --- a/content/community/people.md +++ b/content/community/people.md @@ -1,45 +1,45 @@ --- + title: "People" date: 2022-09-14T01:23:03+05:30 draft: false aliases: [/people.html] ---- +----------------------- +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. --> # People ---- +--- Apache Hive is a community developed project. The list below is a partial list of contributors to the project, for a complete list you would have to look at all contributors to our issue tracker, mailing list and version control. - - ## Hive PMC + --- -| Apache username | Name | Organization | Role | +| Apache username | Name | Organization | Role | |-----------------|-------------------------|----------------------------------------------------|------| | aihuaxu | Aihua Xu | Cloudera | | -| anishek | Anishek Agarwal | | | +| anishek | Anishek Agarwal | | | | athusoo | Ashish Thusoo | Qubole | | | ayushsaxena | Ayush Saxena | Cloudera | | | brock | Brock Noland | StreamSets | | @@ -82,9 +82,12 @@ at all contributors to our issue tracker, mailing list and version control. | zabetak | Stamatis Zampetakis | Cloudera | | --- + ## Hive Committers + --- -| Apache username | name | organization | + +| Apache username | name | organization | |-----------------|-----------------------------------|------------------------------------------------------------------------------| | amareshwari | Amareshwari Sriramadasu | InMobi | | apivovarov | Alexander Pivovarov | Foster City Hadoop Lab LLC | @@ -127,23 +130,29 @@ at all contributors to our issue tracker, mailing list and version control. PMC members are also Hive committers. ## Catalog Committers + --- -| Apache username | name | organization | + +| Apache username | name | organization | |-----------------|--------------------------|------------------------------------------| | toffer | Francis Christopher Liu | Yahoo! | | avandana | Vandana Ayyalasomayajula | Yahoo! | | travis | Travis Crawford | Twitter | | mithun | Mithun Radhakrishnan | Oath | - --- + ## Contributors + --- + A list of Hive contributors and their contributions is available from [Jira](https://issues.apache.org/jira/secure/ConfigureReport.jspa?projectOrFilterId=project-12310843&statistictype=assignees&selectedProjectId=12310843&reportKey=com.atlassian.jira.plugin.system.reports%3Apie-report&Next=Next). ## Emeritus Hive PMC Members + --- + * Alan Gates * Dhruba Borthakur * Prasad Chakka @@ -152,3 +161,4 @@ A list of Hive contributors and their contributions is available from * John Sichi * Sushanth Sowmyan * Paul Yang + diff --git a/content/docs/javadocs.md b/content/docs/javadocs.md index 2c947b7d..67227dcb 100644 --- a/content/docs/javadocs.md +++ b/content/docs/javadocs.md @@ -1,31 +1,35 @@ --- + title: "Javadocs" date: 2022-08-29T04:01:38+05:30 draft: false aliases: [/javadoc.html] ---- +------------------------ +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. --> ## Recent versions: + --- + #### javadoc and sources jars for use in an IDE are also available via [Nexus](https://repository.apache.org/index.html#nexus-search;gav~org.apache.hive~~~~) + * [Hive 4.0.1 Javadocs](https://svn.apache.org/repos/infra/websites/production/hive/content/javadocs/r4.0.1/api/index.html) * [Hive 4.0.0 Javadocs](https://svn.apache.org/repos/infra/websites/production/hive/content/javadocs/r4.0.0/api/index.html) * [Hive 4.0.0-beta-1 Javadocs](https://svn.apache.org/repos/infra/websites/production/hive/content/javadocs/r4.0.0-beta-1/api/index.html) diff --git a/content/docs/latest/122917025.md b/content/docs/latest/122917025.md index 416bb634..08fa6d29 100644 --- a/content/docs/latest/122917025.md +++ b/content/docs/latest/122917025.md @@ -1,7 +1,8 @@ --- + title: "Apache Hive : CAST...FORMAT with SQL:2016 datetime formats" date: 2024-12-12 ---- +---------------- # Apache Hive : CAST...FORMAT with SQL:2016 datetime formats @@ -11,12 +12,14 @@ date: 2024-12-12 CAST( AS [FORMAT