[ https://issues.apache.org/jira/browse/AMBARI-11664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14571556#comment-14571556 ]
Hudson commented on AMBARI-11664: --------------------------------- SUCCESS: Integrated in Ambari-trunk-Commit #2800 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2800/]) AMBARI-11664. Unable to Install Hive Due To Invalid sudo Module Function (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7a75fb0a3eaf8ffcf253c9bad2ca0e76afca5d7f) * ambari-common/src/main/python/resource_management/core/sudo.py > Unable to Install Hive Due To Invalid sudo Module Function > ---------------------------------------------------------- > > Key: AMBARI-11664 > URL: https://issues.apache.org/jira/browse/AMBARI-11664 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 2.1.0 > > > When installing Hive with HDP 2.2 on a clean cluster, the following is seen: > > > > Traceback (most recent call last): > File > "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_client.py", > line 58, in <module> > HCatClient().execute() > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", > line 216, in execute > method(env) > File > "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_client.py", > line 35, in install > self.configure(env) > File > "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_client.py", > line 40, in configure > hcat() > File > "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, > in thunk > return fn(*args, **kwargs) > File > "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hcat.py", > line 46, in hcat > group=params.user_group, > File > "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line > 157, in __init__ > self.env.run() > File > "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", > line 152, in run > self.run_action(resource, action) > File > "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", > line 118, in run_action > provider_action() > File > "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", > line 141, in action_create > path = sudo.readlink(path) > AttributeError: 'module' object has no attribute 'readlink' > > This looks like a regression caused by <https://github.com/apache/ambari/commi > t/b549e35d4dea2c57a4eb297faabb25d66f6a76fc>, specifially <https://github.com/a > pache/ambari/commit/b549e35d4dea2c57a4eb297faabb25d66f6a76fc#diff- > b9edd79784d2341195822ee2a844c43fR141> -- This message was sent by Atlassian JIRA (v6.3.4#6332)