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

TypeError in impala-shell summary progress

    XMLWordPrintableJSON

Details

    Description

      impala-shell failed with following error when installed using python3

      File "/usr/local/lib/python3.6/site-packages/impala_shell/impala_shell.py", line 1102, in _periodic_wait_callback
          fragment_text = "[%s%s] %s%%\n" % ("#" * val, " " * (100 - val), val)
      TypeError: can't multiply sequence by non-int of type 'float'
      [Not connected] > 

      Val is a result of division operation. val type is integer in python2, but change to float in python3.

      This Jira is filed to note this issue along general works to make impala-shell compatible with python3 in IMPALA-3343.

      Attachments

        Issue Links

          Activity

            People

              rizaon Riza Suminto
              rizaon Riza Suminto
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: