Lin Wen created HAWQ-65: --------------------------- Summary: Logic error in function:ExtractPrincipalFromTicketCache in resourcebrokewr_libyarn_proc.c Key: HAWQ-65 URL: https://issues.apache.org/jira/browse/HAWQ-65 Project: Apache HAWQ Issue Type: Bug Components: Resource Manager Reporter: Lin Wen Assignee: Lin Wen
from line:320 if (!cache) { if (0 != setenv("KRB5CCNAME", cache, 1)) { elog(WARNING, "Cannot set env parameter \"KRB5CCNAME\" when extract principal from cache:%s", cache); return NULL; } } should be: if (cache) { if cache is not null, set KRB5CCNAME with its value. -- This message was sent by Atlassian JIRA (v6.3.4#6332)