Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

include hbase client libraries to oozie's libext, and enable hbase delegation for oozie workflows #681

Merged
merged 1 commit into from
Sep 30, 2016

Conversation

pu239ppy
Copy link
Contributor

@pu239ppy pu239ppy commented Sep 29, 2016

This will allow to run hbase commands and applications from oozie, whithout having to kinit and store passwords or deploy keytabs
Basing on #381, few changes to layout and ensuring that there is no version dependency

@pu239ppy pu239ppy added the WIP label Sep 29, 2016
@pu239ppy pu239ppy added this to the Release 1.8.0 milestone Sep 29, 2016
@pu239ppy
Copy link
Contributor Author

Was able to execute a simple ruby script with hbase shell

Stdoutput ubuntu (auth:KERBEROS)
Stdoutput     groups: ubuntu, adm, dialout, cdrom, sudo, plugdev, lpadmin, sambashare
Stdoutput
Stdoutput ROW  COLUMN+CELL
Stdoutput  r1 column=cf1:c1, timestamp=1475181412320, value=v1
Stdoutput 1 row(s) in 0.3620 seconds
Stdoutput
Exit code of the Shell command 0

@pu239ppy
Copy link
Contributor Author

pu239ppy commented Sep 29, 2016

Sample configuration
in hbase shell

grant 'ubuntu', 'RWCAX'

X is needed for delegation tokens

job.properties.txt
sampleworkflow.txt

whoami.rb

whoami
scan 't1'
exit

Steps for creation of t1 can be found in the wiki along with procedures on hbase entitlement assignments

@ekund
Copy link
Contributor

ekund commented Sep 30, 2016

LGTM

@ekund ekund merged commit 3e7368c into bloomberg:master Sep 30, 2016
@sjain1991
Copy link
Contributor

@cbaenziger cbaenziger added this to the Release 2.0 milestone Oct 4, 2016
@bijugs bijugs mentioned this pull request Oct 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants