[ https://issues.apache.org/jira/browse/HAWQ-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lei Chang updated HAWQ-64: -------------------------- Fix Version/s: 2.0.0-beta-incubating > Forward NULL issue for ExtractPrincipalFromTicketCache > ------------------------------------------------------ > > Key: HAWQ-64 > URL: https://issues.apache.org/jira/browse/HAWQ-64 > Project: Apache HAWQ > Issue Type: Bug > Components: libyarn > Reporter: Jiali Yao > Assignee: Lin Wen > Fix For: 2.0.0-beta-incubating > > > According to coverity report, below code has FORWARD NULL issue: > In apache-hawq/src/backend/resourcemanager/resourcebroker > if (!cache) { > if (0 != setenv("KRB5CCNAME", cache, 1)) { > elog(WARNING, "Cannot set env parameter \"KRB5CCNAME\" when > extract principal from cache:%s", cache); > return NULL; > } > } > If the cache is NULL, it will be error in setenv. -- This message was sent by Atlassian JIRA (v6.3.4#6332)