ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <d...@hortonworks.com>
Subject Re: Review Request 35015: Unable to Install Hive Due To Invalid sudo Module Function
Date Wed, 03 Jun 2015 17:32:58 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35015/#review86443
-----------------------------------------------------------

Ship it!


Ship It!

- Dmytro Sen


On Июнь 3, 2015, 5:32 п.п., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35015/
> -----------------------------------------------------------
> 
> (Updated Июнь 3, 2015, 5:32 п.п.)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-11664
>     https://issues.apache.org/jira/browse/AMBARI-11664
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 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>
> 
> 
> Diffs
> -----
> 
>   ambari-common/src/main/python/resource_management/core/sudo.py 4a123ad 
> 
> Diff: https://reviews.apache.org/r/35015/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message