-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36704/
-----------------------------------------------------------
Review request for Ambari, Jonathan Hurley and Robert Levas.
Bugs: AMBARI-12506
https://issues.apache.org/jira/browse/AMBARI-12506
Repository: ambari
Description
-------
Change the host_role_command table to allow null for host_id, indicating it's
running on the server. Changed classes to support that scenario.
Chose this over adding a row to the host table because:
* That table is really used for hosts that have agents
* Makes it hard to support Ambari-failover, Ambari server host changes
(including from-backup scenarios)
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ActionDBAccessorImpl.java
51b2f09
ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ActionScheduler.java
562a5ca
ambari-server/src/main/java/org/apache/ambari/server/actionmanager/HostRoleCommand.java
85e9135
ambari-server/src/main/java/org/apache/ambari/server/actionmanager/Stage.java
17411ac
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
2696cca
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostRoleCommandDAO.java
afa3c08
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostRoleCommandEntity.java
a2e5b31
ambari-server/src/main/java/org/apache/ambari/server/serveraction/ServerActionExecutor.java
a702599
ambari-server/src/main/java/org/apache/ambari/server/upgrade/SchemaUpgradeHelper.java
5dc58e8
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog220.java
PRE-CREATION
ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql 700f9bf
ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql 209e8f8
ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql fa11804
ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
ae4eef0
ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql 6ede40f
ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionDBAccessorImpl.java
c8e7dbd
ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionScheduler.java
b0edc3e
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java
69f0be7
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog220Test.java
PRE-CREATION
Diff: https://reviews.apache.org/r/36704/diff/
Testing
-------
Manual: Clean install; RU that has server-side; enable kerberos (one issue,
filed separately for UI).
Automated: pending
Thanks,
Nate Cole