ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitro Lisnichenko" <dlysniche...@hortonworks.com>
Subject Re: Review Request 35558: Atlas and Kafka Start fail with non-root agent
Date Wed, 17 Jun 2015 12:45:06 GMT

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

Ship it!


Ship It!

- Dmitro Lisnichenko


On June 17, 2015, 12:37 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35558/
> -----------------------------------------------------------
> 
> (Updated June 17, 2015, 12:37 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-11972
>     https://issues.apache.org/jira/browse/AMBARI-11972
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Traceback (most recent call last):
>       File "/var/lib/ambari-agent/cache/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata_server.py",
line 127, in <module>
>         MetadataServer().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/ATLAS/0.1.0.2.3/package/scripts/metadata_server.py",
line 47, in start
>         self.configure(env)
>       File "/var/lib/ambari-agent/cache/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata_server.py",
line 37, in configure
>         metadata()
>       File "/var/lib/ambari-agent/cache/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata.py",
line 75, in metadata
>         shutil.copy2(metadata_war_file, params.expanded_war_dir)
>       File "/usr/lib64/python2.6/shutil.py", line 95, in copy2
>         copyfile(src, dst)
>       File "/usr/lib64/python2.6/shutil.py", line 51, in copyfile
>         with open(dst, 'wb') as fdst:
>     IOError: [Errno 13] Permission denied: '/var/lib/atlas/server/webapp/metadata.war'
>     
> 
> Also a couple of more issues with using directly "with open".
> 
> 
> Diffs
> -----
> 
>   ambari-common/src/main/python/resource_management/core/source.py 1f888ac 
>   ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata.py
2eae71b 
>   ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/properties_config.py
2144f71 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/atlas_plugin_utils.py
d3228c8 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_client.py
46ed31b 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py
519e97f 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_client.py
a09f02a 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py
e6f3e97 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server.py
e29df4f 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
2c231d1 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/setup_atlas_hive.py
PRE-CREATION 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/webhcat_server.py
6ea8ee6 
>   ambari-server/src/main/resources/common-services/KAFKA/0.8.1.2.2/package/scripts/kafka.py
0957215 
>   ambari-server/src/main/resources/common-services/KAFKA/0.8.1.2.2/package/scripts/kafka_broker.py
dd210b7 
>   ambari-server/src/main/resources/common-services/KAFKA/0.8.1.2.2/package/scripts/properties_config.py
56bab2c 
>   ambari-server/src/main/resources/common-services/KAFKA/0.8.1.2.2/package/scripts/service_check.py
ef6f62f 
>   ambari-server/src/test/python/stacks/2.3/ATLAS/test_metadata_server.py 8d72faf 
> 
> Diff: https://reviews.apache.org/r/35558/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


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