You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Vitaly Brodetskyi (JIRA)" <ji...@apache.org> on 2016/03/22 13:25:25 UTC
[jira] [Updated] (AMBARI-15514) 'ambari-server check database'
failed
[ https://issues.apache.org/jira/browse/AMBARI-15514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vitaly Brodetskyi updated AMBARI-15514:
---------------------------------------
Attachment: AMBARI-15514.patch
> 'ambari-server check database' failed
> -------------------------------------
>
> Key: AMBARI-15514
> URL: https://issues.apache.org/jira/browse/AMBARI-15514
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.2.2
> Reporter: Vitaly Brodetskyi
> Assignee: Vitaly Brodetskyi
> Priority: Critical
> Fix For: 2.2.2
>
> Attachments: AMBARI-15514.patch
>
>
> *STR:*
> 1) Install and setup Ambari with ORACLE_JDK_8
> 2) Stop ambari-server
> 3) reset ambari-server
> 4) remove ambari-server from host
> 5) install ambari-server
> 6) setup ambari with ORACLE_JDK_7
> 7) start ambari-server
> 8) Stop ambari-server
> 9) reset ambari-server
> 10) remove ambari-server from host
> 11) install ambari-server
> 12) setup ambari with custom jdk (set wrong JDK location)
> 13) execute ambari-server check-database
> Result:
> {code}
> Using python /usr/bin/python
> Checking database
> Looking for available JDKs at /usr/jdk64
> Found: ['/usr/jdk64/jdk1.8.0_60', '/usr/jdk64/jdk1.7.0_67']
> Trying to use JDK /usr/jdk64/jdk1.8.0_60
> Selected JDK /usr/jdk64/jdk1.8.0_60
> ERROR: Unexpected ValueError: '' is not in list
> For more info run ambari-server with -v or --verbose option
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)