You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Shreya Bhat (JIRA)" <ji...@apache.org> on 2017/04/20 10:05:04 UTC

[jira] [Created] (AMBARI-20795) MYSQL server install failed with "TypeError: coercing to Unicode: need string or buffer, NoneType found"

Shreya Bhat created AMBARI-20795:
------------------------------------

             Summary: MYSQL server install failed with "TypeError: coercing to Unicode: need string or buffer, NoneType found"
                 Key: AMBARI-20795
                 URL: https://issues.apache.org/jira/browse/AMBARI-20795
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.5.1
            Reporter: Shreya Bhat
             Fix For: 2.5.1


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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)