Sample Header Ad - 728x90

How to store clean Impala query results in a variable using command line options

0 votes
1 answer
3853 views
I have an Impala query: var=impala-shell --ssl -B --quiet -q " show tables in db_name" and I want to store the output of this query in a variable. I am able to store it, but it is storing extra information that I want to remove by using Impala command line options. This is the extra information which I am getting in the result and want to remove: (Starting Impala Shell without Kerberos authentication SSL is enabled. Impala server certificates will NOT be verified (set --ca_cert to change) Error connecting: TTransportException, TSocket read 0 bytes Kerberos ticket found in the credentials cache, retrying the connection with a secure transport.
Asked by Harkirat Singh (33 rep)
Mar 28, 2018, 04:18 PM
Last activity: Jun 25, 2024, 06:18 AM