You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2013/08/07 14:44:47 UTC
[jira] [Updated] (AMBARI-2828) Add check for java exec - run the
version command before we can start/stop/smoke services
[ https://issues.apache.org/jira/browse/AMBARI-2828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Onischuk updated AMBARI-2828:
------------------------------------
Attachment: AMBARI-2828.patch
Here I added some code to the function which generates and applies our manifests, so before generating the manifest we check $java64_home/bin/java -version to return 0 before start/stop/smoke. If check fails the user gets the message, which you can see on the screen.png
Passed these scenarios, also all the python tests were successful
> Add check for java exec - run the version command before we can start/stop/smoke services
> -----------------------------------------------------------------------------------------
>
> Key: AMBARI-2828
> URL: https://issues.apache.org/jira/browse/AMBARI-2828
> Project: Ambari
> Issue Type: Bug
> Components: agent
> Affects Versions: 1.4.0
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 1.4.0
>
> Attachments: AMBARI-2828.patch
>
>
> Add check for java exec - run the version command before we run the start/stop/others to make sure java is executable.
> At one of the users the java wasn't executable so all the start commands failed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira