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

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_r42218349
  
    --- Diff: depends/libyarn/src/libyarnclient/LibYarnClient.cpp ---
    @@ -150,15 +150,23 @@ int LibYarnClient::createJob(string &jobName, string 
&queue,string &jobId) {
     
             //4.1 new ApplicationMaster
             Token token = report.getAMRMToken();
    -        UserInfo user = UserInfo::LocalUser();
    -        Yarn::Token anotherToken;
    -        anotherToken.setIdentifier(token.getIdentifier());
    -        anotherToken.setKind(token.getKind());
    -        anotherToken.setPassword(token.getPassword());
    -        anotherToken.setService(token.getService());
    -
    -        //LOG(INFO,"%s",token.getIdentifier());
    -        user.addToken(anotherToken);
    +        UserInfo user;
    +           if (applicationClient->getMethod() == SIMPLE)
    --- End diff --
    
    Accepted. Thanks.


> 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