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

MYSQL server install failed with "TypeError: coercing to Unicode: need string or buffer, NoneType found"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.1
    • 2.5.1
    • ambari-server
    • None

    Description

      STR
      Deploy cluster using UI
      Result: MYSQL server install failed

      std.err
      "stderr" : "Traceback (most recent call last):\n File \"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/mysql_server.py\", line 64, in <module>\n MysqlServer().execute()\n File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\", line 315, in execute\n method(env)\n File \"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/mysql_server.py\", line 32, in install\n import params\n File \"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/params.py\", line 27, in <module>\n from params_linux import *\n File \"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py\", line 83, in <module>\n stack_version_formatted = functions.get_stack_version('hive-server2')\n File \"/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py\", line 89, in thunk\n return fn(*args, **kwargs)\n File \"/usr/lib/python2.6/site-packages/resource_management/libraries/functions/get_stack_version.py\", line 70, in get_stack_version\n if not os.path.exists(stack_selector_path):\n File \"/usr/lib/python2.7/genericpath.py\", line 18, in exists\n os.stat(path)\nTypeError: coercing to Unicode: need string or buffer, NoneType found",
      Options

      Attachments

        Activity

          People

            mradhakrishnan Madhuvanthi Radhakrishnan
            shreyabhatm@gmail.com Shreya Bhat
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: