Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-24149

Agent fails to auto-start HDFS when using LZO

    XMLWordPrintableJSON

Details

    Description

      Service auto-start for HDFS fails with the following error when using LZO libraries:

      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'
      

      repositoryFile entry is missing from auto-start commands.

      Attachments

        1. AMBARI-24149.patch
          1 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m