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

Hudson commented on AMBARI-12218:
---------------------------------

SUCCESS: Integrated in Ambari-branch-2.1 #166 (See 
[https://builds.apache.org/job/Ambari-branch-2.1/166/])
AMBARI-12218. Host check for JDK does not fail when custom JDK is not found 
(rlevas) (rlevas: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=1cc476ed1e394fd75e5f54b97c51465a041964d4)
* ambari-server/src/main/python/ambari_server/serverSetup.py


> Host check for JDK does not fail when custom JDK is not found
> -------------------------------------------------------------
>
>                 Key: AMBARI-12218
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12218
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>            Priority: Critical
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-12218_01.patch, AMBARI-12218_02.patch
>
>
> The host check for JDK does not fail when needed if the JDK is changed to 
> manual when running {{ambari-server setup}} the 2nd time. 
> If the JDK is to be manually installed and one or more hosts do not have one 
> installed (or it cannot be found during the host check), the JDK host check 
> should fail.  However if {{ambari-server setup}} is run multiple times where 
> the first time an automated JDK installation is chosen then the manual option 
> is chosen, the {{jdk.name}} property remains set, _confusing_ the host check 
> process and thus not failing the check.
> *Steps to reproduce*
> # Install ambari-server
> # install custom JDK on ambari host, only - do not install the JDK anywhere 
> else
> # Execute {{ambari-server setup -s}}
> # Execute {{ambari-server setup}}
> # Choose to change the Oracle JDK
> # Select option #3 (Custom JDK)
> # Enter a valid path to a JDK
> # Complete setup
> # Start Ambari 
> # Start to create a cluster
> # Enter hosts
> # After the host check, look at the warnings and see that *no error* exists 
> for hosts where a JDK was not found
> *Solution*
> Ensure that {{jdk.name}} and {{jce.name}} are not set in the 
> ambari.properties file when the custom JDK option is specified.



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

Reply via email to