ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <d...@hortonworks.com>
Subject Re: Review Request 17668: ZooKeeper services need to be started first and running prior to starting HDFS in a HA Environment.
Date Wed, 05 Feb 2014 15:13:14 GMT


> On Feb. 5, 2014, 2:15 a.m., Sumit Mohanty wrote:
> > Dmytro, could we have edited role_command_order.json file associated with the stack
definition to fix this? If yes we can add a dependency that NAMENODE start depends on ZOOKEEPER
start.

We already this dependency for HDP2:
"NAMENODE-START": ["JOURNALNODE-START", "ZOOKEEPER_SERVER-START"],
but it is taken into account only if we start all services. If customer starts only the HDFS
service, it'll fail.


- Dmytro


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


On Feb. 3, 2014, 6:49 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17668/
> -----------------------------------------------------------
> 
> (Updated Feb. 3, 2014, 6:49 p.m.)
> 
> 
> Review request for Ambari, Nate Cole and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-4513
>     https://issues.apache.org/jira/browse/AMBARI-4513
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> The expected behavior is Ambari need to start ZooKeeper as an HDFS service dependency
if the users did not start ZooKeeper services prior to starting HDFS.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementController.java
cab12e9 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
2e1c3cd 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ServiceResourceProvider.java
1145b1b 
>   ambari-server/src/main/java/org/apache/ambari/server/metadata/RoleCommandOrder.java
3d13c77 
>   ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
009e0af 
>   ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ServiceResourceProviderTest.java
5082dce 
> 
> Diff: https://reviews.apache.org/r/17668/diff/
> 
> 
> Testing
> -------
> 
> OK
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Main ....................................... SUCCESS [0.066s]
> [INFO] Apache Ambari Project POM ......................... SUCCESS [0.025s]
> [INFO] Ambari Web ........................................ SUCCESS [7.912s]
> [INFO] Ambari Views ...................................... SUCCESS [1.422s]
> [INFO] Ambari Server ..................................... SUCCESS [10:35.494s]
> [INFO] Ambari Agent ...................................... SUCCESS [15.707s]
> [INFO] Ambari Client ..................................... SUCCESS [0.210s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message