Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-15115

Agent bootstrap/registration fails in multi-byte language environments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.2.0
    • 2.2.2
    • ambari-agent
    • None

    Description

      During cluster installation, Ambari Agent would output the error below and host registration/set up would fail.
      It seems that this issue only happens in multi-byte language environments on particular OS's.
      The issue occurred on CentOS / RHEL 6.3, 6.4 6.5, 7.1, and 7.2.
      CentOS / RHEL 6.6, 6.7 seem to be fine.
      Version: HDP 2.3.4, Ambari 2.2.0.0
      ambari-agent.out
      ==============
      File "/usr/lib/python2.6/site-packages/resource_management/core/logger.py", line 147, in get_function_repr
      return unicode("

      {0}

      {{

      {1}

      }}").format(name, arguments_str)
      UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 15: ordinal not in range(128)

      Attachments

        1. AMBARI-15115.patch
          0.6 kB
          Vitaly Brodetskyi

        Issue Links

          Activity

            People

              vbrodetskyi Vitaly Brodetskyi
              vbrodetskyi Vitaly Brodetskyi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: