Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

sas embedded process Error

Highlighted

sas embedded process Error

New Contributor

Hi,

I am trying to install sas embedded process through Ambari, I am getting the below error message.

stderr: /var/lib/ambari-agent/data/errors-12860.txt None

stdout: /var/lib/ambari-agent/data/output-12860.txt 2016-06-01 15:16:44,232 - The hadoop conf dir /usr/hdp/current/hadoop-client/conf exists, will call conf-select on it for version 2.4.0.0-169 2016-06-01 15:16:44,232 - Checking if need to create versioned conf dir /etc/hadoop/2.4.0.0-169/0 2016-06-01 15:16:44,233 - call['conf-select create-conf-dir --package hadoop --stack-version 2.4.0.0-169 --conf-version 0'] {'logoutput': False, 'sudo': True, 'quiet': False, 'stderr': -1} 2016-06-01 15:16:44,302 - call returned (1, '/etc/hadoop/2.4.0.0-169/0 exist already', '') 2016-06-01 15:16:44,303 - checked_call['conf-select set-conf-dir --package hadoop --stack-version 2.4.0.0-169 --conf-version 0'] {'logoutput': False, 'sudo': True, 'quiet': False} 2016-06-01 15:16:44,369 - checked_call returned (0, '/usr/hdp/2.4.0.0-169/hadoop/conf -> /etc/hadoop/2.4.0.0-169/0') 2016-06-01 15:16:44,369 - Ensuring that hadoop has the correct symlink structure 2016-06-01 15:16:44,369 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2016-06-01 15:16:44,373 - Skipping creation of User and Group as host is sys prepped or ignore_groupsusers_create flag is on 2016-06-01 15:16:44,373 - Directory['/tmp/hbase-hbase'] {'owner': 'hbase', 'recursive': True, 'mode': 0775, 'cd_access': 'a'} 2016-06-01 15:16:44,380 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2016-06-01 15:16:44,384 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase'] {'not_if': '(test $(id -u hbase) -gt 1000) || (true)'} 2016-06-01 15:16:44,408 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase'] due to not_if 2016-06-01 15:16:44,409 - Directory['/etc/hadoop'] {'mode': 0755} 2016-06-01 15:16:44,438 - File['/usr/hdp/current/hadoop-client/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'root', 'group': 'hadoop'} 2016-06-01 15:16:44,441 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 0777} 2016-06-01 15:16:44,468 - Repository['HDP-2.4'] {'base_url': 'http://rsm-nj-bp-49-21.svr.us.jpmchase.net/eng/HDP/HDP-2.4.0.0/centos6/2.x/updates/2.4.0.0/', 'action': ['create'], 'components': ['HDP', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'HDP', 'mirror_list': None} 2016-06-01 15:16:44,489 - File['/etc/yum.repos.d/HDP.repo'] {'content': '[HDP-2.4]\nname=HDP-2.4\nbaseurl=http://rsm-nj-bp-49-21.svr.us.jpmchase.net/eng/HDP/HDP-2.4.0.0/centos6/2.x/updates/2.4.0.0/\n\npath=/\nenabled=1\ngpgcheck=0'} 2016-06-01 15:16:44,490 - Repository['HDP-UTILS-1.1.0.20'] {'base_url': 'http://rsm-nj-bp-49-21.svr.us.jpmchase.net/eng/HDP/HDP-2.4.0.0/HDP-UTILS-1.1.0.20/repos/centos6/', 'action': ['create'], 'components': ['HDP-UTILS', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'HDP-UTILS', 'mirror_list': None} 2016-06-01 15:16:44,499 - File['/etc/yum.repos.d/HDP-UTILS.repo'] {'content': '[HDP-UTILS-1.1.0.20]\nname=HDP-UTILS-1.1.0.20\nbaseurl=http://rsm-nj-bp-49-21.svr.us.jpmchase.net/eng/HDP/HDP-2.4.0.0/HDP-UTILS-1.1.0.20/repos/centos6/\n\npath=/\nenabled=1\ngpgcheck=0'} 2016-06-01 15:16:44,500 - Package['unzip'] {} 2016-06-01 15:16:44,661 - Skipping installation of existing package unzip 2016-06-01 15:16:44,661 - Package['curl'] {} 2016-06-01 15:16:44,715 - Skipping installation of existing package curl 2016-06-01 15:16:44,715 - Package['hdp-select'] {} 2016-06-01 15:16:44,766 - Skipping installation of existing package hdp-select 9.43.sdl.24 /opt/SASEPHome 2016-06-01 15:16:45,361 - The hadoop conf dir /usr/hdp/current/hadoop-client/conf exists, will call conf-select on it for version 2.4.0.0-169 2016-06-01 15:16:45,361 - Checking if need to create versioned conf dir /etc/hadoop/2.4.0.0-169/0 2016-06-01 15:16:45,362 - call['conf-select create-conf-dir --package hadoop --stack-version 2.4.0.0-169 --conf-version 0'] {'logoutput': False, 'sudo': True, 'quiet': False, 'stderr': -1} 2016-06-01 15:16:45,430 - call returned (1, '/etc/hadoop/2.4.0.0-169/0 exist already', '') 2016-06-01 15:16:45,430 - checked_call['conf-select set-conf-dir --package hadoop --stack-version 2.4.0.0-169 --conf-version 0'] {'logoutput': False, 'sudo': True, 'quiet': False} 2016-06-01 15:16:45,498 - checked_call returned (0, '/usr/hdp/2.4.0.0-169/hadoop/conf -> /etc/hadoop/2.4.0.0-169/0') 2016-06-01 15:16:45,498 - Ensuring that hadoop has the correct symlink structure 2016-06-01 15:16:45,499 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2016-06-01 15:16:45,500 - Executing hdp-select set all on 2.4.0.0-169 2016-06-01 15:16:45,500 - Execute['ambari-sudo.sh /usr/bin/hdp-select set all `ambari-python-wrap /usr/bin/hdp-select versions | grep ^2.4.0.0-169 | tail -1`'] {'only_if': 'ls -d /usr/hdp/2.4.0.0-169*'} 2016-06-01 15:16:45,647 - XmlConfig['core-site.xml'] {'group': 'hadoop', 'conf_dir': '/usr/hdp/current/hadoop-client/conf', 'configuration_attributes': {}, 'owner': 'hdfs', 'only_if': 'ls /usr/hdp/current/hadoop-client/conf', 'configurations': ...} 2016-06-01 15:16:45,701 - Generating config: /usr/hdp/current/hadoop-client/conf/core-site.xml 2016-06-01 15:16:45,702 - File['/usr/hdp/current/hadoop-client/conf/core-site.xml'] {'owner': 'hdfs', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': None, 'encoding': 'UTF-8'} 2016-06-01 15:16:45,785 - Could not load 'version' from /var/lib/ambari-agent/data/structured-out-12860.json

1 REPLY 1

Re: sas embedded process Error

Is this a custom service you're writing? If so, you need to ensure its metainfo.xml has versionAdvertised=false for each of its components since it does not ship with the HDP stack and does not have a symlink /usr/hdp/ Then restart ambari-server

If this is not a custom service:

What's happening is that Ambari things this component needs to advertise a version, typically during a restart command. To do so, it calls "hdp-select status <comp>"

Run that command manually and make sure it is using 2.4.0.0-169 Also, ensure you have enough disk space, since Ambari needs to update the version value in /var/lib/ambari-agent/data/structured-out-*.json

Don't have an account?
Coming from Hortonworks? Activate your account here