Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-5416

Chaining source command in impala-shell with a SQL query runs the query twice and crashes if followed by another source

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 2.9.0
    • Fix Version/s: Impala 2.11.0
    • Component/s: Clients
    • Labels:
    • Epic Color:
      ghx-label-2

      Description

      Running something like

      source foo.sql; select * from 1;

      executes the second query twice.

      [impala-adls-2:21000] > !cat /home/systest/test1.sql;
      select count(*) as date_dim1 from tpcds_1000_text.date_dim;
      --------
      Executed in 0.00s
      [impala-adls-2:21000] > source /home/systest/test1.sql;select count(*) as store from tpcds_1000_text.store;select count(*) as promotion from tpcds_1000_text.promotion;
      Query: select count(*) as store from tpcds_1000_text.store
      Query submitted at: 2017-06-01 10:45:38 (Coordinator: http://impala-adls-2.azure.cloudera.com:25000)
      Query progress can be monitored at: http://impala-adls-2.azure.cloudera.com:25000/query_plan?query_id=8746cd5b79f8d7cf:f790cc0200000000
      +-------+
      | store |
      +-------+
      | 1002  |
      +-------+
      Fetched 1 row(s) in 0.15s
      Query: select count(*) as promotion from tpcds_1000_text.promotion
      Query submitted at: 2017-06-01 10:45:38 (Coordinator: http://impala-adls-2.azure.cloudera.com:25000)
      Query progress can be monitored at: http://impala-adls-2.azure.cloudera.com:25000/query_plan?query_id=6d4f30e0294d87e1:57c6064300000000
      +-----------+
      | promotion |
      +-----------+
      | 1500      |
      +-----------+
      Fetched 1 row(s) in 0.15s
      Query: select count(*) as date_dim1 from tpcds_1000_text.date_dim
      Query submitted at: 2017-06-01 10:45:39 (Coordinator: http://impala-adls-2.azure.cloudera.com:25000)
      Query progress can be monitored at: http://impala-adls-2.azure.cloudera.com:25000/query_plan?query_id=e14da31f9885e188:dada842b00000000
      +-----------+
      | date_dim1 |
      +-----------+
      | 73049     |
      +-----------+
      Fetched 1 row(s) in 0.14s
      Query: select count(*) as store from tpcds_1000_text.store
      Query submitted at: 2017-06-01 10:45:39 (Coordinator: http://impala-adls-2.azure.cloudera.com:25000)
      Query progress can be monitored at: http://impala-adls-2.azure.cloudera.com:25000/query_plan?query_id=9e471ce0760f55c7:28a93ffb00000000
      +-------+
      | store |
      +-------+
      | 1002  |
      +-------+
      Fetched 1 row(s) in 0.15s
      Query: select count(*) as promotion from tpcds_1000_text.promotion
      Query submitted at: 2017-06-01 10:45:39 (Coordinator: http://impala-adls-2.azure.cloudera.com:25000)
      Query progress can be monitored at: http://impala-adls-2.azure.cloudera.com:25000/query_plan?query_id=fa44f5c6536da7e8:f03a176200000000
      +-----------+
      | promotion |
      +-----------+
      | 1500      |
      +-----------+
      Fetched 1 row(s) in 0.14s
      

      Chaining two source commands in impala-shell crashes the shell

      [impala-adls-2:21000] > source /home/systest/test1.sql;source /home/systest/test1.sql;
      Traceback (most recent call last):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1393, in <module>
          shell.cmdloop(intro)
        File "/usr/lib64/python2.6/cmd.py", line 142, in cmdloop
          stop = self.onecmd(line)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1164, in execute_query_list
          if self.onecmd(q) is CmdStatus.ERROR:
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 503, in onecmd
          return cmd.Cmd.onecmd(self, line)
        File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd
          return func(arg)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1086, in do_source
          if self.execute_query_list(parse_query_text(cmd_file.read())):
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 1162, in execute_query_list
          queries = [ self.sanitise_input(q) for q in self.cmdqueue + queries ]
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 297, in sanitise_input
          args = self._check_for_command_completion(args)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/bin/../lib/impala-shell/impala_shell.py", line 412, in _check_for_command_completion
          completed_cmd = sqlparse.format(cmd)
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/lib/impala-shell/ext-py/sqlparse-0.1.14-py2.6.egg/sqlparse/__init__.py", line 58, in format
      
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/lib/impala-shell/ext-py/sqlparse-0.1.14-py2.6.egg/sqlparse/engine/__init__.py", line 73, in _run2
      
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/lib/impala-shell/ext-py/sqlparse-0.1.14-py2.6.egg/sqlparse/engine/filter.py", line 93, in process
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/lib/impala-shell/ext-py/sqlparse-0.1.14-py2.6.egg/sqlparse/sql.py", line 160, in __init__
        File "/log/cloudera/parcels/CDH-5.12.0-1.cdh5.12.0.p0.4/lib/impala-shell/ext-py/sqlparse-0.1.14-py2.6.egg/sqlparse/sql.py", line 23, in __init__
      RuntimeError: maximum recursion depth exceeded
      

        Activity

        Hide
        tianyiwang Tianyi Wang added a comment -

        IMPALA-5416: Fix an impala-shell command recursion bug

        Impala-shell crashes with 2 source commands on the same line and runs
        a command multiple times if it shares the same line with a source
        command.
        The bug is caused by a misuse of cmdqueue. The cmdqueue member of
        cmd.Cmd is used to execute commands not directly from user input in an
        event loop. When a 'source' is run, execute_query_list() is called which
        also executes the commands in cmdqueue, causing them to be executed
        twice.
        The fix is for execute_query_list() to not run the commands in cmdqueue.
        For the non-interactive case, where the event loop won't be run, we call
        execute_query_list() with cmdqueue so that the commands get run.
        A test case is added to test_shell_interactive.py.

        Change-Id: I453af2d4694d47e184031cb07ecd2af259ba20f3
        Reviewed-on: http://gerrit.cloudera.org:8080/8063
        Reviewed-by: Alex Behm <alex.behm@cloudera.com>
        Tested-by: Impala Public Jenkins

        Show
        tianyiwang Tianyi Wang added a comment - IMPALA-5416 : Fix an impala-shell command recursion bug Impala-shell crashes with 2 source commands on the same line and runs a command multiple times if it shares the same line with a source command. The bug is caused by a misuse of cmdqueue. The cmdqueue member of cmd.Cmd is used to execute commands not directly from user input in an event loop. When a 'source' is run, execute_query_list() is called which also executes the commands in cmdqueue, causing them to be executed twice. The fix is for execute_query_list() to not run the commands in cmdqueue. For the non-interactive case, where the event loop won't be run, we call execute_query_list() with cmdqueue so that the commands get run. A test case is added to test_shell_interactive.py. Change-Id: I453af2d4694d47e184031cb07ecd2af259ba20f3 Reviewed-on: http://gerrit.cloudera.org:8080/8063 Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: Impala Public Jenkins
        Hide
        mmokhtar Mostafa Mokhtar added a comment -
        Show
        mmokhtar Mostafa Mokhtar added a comment - David Knupp FYI

          People

          • Assignee:
            tianyiwang Tianyi Wang
            Reporter:
            mmokhtar Mostafa Mokhtar
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development