Ayub Khan created AMBARI-18239:
----------------------------------

             Summary: oozie.py is reading invalid 'version' attribute which 
results in not copying required atlas hook jars
                 Key: AMBARI-18239
                 URL: https://issues.apache.org/jira/browse/AMBARI-18239
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: trunk, 2.4.0
            Reporter: Ayub Khan
            Assignee: Ayub Khan
             Fix For: trunk


*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/"*

{noformat}
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': '[email protected]', 
'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 [email protected]'] {'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': '[email protected]', 
'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/
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to