Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Extra (optional)
Specify the extra parameters (as json dictionary) that can be used in Hive Metastore connection.
The following parameters are all optional:

* ``auth_mechanism``
* ``authMechanism``
Specify the mechanism for authentication the default is ``NOSASL``.
* ``kerberos_service_name``
Specify The kerberos service name the default is ``hive``.
Expand All @@ -66,4 +66,4 @@ For example:

.. code-block:: bash

export AIRFLOW_CONN_METASTORE_DEFAULT='hive-metastore://hive-metastore-node:80?auth_mechanism=NOSASL'
export AIRFLOW_CONN_METASTORE_DEFAULT='hive-metastore://hive-metastore-node:80?authMechanism=NOSASL'
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Extra (optional)
Specify the extra parameters (as json dictionary) that can be used in Hive Server2 connection.
The following parameters are all optional:

* ``auth_mechanism``
* ``authMechanism``
Specify the authentication method for PyHive choose between ``PLAIN``, ``LDAP``, ``KERBEROS`` or, ``Custom`` the default is ``PLAIN``.
* ``kerberos_service_name``
If authenticating with kerberos specify the kerberos service name the default is ``hive``.
Expand All @@ -75,4 +75,4 @@ For example:

.. code-block:: bash

export AIRFLOW_CONN_HIVESERVER2_DEFAULT='hiveserver2://username:password@hiveserver2-node:80/database?auth_mechanism=LDAP'
export AIRFLOW_CONN_HIVESERVER2_DEFAULT='hiveserver2://username:password@hiveserver2-node:80/database?authMechanism=LDAP'
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
</script>
<!-- End Matomo -->


</head><body class="td-section">


<header>

Expand Down Expand Up @@ -76,38 +76,38 @@
<div class="navbar__menu-content" id="main_navbar">

<div class="navbar__links-container">

<a class="navbar__text-link" href="/community/">
Community
</a>

<a class="navbar__text-link" href="/meetups/">
Meetups
</a>

<a class="navbar__text-link" href="/docs/">
Documentation
</a>

<a class="navbar__text-link" href="/use-cases/">
Use-cases
</a>

<a class="navbar__text-link" href="/announcements/">
Announcements
</a>

<a class="navbar__text-link" href="/blog/">
Blog
</a>

<a class="navbar__text-link" href="/ecosystem/">
Ecosystem
</a>

</div>



</div>

Expand Down Expand Up @@ -151,38 +151,38 @@
<div class="navbar__menu-content" id="main_navbar">

<div class="navbar__links-container">

<a class="navbar__text-link" href="/community/">
Community
</a>

<a class="navbar__text-link" href="/meetups/">
Meetups
</a>

<a class="navbar__text-link" href="/docs/">
Documentation
</a>

<a class="navbar__text-link" href="/use-cases/">
Use-cases
</a>

<a class="navbar__text-link" href="/announcements/">
Announcements
</a>

<a class="navbar__text-link" href="/blog/">
Blog
</a>

<a class="navbar__text-link" href="/ecosystem/">
Ecosystem
</a>


</div>


</div>
</div>
Expand All @@ -193,8 +193,8 @@


<div class="roadmap container-fluid td-default base-layout">


<div class="content-drawer-wrapper">
<button class="content-drawer__toggle-button" id="content-open-button">

Expand Down Expand Up @@ -411,10 +411,10 @@
</div>
</div>
</div>

<div class="d-flex">


<div class="td-sidebar desktop-only d-print-none">

<div id="docs-version-selector" class="docs-version-selector sidebar__version-selector">
Expand Down Expand Up @@ -548,38 +548,38 @@

</style>
</div>






<main class="col-12 col-md-9 col-xl-8" role="main">










<div role="navigation" aria-label="breadcrumbs navigation" class="d-none d-md-block d-print-none">

<ul class="breadcrumb">

<li class="breadcrumb-item"><a href="../index.html" class="icon icon-home"> Home</a></li>

<li class="breadcrumb-item"><a href="index.html">Connection Types</a></li>

<li class="breadcrumb-item"><a href="hive_metastore.html"> Hive Metastore Connection</a></li>

</ul>
</div>

<div class="rst-content">
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">

<div class="section" id="hive-metastore-connection">
<span id="howto-connection-hive-metastore"></span><h1>Hive Metastore Connection<a class="headerlink" href="#hive-metastore-connection" title="Permalink to this headline">¶</a></h1>
<p>The Hive Metastore connection type enables the Hive Metastore Integrations.</p>
Expand All @@ -602,7 +602,7 @@ <h2>Configuring the Connection<a class="headerlink" href="#configuring-the-conne
<dt>Extra (optional)</dt><dd><p>Specify the extra parameters (as json dictionary) that can be used in Hive Metastore connection.
The following parameters are all optional:</p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">auth_mechanism</span></code>
<li><p><code class="docutils literal notranslate"><span class="pre">authMechanism</span></code>
Specify the mechanism for authentication the default is <code class="docutils literal notranslate"><span class="pre">NOSASL</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">kerberos_service_name</span></code>
Specify The kerberos service name the default is <code class="docutils literal notranslate"><span class="pre">hive</span></code>.</p></li>
Expand All @@ -613,7 +613,7 @@ <h2>Configuring the Connection<a class="headerlink" href="#configuring-the-conne
it using URI syntax.</p>
<p>Note that all components of the URI should be URL-encoded.</p>
<p>For example:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="nb">export</span> <span class="nv">AIRFLOW_CONN_METASTORE_DEFAULT</span><span class="o">=</span><span class="s1">&#39;hive-metastore://hive-metastore-node:80?auth_mechanism=NOSASL&#39;</span>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="nb">export</span> <span class="nv">AIRFLOW_CONN_METASTORE_DEFAULT</span><span class="o">=</span><span class="s1">&#39;hive-metastore://hive-metastore-node:80?authMechanism=NOSASL&#39;</span>
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -685,12 +685,12 @@ <h2>Configuring the Connection<a class="headerlink" href="#configuring-the-conne

</div>
</div>

</main>







<nav class="wy-nav-side-toc">
<div class="wy-menu-vertical">
<ul>
Expand All @@ -704,23 +704,23 @@ <h2>Configuring the Connection<a class="headerlink" href="#configuring-the-conne

</div>
</nav>

</div>





















<div class="base-layout--button">
<a href="https://github.com/apache/airflow/edit/main/docs/apache-airflow-providers-apache-hive/connections/hive_metastore.rst" rel="nofollow">

Expand All @@ -733,12 +733,12 @@ <h2>Configuring the Connection<a class="headerlink" href="#configuring-the-conne
</button>
</a>
</div>


</div>




<footer>
<div class="footer-section footer-section__media-section">
Expand Down Expand Up @@ -813,7 +813,7 @@ <h2>Configuring the Connection<a class="headerlink" href="#configuring-the-conne
</a>

</div>


<div class="footer-section__media-section--button-with-text">
<span class="footer-section__media-section--text">Want to be a part of Apache Airflow?</span>
Expand All @@ -823,7 +823,7 @@ <h2>Configuring the Connection<a class="headerlink" href="#configuring-the-conne

</a>
</div>


</div>
<div class="footer-section footer-section__policies-section">
Expand All @@ -846,7 +846,7 @@ <h2>Configuring the Connection<a class="headerlink" href="#configuring-the-conne
<a href="https://www.apache.org/security/" class="footer-section__policies-section--policy-item">
<span>Security</span>
</a>


</div>
</div>
Expand All @@ -867,4 +867,4 @@ <h2>Configuring the Connection<a class="headerlink" href="#configuring-the-conne
<script src="../_static/clipboard.min.js"></script>
<script src="../_static/copybutton.js"></script>
</body>
</html>
</html>
Loading