-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45160/#review124809
-----------------------------------------------------------


Ship it!




Ship It!

- Andrew Onischuk


On March 22, 2016, 12:30 p.m., Vitalyi Brodetskyi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45160/
> -----------------------------------------------------------
> 
> (Updated March 22, 2016, 12:30 p.m.)
> 
> 
> Review request for Ambari, Andrew Onischuk and Dmytro Sen.
> 
> 
> Bugs: AMBARI-15514
>     https://issues.apache.org/jira/browse/AMBARI-15514
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> *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}
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/python/ambari_server/checkDatabase.py 80eecc2 
> 
> Diff: https://reviews.apache.org/r/45160/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Vitalyi Brodetskyi
> 
>

Reply via email to