Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AIRFLOW-3216] HiveServer2Hook need a password with LDAP authentication #4057

Merged
merged 4 commits into from
Jan 25, 2019

Conversation

jongyoul
Copy link
Member

@jongyoul jongyoul commented Oct 16, 2018

Jira

Description

  • To use HiveServer2Hook under LDAP environment, authentication information should be passed to pyhive while creating a connection. It missed.

Tests

  • This change is quite simple and I've tested it in my own environment with LDAP

Commits

  • My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":
    1. Subject is separated from body by a blank line
    2. Subject is limited to 50 characters (not including Jira issue reference)
    3. Subject does not end with a period
    4. Subject uses the imperative mood ("add", not "adding")
    5. Body wraps at 72 characters
    6. Body explains "what" and "why", not "how"

Documentation

  • In case of new functionality, my PR adds documentation that describes how to use it.
    • When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

  • Passes flake8

@codecov-io
Copy link

codecov-io commented Oct 16, 2018

Codecov Report

Merging #4057 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #4057   +/-   ##
======================================
  Coverage    78.1%   78.1%           
======================================
  Files         201     201           
  Lines       16464   16464           
======================================
  Hits        12859   12859           
  Misses       3605    3605
Impacted Files Coverage Δ
airflow/hooks/hive_hooks.py 75.26% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e947c6c...63dacb6. Read the comment docs.

@jongyoul
Copy link
Member Author

Please review this simple PR.

Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jongyoul
Copy link
Member Author

Thanks for the review. I'll try to add a test case about passing password.

@Fokko
Copy link
Contributor

Fokko commented Nov 5, 2018

Thanks @jongyoul

@bolkedebruin
Copy link
Contributor

Any update @jongyoul ?

@jongyoul
Copy link
Member Author

@Fokko @bolkedebruin Sorry for the late reply. I've added a test case. BTW, the failed one doesn't look related to my changes. Could you please confirm it?

@Fokko
Copy link
Contributor

Fokko commented Dec 11, 2018

@jongyoul Could you rebase onto latest master? That one looks to be okay: https://travis-ci.org/apache/incubator-airflow

@jongyoul
Copy link
Member Author

@Fokko Rebased.

@jongyoul
Copy link
Member Author

CI become green. Please check this PR.

@Fokko
Copy link
Contributor

Fokko commented Dec 13, 2018

Thanks @jongyoul

@jongyoul
Copy link
Member Author

@Fokko Hello, BTW, could you please tell me the schedule of merging this PR? I saw the status of Jira issue has been changed.

@kaxil kaxil merged commit f27b525 into apache:master Jan 25, 2019
@kaxil
Copy link
Member

kaxil commented Jan 25, 2019

Thanks @jongyoul

wmorris75 pushed a commit to modmed/incubator-airflow that referenced this pull request Jul 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants