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

add kerberos for druid #7091

Closed
wants to merge 23 commits into from
Closed

add kerberos for druid #7091

wants to merge 23 commits into from

Conversation

pokyu
Copy link
Contributor

@pokyu pokyu commented Mar 22, 2019

add kerberos configure for Druid

@codecov-io
Copy link

codecov-io commented Mar 25, 2019

Codecov Report

Merging #7091 into master will decrease coverage by 0.03%.
The diff coverage is 21.05%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7091      +/-   ##
==========================================
- Coverage   64.61%   64.58%   -0.04%     
==========================================
  Files         422      422              
  Lines       20607    20624      +17     
  Branches     2253     2253              
==========================================
+ Hits        13315    13319       +4     
- Misses       7170     7183      +13     
  Partials      122      122
Impacted Files Coverage Δ
superset/config.py 93.78% <100%> (+0.03%) ⬆️
superset/connectors/druid/models.py 81.25% <16.66%> (-1.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 ebb3210...8b71567. Read the comment docs.

@kristw kristw added enhancement:request Enhancement request submitted by anyone from the community .security labels Mar 27, 2019
@pokyu
Copy link
Contributor Author

pokyu commented May 14, 2019

what can`t be done ?

@pokyu
Copy link
Contributor Author

pokyu commented Aug 18, 2019

Copy link
Member

@craig-rueda craig-rueda left a comment

Choose a reason for hiding this comment

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

Needs a few tests around Kerberos stuff. Ideally, the fetching of datasources would be broken out of the "model" and would live in another layer.

return False

kerberos_commands = 'kinit -k -t %s %s' % (kerberos_keytab, kerberos_principal)
subprocess.call(kerberos_commands, shell=True)
Copy link
Member

Choose a reason for hiding this comment

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

Not sure I feel comfortable shelling out like this, from within a model, no less. This sort of logic belongs in a higher layer (connection manager, perhaps?)


def get_druid_version(self):

Copy link
Member

Choose a reason for hiding this comment

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

extra space?

@@ -72,3 +72,4 @@ webencodings==0.5.1 # via bleach
werkzeug==0.14.1 # via flask
wtforms-json==0.3.3
wtforms==2.2.1 # via flask-wtf, wtforms-json
requests-kerberos==0.12.0
Copy link
Member

Choose a reason for hiding this comment

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

This should be in extras

Copy link
Member

Choose a reason for hiding this comment

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

+1 let's create a kerberos group in extra_requires

@elukey
Copy link
Contributor

elukey commented Feb 6, 2020

Any news on this pull request?

@craig-rueda
Copy link
Member

Looks like there's merge conflicts, and there were a few comments that weren't addressed.

@mistercrunch
Copy link
Member

FYI, the Druid connector is getting deprecated [slowly over time] in favor of using SQLAlchemy and the SQL interface to Druid. We can still merge this once the comments are addressed, but the core committers will fade out of supporting the native Druid connector. This aligns with the Druid roadmap where they're clearly doubling down on the SQL interface

@junlincc junlincc removed the review label Jan 3, 2021
@junlincc junlincc closed this Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement:request Enhancement request submitted by anyone from the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants