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

Impala shell shows no error when an error message includes "Cancelled"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Impala 2.0, Impala 2.3.0
    • Impala 2.5.0
    • Clients

    Description

      I've seen this 3 times. Occasionally when impalad crashes the shell will give not show an error and instead return to the prompt as though nothing happened.

      There is no workaround.

      The first query below crashed an impalad on a different host but no error message was shown.

      [casey@vd0206 comparison]$ impala-shell.sh -d functional
      Starting Impala Shell without Kerberos authentication
      Connected to localhost.localdomain:21000
      Server version: impalad version 2.0.0-cdh4-INTERNAL DEBUG (build 838319414ceac4c6db2327d7efee74475770d00d)
      Welcome to the Impala shell. Press TAB twice to see a list of available commands.
      
      Copyright (c) 2012 Cloudera, Inc. All rights reserved.
      
      (Shell build version: Impala Shell v2.0.0-cdh4-INTERNAL (8383194) built on Thu Sep 18 02:13:16 PDT 2014)
      Query: use `functional`
      
      
      [localhost.localdomain:21000] > select COUNT(t1.string_col) AS int_col_1 FROM alltypestiny t1 LEFT JOIN alltypestiny t2 ON t2.month = t1.id AND t2.date_string_col = t1.string_col AND t2.id = t1.month LEFT JOIN alltypesagg t3 ON t3.id = t2.tinyint_col;
      Query: select COUNT(t1.string_col) AS int_col_1 FROM alltypestiny t1 LEFT JOIN alltypestiny t2 ON t2.month = t1.id AND t2.date_string_col = t1.string_col AND t2.id = t1.month LEFT JOIN alltypesagg t3 ON t3.id = t2.tinyint_col
      
      
      [localhost.localdomain:21000] > connect localhost:21001;
      Error connecting: TTransportException, Could not connect to localhost:21001
      [Not connected] > connect localhost:21002;
      Connected to localhost:21002
      Server version: impalad version 2.0.0-cdh4-INTERNAL DEBUG (build 838319414ceac4c6db2327d7efee74475770d00d)
      Query: use `functional`
      
      
      [localhost:21002] > connect localhost:21000;
      Connected to localhost:21000
      Server version: impalad version 2.0.0-cdh4-INTERNAL DEBUG (build 838319414ceac4c6db2327d7efee74475770d00d)
      Query: use `functional`
      [localhost:21000] > 
      

      Attachments

        Issue Links

          Activity

            People

              tarmstrong Tim Armstrong
              caseyc casey
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: