[
https://issues.apache.org/jira/browse/HAWQ-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14960341#comment-14960341
]
ASF GitHub Bot commented on HAWQ-51:
------------------------------------
Github user wangzw commented on a diff in the pull request:
https://github.com/apache/incubator-hawq/pull/22#discussion_r42218161
--- 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 --
Please do not mix space and tab. Space is preferred.
> 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)