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

Pig fails to install through blueprint

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.1
    • 1.6.1
    • None
    • None

    Description

      During installation through blueprint pig install fails with next exception:

      Traceback (most recent call last):
        File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/PIG/package/scripts/pig_client.py", line 41, in <module>
          PigClient().execute()
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 112, in execute
          method(env)
        File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/PIG/package/scripts/pig_client.py", line 30, in install
          self.configure(env)
        File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/PIG/package/scripts/pig_client.py", line 35, in configure
          pig()
        File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/PIG/package/scripts/pig.py", line 40, in pig
          properties=params.pig_properties)    
        File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
          self.env.run()
        File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
          self.run_action(resource, action)
        File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
          provider_action()
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/properties_file.py", line 48, in action_create
          mode = self.resource.mode
        File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
          self.env.run()
        File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
          self.run_action(resource, action)
        File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
          provider_action()
        File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 96, in action_create
          content = self._get_content()
        File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 136, in _get_content
          return content()
        File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 47, in __call__
          return self.get_content()
        File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 126, in get_content
          rendered = self.template.render(self.context)
        File "/usr/lib/python2.6/site-packages/jinja2/environment.py", line 891, in render
          return self.environment.handle_exception(exc_info, True)
        File "<template>", line 2, in top-level template code
        File "/usr/lib/python2.6/site-packages/jinja2/filters.py", line 176, in do_dictsort
          return sorted(value.items(), key=sort_func)
      AttributeError: 'unicode' object has no attribute 'items'
      

      Attachments

        1. AMBARI-5783.patch
          3 kB
          Siddharth Wagle

        Activity

          People

            ababych Arsen Babych
            swagle Siddharth Wagle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: