Manasa Gogineni created OOZIE-3530:
--------------------------------------

             Summary: Avoid creating Credential class for every type for all 
actions
                 Key: OOZIE-3530
                 URL: https://issues.apache.org/jira/browse/OOZIE-3530
             Project: Oozie
          Issue Type: Bug
            Reporter: Manasa Gogineni
            Assignee: Manasa Gogineni


We want to only create the relevant credential classes for each action type. 
The current Oozie functioning can be seen below:

2019-07-05 22:46:22,267 DEBUG CredentialsProvider:526 [pool-13-thread-196] - 
SERVER[wf451] USER[gmon] GROUP[-] TOKEN[] APP[wf-allactions] 
JOB[0131754-190702130507683-oozie_KR-W] 
ACTION[0131754-190702130507683-oozie_KR-W@hcat_pig] About to relogin from keytab
2019-07-05 22:46:22,267 DEBUG CredentialsProvider:526 [pool-13-thread-196] - 
SERVER[wf451] USER[gmon] GROUP[-] TOKEN[] APP[wf-allactions] 
JOB[0131754-190702130507683-oozie_KR-W] 
ACTION[0131754-190702130507683-oozie_KR-W@hcat_pig] Relogin from keytab 
successful
2019-07-05 22:46:22,267 DEBUG CredentialsProvider:526 [pool-13-thread-196] - 
SERVER[wf451] USER[gmon] GROUP[-] TOKEN[] APP[wf-allactions] 
JOB[0131754-190702130507683-oozie_KR-W] 
ACTION[0131754-190702130507683-oozie_KR-W@hcat_pig] Credentials Provider is 
created for Type: hcat
2019-07-05 22:46:22,267 DEBUG CredentialsProvider:526 [pool-13-thread-196] - 
SERVER[wf451] USER[gmon] GROUP[-] TOKEN[] APP[wf-allactions] 
JOB[0131754-190702130507683-oozie_KR-W] 
ACTION[0131754-190702130507683-oozie_KR-W@hcat_pig] Creating Credential class 
for : yca=com.yahoo.oozie.action.hadoop.YCAV2Credentials
2019-07-05 22:46:22,267 DEBUG CredentialsProvider:526 [pool-13-thread-196] - 
SERVER[wf451] USER[gmon] GROUP[-] TOKEN[] APP[wf-allactions] 
JOB[0131754-190702130507683-oozie_KR-W] 
ACTION[0131754-190702130507683-oozie_KR-W@hcat_pig] Creating Credential type : 
'yca', class Name : 'com.yahoo.oozie.action.hadoop.YCAV2Credentials'
2019-07-05 22:46:22,267 DEBUG CredentialsProvider:526 [pool-13-thread-196] - 
SERVER[wf451] USER[gmon] GROUP[-] TOKEN[] APP[wf-allactions] 
JOB[0131754-190702130507683-oozie_KR-W] 
ACTION[0131754-190702130507683-oozie_KR-W@hcat_pig] Creating Credential class 
for : athens=com.yahoo.oozie.action.hadoop.AthensCredentials
2019-07-05 22:46:22,267 DEBUG CredentialsProvider:526 [pool-13-thread-196] - 
SERVER[wf451] USER[gmon] GROUP[-] TOKEN[] APP[wf-allactions] 
JOB[0131754-190702130507683-oozie_KR-W] 
ACTION[0131754-190702130507683-oozie_KR-W@hcat_pig] Creating Credential type : 
'athens', class Name : 'com.yahoo.oozie.action.hadoop.AthensCredentials'
2019-07-05 22:46:22,267 DEBUG CredentialsProvider:526 [pool-13-thread-196] - 
SERVER[wf451] USER[gmon] GROUP[-] TOKEN[] APP[wf-allactions] 
JOB[0131754-190702130507683-oozie_KR-W] 
ACTION[0131754-190702130507683-oozie_KR-W@hcat_pig] Creating Credential class 
for : ykeykey=com.yahoo.oozie.action.hadoop.YKeyKeyCredentials
2019-07-05 22:46:22,267 DEBUG CredentialsProvider:526 [pool-13-thread-196] - 
SERVER[wf451] USER[gmon] GROUP[-] TOKEN[] APP[wf-allactions] 
JOB[0131754-190702130507683-oozie_KR-W] 
ACTION[0131754-190702130507683-oozie_KR-W@hcat_pig] Creating Credential type : 
'ykeykey', class Name : 'com.yahoo.oozie.action.hadoop.YKeyKeyCredentials'
2019-07-05 22:46:22,267 DEBUG CredentialsProvider:526 [pool-13-thread-196] - 
SERVER[wf451] USER[gmon] GROUP[-] TOKEN[] APP[wf-allactions] 
JOB[0131754-190702130507683-oozie_KR-W] 
ACTION[0131754-190702130507683-oozie_KR-W@hcat_pig] Creating Credential class 
for : aws=com.yahoo.oozie.action.hadoop.AWSCredentials
2019-07-05 22:46:22,268 DEBUG CredentialsProvider:526 [pool-13-thread-196] - 
SERVER[wf451] USER[gmon] GROUP[-] TOKEN[] APP[wf-allactions] 
JOB[0131754-190702130507683-oozie_KR-W] 
ACTION[0131754-190702130507683-oozie_KR-W@hcat_pig] Creating Credential type : 
'aws', class Name : 'com.yahoo.oozie.action.hadoop.AWSCredentials'
2019-07-05 22:46:22,268 DEBUG CredentialsProvider:526 [pool-13-thread-196] - 
SERVER[wf451] USER[gmon] GROUP[-] TOKEN[] APP[wf-allactions] 
JOB[0131754-190702130507683-oozie_KR-W] 
ACTION[0131754-190702130507683-oozie_KR-W@hcat_pig] Creating Credential class 
for : hcat=org.apache.oozie.action.hadoop.HCatCredentials
2019-07-05 22:46:22,268 DEBUG CredentialsProvider:526 [pool-13-thread-196] - 
SERVER[wf451] USER[gmon] GROUP[-] TOKEN[] APP[wf-allactions] 
JOB[0131754-190702130507683-oozie_KR-W] 
ACTION[0131754-190702130507683-oozie_KR-W@hcat_pig] Creating Credential type : 
'hcat', class Name : 'org.apache.oozie.action.hadoop.HCatCredentials'
2019-07-05 22:46:22,268 DEBUG CredentialsProvider:526 [pool-13-thread-196] - 
SERVER[wf451] USER[gmon] GROUP[-] TOKEN[] APP[wf-allactions] 
JOB[0131754-190702130507683-oozie_KR-W] 
ACTION[0131754-190702130507683-oozie_KR-W@hcat_pig] Creating Credential class 
for : hbase=org.apache.oozie.action.hadoop.HbaseCredentials
2019-07-05 22:46:22,268 DEBUG CredentialsProvider:526 [pool-13-thread-196] - 
SERVER[wf451] USER[gmon] GROUP[-] TOKEN[] APP[wf-allactions] 
JOB[0131754-190702130507683-oozie_KR-W] 
ACTION[0131754-190702130507683-oozie_KR-W@hcat_pig] Creating Credential type : 
'hbase', class Name : 'org.apache.oozie.action.hadoop.HbaseCredentials'




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to