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

Deploys failing with Namenode install failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • trunk
    • trunk
    • ambari-sever
    • None

    Description

      Traceback (most recent call last):
        File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/hooks/before-ANY/scripts/hook.py", line 35, in <module>
          BeforeAnyHook().execute()
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 330, in execute
          method(env)
        File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/hooks/before-ANY/scripts/hook.py", line 26, in hook
          import params
        File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/hooks/before-ANY/scripts/params.py", line 47, in <module>
          stack_root = Script.get_stack_root()
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 619, in get_stack_root
          stack_root = json.loads(stack_root_json)
        File "/usr/lib/python2.6/site-packages/ambari_simplejson/__init__.py", line 307, in loads
          return _default_decoder.decode(s)
        File "/usr/lib/python2.6/site-packages/ambari_simplejson/decoder.py", line 335, in decode
          obj, end = self.raw_decode(s, idx=_w(s, 0).end())
        File "/usr/lib/python2.6/site-packages/ambari_simplejson/decoder.py", line 353, in raw_decode
          raise ValueError("No JSON object could be decoded")
      ValueError: No JSON object could be decoded
      
      2017-07-14 00:08:11,432 - Cannot find stack features for the stack named HDP
      Error: Error: Unable to run the custom hook script ['/usr/bin/python', '/var/lib/ambari-agent/cache/stacks/HDP/3.0/hooks/before-ANY/scripts/hook.py', 'ANY', '/var/lib/ambari-agent/data/command-17.json', '/var/lib/ambari-agent/cache/stacks/HDP/3.0/hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-17.json', 'INFO', '/var/lib/ambari-agent/tmp', 'PROTOCOL_TLSv1', '']
      2017-07-14 00:08:11,444 - Cannot find stack features for the stack named HDP
      
      Command failed after 1 tries
      

      Attachments

        1. AMBARI-21479.patch
          25 kB
          Dmytro Grinenko

        Issue Links

          Activity

            People

              hapylestat Dmytro Grinenko
              hapylestat Dmytro Grinenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: