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


Ship it!




Ship It!

- Dmytro Sen


On Май 23, 2016, 5:10 п.п., Aravindan Vijayan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/47734/
> -----------------------------------------------------------
> 
> (Updated Май 23, 2016, 5:10 п.п.)
> 
> 
> Review request for Ambari, Dmytro Sen, Sumit Mohanty, and Sid Wagle.
> 
> 
> Bugs: AMBARI-15898
>     https://issues.apache.org/jira/browse/AMBARI-15898
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> STR:
> 1. Deploy using blueprint with custom data directory for grafana. 
> {code}
>     {
>       "ams-grafana-env": {
>         "properties": {
>           "metrics_grafana_username": "admin",
>           "metrics_grafana_password": "admin",
>           "metrics_grafana_log_dir": "/var/opt/log/ambari-metrics-grafana",
>           "metrics_grafana_data_dir": "/var/opt/lib/ambari-metrics-grafana"
>         }
>       }
>     },{code}
> 2. Grafana start fails.
> {code}
> 2016/04/14 17:31:52 [I] Starting Grafana
> 2016/04/14 17:31:52 [I] Version: 2.6.0, Commit: v2.6.0, Build date: 
> 2015-12-14 09:18:01 -0500 EST
> 2016/04/14 17:31:52 [I] Configuration Info
> Config files:
>   [0]: /usr/lib/ambari-metrics-grafana/conf/defaults.ini
>   [1]: /etc/ambari-metrics-grafana/conf/ams-grafana.ini
> Command lines overrides:
>   [0]: default.paths.data=/var/opt/lib/ambari-metrics-grafana
>   [1]: default.paths.logs=/var/opt/log/ambari-metrics-grafana
> Paths:
>   home: /usr/lib/ambari-metrics-grafana
>   data: /var/lib/ambari-metrics-grafana
>   logs: /var/opt/log/ambari-metrics-grafana
> 
> 2016/04/14 17:31:52 [I] Database: sqlite3
> 2016/04/14 17:31:52 [I] Migrator: Starting DB migration
> 2016/04/14 17:31:52 [log.go:75 Fatal()] [E] fail to initialize orm engine: 
> Sqlstore::Migration failed err: unable to open database file
> {code}
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java
>  57cfa26 
>   
> ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-grafana-ini.xml
>  9e05860 
>   
> ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog240Test.java
>  606fc72 
> 
> Diff: https://reviews.apache.org/r/47734/diff/
> 
> 
> Testing
> -------
> 
> Manually tested.
> 
> 
> Thanks,
> 
> Aravindan Vijayan
> 
>

Reply via email to