Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/amazon-s3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何从脚本中使用ldap调用impala shell?_Shell_Openldap_Cloudera Cdh_Impala - Fatal编程技术网

如何从脚本中使用ldap调用impala shell?

如何从脚本中使用ldap调用impala shell?,shell,openldap,cloudera-cdh,impala,Shell,Openldap,Cloudera Cdh,Impala,我已经安装了CDH5.4和最新版本的Impala(2.2.0)以及OpenLDAP。在交互模式下调用impala shell时,所有这些都可以正常工作,因为密码不可见。但是,我希望在shell脚本中运行此安排。如果我给出: impalashell-l-u testuser-f/path/to/file 它要求我手动提供密码。是否可以使用任何其他参数自动执行此操作?是否有任何类似于Beeline的“-w”参数的参数,以便保护密码 任何帮助都将不胜感激

我已经安装了CDH5.4和最新版本的Impala(2.2.0)以及OpenLDAP。在交互模式下调用impala shell时,所有这些都可以正常工作,因为密码不可见。但是,我希望在shell脚本中运行此安排。如果我给出:

impalashell-l-u testuser-f/path/to/file

它要求我手动提供密码。是否可以使用任何其他参数自动执行此操作?是否有任何类似于Beeline的“-w”参数的参数,以便保护密码

任何帮助都将不胜感激