[ 
https://issues.apache.org/jira/browse/HAWQ-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14960346#comment-14960346
 ] 

ASF GitHub Bot commented on HAWQ-51:
------------------------------------

Github user linwen commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/22#discussion_r42218369
  
    --- Diff: depends/libyarn/src/libyarnclient/LibYarnClient.cpp ---
    @@ -129,16 +129,16 @@ int LibYarnClient::createJob(string &jobName, string 
&queue,string &jobId) {
             appSubmitCtx.setUnmanagedAM(true);
             appSubmitCtx.setMaxAppAttempts(1);
     
    -        appClientAlias->submitApplication(appSubmitCtx);
    +        applicationClient->submitApplication(appSubmitCtx);
             LOG(INFO, "LibYarnClient::createJob, submitApplication finished");
     
             //3. wait util AM is ACCEPTED and return the AMRMToken
             ApplicationReport report;
             while (true) {
    -            report = appClientAlias->getApplicationReport(appId);
    +            report = applicationClient->getApplicationReport(appId);
                 LOG(INFO,"LibYarnClient::createJob, 
appId[cluster_timestamp:%lld,id:%d], appState:%d",
                         appId.getClusterTimestamp(), appId.getId(), 
report.getYarnApplicationState());
    -            if ((report.getAMRMToken().getPassword() != "") && 
report.getYarnApplicationState() == YarnApplicationState::ACCEPTED) {
    +                   if ((report.getAMRMToken().getPassword() != "") && 
report.getYarnApplicationState() == YarnApplicationState::ACCEPTED) {
    --- End diff --
    
    accepted. 


> Support Kerberos for libyarn
> ----------------------------
>
>                 Key: HAWQ-51
>                 URL: https://issues.apache.org/jira/browse/HAWQ-51
>             Project: Apache HAWQ
>          Issue Type: New Feature
>          Components: libyarn
>            Reporter: Lin Wen
>            Assignee: Lin Wen
>
> Support Kerberos for libyarn.
> If kerberos is configured in Hadoop/Hdfs/Yarn, Hawq libyarn can connect Yarn 
> resource manager by kerberos. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to