You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Attila Sasvari (JIRA)" <ji...@apache.org> on 2017/07/14 12:56:00 UTC
[jira] [Created] (OOZIE-2990) Hive2Credentials should not add
principal to jdbc Url twice
Attila Sasvari created OOZIE-2990:
-------------------------------------
Summary: Hive2Credentials should not add principal to jdbc Url twice
Key: OOZIE-2990
URL: https://issues.apache.org/jira/browse/OOZIE-2990
Project: Oozie
Issue Type: Sub-task
Reporter: Attila Sasvari
In a secure kerberized environment, if workflow configuration contains principal in both {{hive2.server.principal}} and {{hive2.jdbc.url}}, invalid JDBC URL is generated:
{code}
if (principal == null || principal.isEmpty()) {
throw new CredentialException(ErrorCode.E0510,
HIVE2_SERVER_PRINCIPAL + " is required to get hive server 2 credential");
}
url = url + ";principal=" + principal;
{code}
As a result, workflow will fail at runtime with malformed URL exception.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)