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

oozie.py is reading invalid 'version' attribute which results in not copying required atlas hook jars

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • trunk, 2.4.0
    • trunk, 2.4.1
    • ambari-server
    • None

    Description

      OOzie server start output by ambari-agent is showing this error - "2016-08-23 07:23:36,447 - ERROR. Atlas is installed in cluster but this Oozie server doesn't contain directory /usr/hdp/None/atlas/hook/hive/"

      2016-08-23 07:21:53,147 - call returned (0, '')
      2016-08-23 07:21:53,148 - Execute['/usr/hdp/current/oozie-server/bin/oozie-setup.sh sharelib create -fs hdfs://nat-r7-pcds-falcon-multi-9.openstacklocal:8020 -locallib /usr/hdp/current/oozie-server/share'] {'path': [u'/usr/hdp/current/oozie-server/bin:/usr/hdp/current/hadoop-client/bin'], 'user': 'oozie'}
      2016-08-23 07:23:33,091 - HdfsResource['/user/oozie/share'] {'security_enabled': True, 'hadoop_bin_dir': '/usr/hdp/current/hadoop-client/bin', 'keytab': '/etc/security/keytabs/hdfs.headless.keytab', 'dfs_type': '', 'default_fs': 'hdfs://nat-r7-pcds-falcon-multi-9.openstacklocal:8020', 'user': 'hdfs', 'hdfs_resource_ignore_file': '/var/lib/ambari-agent/data/.hdfs_resource_ignore', 'hdfs_site': ..., 'kinit_path_local': '/usr/bin/kinit', 'principal_name': 'hdfs@EXAMPLE.COM', 'recursive_chmod': True, 'action': ['create_on_execute'], 'hadoop_conf_dir': '/usr/hdp/current/hadoop-client/conf', 'type': 'directory', 'immutable_paths': [u'/apps/hive/warehouse', u'/tmp', u'/app-logs', u'/mr-history/done', u'/apps/falcon'], 'mode': 0755}
      2016-08-23 07:23:33,093 - Execute['/usr/bin/kinit -kt /etc/security/keytabs/hdfs.headless.keytab hdfs@EXAMPLE.COM'] {'user': 'hdfs'}
      2016-08-23 07:23:33,170 - call['ambari-sudo.sh su hdfs -l -s /bin/bash -c 'curl -sS -L -w '"'"'%{http_code}'"'"' -X GET --negotiate -u : '"'"'http://nat-r7-pcds-falcon-multi-9.openstacklocal:20070/webhdfs/v1/user/oozie/share?op=GETFILESTATUS&user.name=hdfs'"'"' 1>/tmp/tmp2xvm99 2>/tmp/tmpwdKIRi''] {'logoutput': None, 'quiet': False}
      2016-08-23 07:23:33,259 - call returned (0, '')
      2016-08-23 07:23:33,261 - HdfsResource[None] {'security_enabled': True, 'hadoop_bin_dir': '/usr/hdp/current/hadoop-client/bin', 'keytab': '/etc/security/keytabs/hdfs.headless.keytab', 'dfs_type': '', 'default_fs': 'hdfs://nat-r7-pcds-falcon-multi-9.openstacklocal:8020', 'hdfs_resource_ignore_file': '/var/lib/ambari-agent/data/.hdfs_resource_ignore', 'hdfs_site': ..., 'kinit_path_local': '/usr/bin/kinit', 'principal_name': 'hdfs@EXAMPLE.COM', 'user': 'hdfs', 'action': ['execute'], 'hadoop_conf_dir': '/usr/hdp/current/hadoop-client/conf', 'immutable_paths': [u'/apps/hive/warehouse', u'/tmp', u'/app-logs', u'/mr-history/done', u'/apps/falcon']}
      2016-08-23 07:23:33,261 - Execute['cd /var/tmp/oozie && /usr/hdp/current/oozie-server/bin/oozie-start.sh'] {'environment': {'OOZIE_CONFIG': u'/usr/hdp/current/oozie-server/conf'}, 'not_if': "ambari-sudo.sh su oozie -l -s /bin/bash -c 'ls /var/run/oozie/oozie.pid >/dev/null 2>&1 && ps -p `cat /var/run/oozie/oozie.pid` >/dev/null 2>&1'", 'user': 'oozie'}
      2016-08-23 07:23:36,447 - ERROR. Atlas is installed in cluster but this Oozie server doesn't contain directory /usr/hdp/None/atlas/hook/hive/
      

      Attachments

        1. AMBARI-18239.patch
          0.9 kB
          Ayub Pathan
        2. AMBARI-18239.trunk.patch
          4 kB
          Jayush Luniya

        Activity

          People

            jluniya Jayush Luniya
            ayubpathan Ayub Pathan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: