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

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

    [ https://issues.apache.org/jira/browse/AMBARI-9938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14347915#comment-14347915 ] 

Hadoop QA commented on AMBARI-9938:
-----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12702655/AMBARI-9938.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 23 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:red}-1 core tests{color}.  The test build failed in ambari-server 

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/1929//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/1929//console

This message is automatically generated.

> 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
>
>         Attachments: AMBARI-9938.patch
>
>
> 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)