You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Alejandro Fernandez (JIRA)" <ji...@apache.org> on 2015/03/05 01:53:38 UTC

[jira] [Created] (AMBARI-9938) ambari-sudo.sh needs full path, install fails if JDK is not installed

Alejandro Fernandez created AMBARI-9938:
-------------------------------------------

             Summary: ambari-sudo.sh needs full path, install fails if JDK is not installed
                 Key: AMBARI-9938
                 URL: https://issues.apache.org/jira/browse/AMBARI-9938
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.0.0
            Reporter: Alejandro Fernandez
            Assignee: Alejandro Fernandez
             Fix For: 2.0.0


When HDP is installed on a host without JDK, the before-install hook will attempt to install JDK if it is not present. However, this fails because ambari-sudo.sh needs the fully qualified path to the script.

{code}
Execution of 'mkdir -p /var/lib/ambari-agent/data/tmp/jdk && cd /var/lib/ambari-agent/data/tmp/jdk && tar -xf /var/lib/ambari-agent/data/tmp/AMBARI-artifacts//jdk-7u67-linux-x64.tar.gz && ambari-sudo.sh cp -r /var/lib/ambari-agent/data/tmp/jdk/* /usr/jdk64' returned 2.
[3/4/15, 12:58:13 PM] Alejandro Fernandez: tar: Unexpected EOF in archive
{code}



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