Doroszlai, Attila created AMBARI-24149:
------------------------------------------
Summary: Cannot auto-start HDFS when using LZO
Key: AMBARI-24149
URL: https://issues.apache.org/jira/browse/AMBARI-24149
Project: Ambari
Issue Type: Bug
Components: ambari-server
Affects Versions: 2.6.1
Reporter: Doroszlai, Attila
Service auto-start for HDFS fails with the following error when using LZO
libraries:
{noformat:title=auto_errors-...txt}
...
File
"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs.py",
line 137, in hdfs
install_lzo_if_needed()
File
"/usr/lib/ambari-agent/lib/resource_management/libraries/functions/lzo_utils.py",
line 87, in install_lzo_if_needed
Script.repository_util.create_repo_files()
File
"/usr/lib/ambari-agent/lib/resource_management/libraries/functions/repository_util.py",
line 53, in create_repo_files
if self.command_repository.version_id is None:
AttributeError: RepositoryUtil instance has no attribute 'command_repository'
{noformat}
{{repositoryFile}} entry is missing from auto-start commands.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)