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

Bad error message when running non-existent file from impala-shell

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Impala 2.7.0
    • Impala 2.7.0
    • Clients

    Description

      It throws an exception if you provide a non-existent file

      tarmstrong@tarmstrong-box:~/Impala/incubator-impala$ impala-shell.sh -f something.sql
      Starting Impala Shell without Kerberos authentication
      Traceback (most recent call last):
        File "/home/tarmstrong/Impala/incubator-impala/shell/impala_shell.py", line 1350, in <module>
          execute_queries_non_interactive_mode(options)
        File "/home/tarmstrong/Impala/incubator-impala/shell/impala_shell.py", line 1235, in execute_queries_non_interactive_mode
          print_to_stderr("Could not open file '%s': %s", options.query_file, e)
      TypeError: print_to_stderr() takes exactly 1 argument (3 given)
      

      Attachments

        Activity

          People

            tarmstrong Tim Armstrong
            tarmstrong Tim Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: