Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Impala 2.5.0
-
ghx-label-6
Description
When using impala-shell only with ldap_password_cmd option, has invalid parameter, it runs successfully as following:
impala-shell --ldap_password_cmd=abc
Starting Impala Shell without Kerberos authentication
Connected to ldapserver1.zdh.com:27000
Server version: impalad version 2.5.0-cdh5.7.1 RELEASE (build 27a4325c18c2a01c7a8097681a0eccf6d4335ea1)
***********************************************************************************
Welcome to the Impala shell. Copyright (c) 2015 Cloudera, Inc. All rights reserved.
(Impala Shell v2.5.0-cdh5.7.1 (27a4325) built on Wed Jun 1 16:06:09 PDT 2016)
You can run a single query from the command line using the '-q' option.
***********************************************************************************
The processing of only with ldap_password_cmd option ignores this parameter just like ldap_password_cmd is absent.
The ldap_password_cmd option is in the use of ldap environment to obtain ldap password. We should use ldap_password_cmd option when impala-shell using LDAP to authenticate with Impala.
So, ldap_password_cmd option will only appear if ldap option appears.