[ https://issues.apache.org/jira/browse/AMBARI-24149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16519085#comment-16519085 ]
Andrew Onischuk commented on AMBARI-24149: ------------------------------------------ Committed to branch-2.6 > Agent fails to 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 > Assignee: Andrew Onischuk > Priority: Major > Labels: pull-request-available > Attachments: AMBARI-24149.patch > > Time Spent: 1h 40m > Remaining Estimate: 0h > > 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)