ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Re: Review Request 29366: Removing mysql-connector-java removes also a lot of hadoop packages
Date Tue, 23 Dec 2014 13:37:05 GMT

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

Ship it!


Ship It!

- Andrew Onischuk


On Dec. 23, 2014, 1:34 p.m., Vitalyi Brodetskyi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/29366/
> -----------------------------------------------------------
> 
> (Updated Dec. 23, 2014, 1:34 p.m.)
> 
> 
> Review request for Ambari and Andrew Onischuk.
> 
> 
> Bugs: AMBARI-8883
>     https://issues.apache.org/jira/browse/AMBARI-8883
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Looks like dependency hell for hadoop_2_2* packages
> {code}
> # yum erase mysql-connector-java
> Loaded plugins: fastestmirror
> Setting up Remove Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package mysql-connector-java.noarch 1:5.1.17-6.el6 will be erased
> --> Processing Dependency: mysql-connector-java >= 5.1.29 for package: ranger_2_2_0_0_2041-hdfs-plugin-0.4.0.2.2.0.0-2041.el6.x86_64
> --> Processing Dependency: mysql-connector-java >= 5.1.29 for package: ranger_2_2_0_0_2041-hive-plugin-0.4.0.2.2.0.0-2041.el6.x86_64
> --> Processing Dependency: mysql-connector-java >= 5.1.29 for package: ranger_2_2_0_0_2041-hbase-plugin-0.4.0.2.2.0.0-2041.el6.x86_64
> --> Running transaction check
> ---> Package ranger_2_2_0_0_2041-hbase-plugin.x86_64 0:0.4.0.2.2.0.0-2041.el6 will be erased
> --> Processing Dependency: ranger_2_2_0_0_2041-hbase-plugin for package: hbase_2_2_0_0_2041-0.98.4.2.2.0.0-2041.el6.noarch
> ---> Package ranger_2_2_0_0_2041-hdfs-plugin.x86_64 0:0.4.0.2.2.0.0-2041.el6 will be erased
> --> Processing Dependency: ranger_2_2_0_0_2041-hdfs-plugin for package: hadoop_2_2_0_0_2041-2.6.0.2.2.0.0-2041.el6.x86_64
> ---> Package ranger_2_2_0_0_2041-hive-plugin.x86_64 0:0.4.0.2.2.0.0-2041.el6 will be erased
> --> Processing Dependency: ranger_2_2_0_0_2041-hive-plugin for package: hive_2_2_0_0_2041-0.14.0.2.2.0.0-2041.el6.noarch
> --> Running transaction check
> ---> Package hadoop_2_2_0_0_2041.x86_64 0:2.6.0.2.2.0.0-2041.el6 will be erased
> --> Processing Dependency: hadoop_2_2_0_0_2041 for package: hive_2_2_0_0_2041-hcatalog-0.14.0.2.2.0.0-2041.el6.noarch
> --> Processing Dependency: hadoop_2_2_0_0_2041 for package: tez_2_2_0_0_2041-0.5.2.2.2.0.0-2041.el6.noarch
> --> Processing Dependency: hadoop_2_2_0_0_2041 = 2.6.0.2.2.0.0-2041.el6 for package: hadoop_2_2_0_0_2041-hdfs-2.6.0.2.2.0.0-2041.el6.x86_64
> --> Processing Dependency: hadoop_2_2_0_0_2041 = 2.6.0.2.2.0.0-2041.el6 for package: hadoop_2_2_0_0_2041-yarn-2.6.0.2.2.0.0-2041.el6.x86_64
> --> Processing Dependency: hadoop_2_2_0_0_2041 = 2.6.0.2.2.0.0-2041.el6 for package: hadoop_2_2_0_0_2041-client-2.6.0.2.2.0.0-2041.el6.x86_64
> ---> Package hbase_2_2_0_0_2041.noarch 0:0.98.4.2.2.0.0-2041.el6 will be erased
> --> Processing Dependency: hbase_2_2_0_0_2041 = 0.98.4.2.2.0.0-2041.el6 for package: hbase_2_2_0_0_2041-thrift-0.98.4.2.2.0.0-2041.el6.noarch
> --> Processing Dependency: hbase_2_2_0_0_2041 = 0.98.4.2.2.0.0-2041.el6 for package: hbase_2_2_0_0_2041-thrift-0.98.4.2.2.0.0-2041.el6.noarch
> --> Processing Dependency: hbase_2_2_0_0_2041 = 0.98.4.2.2.0.0-2041.el6 for package: hbase_2_2_0_0_2041-master-0.98.4.2.2.0.0-2041.el6.noarch
> --> Processing Dependency: hbase_2_2_0_0_2041 = 0.98.4.2.2.0.0-2041.el6 for package: hbase_2_2_0_0_2041-master-0.98.4.2.2.0.0-2041.el6.noarch
> --> Processing Dependency: hbase_2_2_0_0_2041 = 0.98.4.2.2.0.0-2041.el6 for package: hbase_2_2_0_0_2041-regionserver-0.98.4.2.2.0.0-2041.el6.noarch
> --> Processing Dependency: hbase_2_2_0_0_2041 = 0.98.4.2.2.0.0-2041.el6 for package: hbase_2_2_0_0_2041-regionserver-0.98.4.2.2.0.0-2041.el6.noarch
> --> Processing Dependency: hbase_2_2_0_0_2041 = 0.98.4.2.2.0.0-2041.el6 for package: hbase_2_2_0_0_2041-thrift2-0.98.4.2.2.0.0-2041.el6.noarch
> --> Processing Dependency: hbase_2_2_0_0_2041 = 0.98.4.2.2.0.0-2041.el6 for package: hbase_2_2_0_0_2041-thrift2-0.98.4.2.2.0.0-2041.el6.noarch
> --> Processing Dependency: hbase_2_2_0_0_2041 = 0.98.4.2.2.0.0-2041.el6 for package: hbase_2_2_0_0_2041-rest-0.98.4.2.2.0.0-2041.el6.noarch
> --> Processing Dependency: hbase_2_2_0_0_2041 = 0.98.4.2.2.0.0-2041.el6 for package: hbase_2_2_0_0_2041-rest-0.98.4.2.2.0.0-2041.el6.noarch
> ---> Package hive_2_2_0_0_2041.noarch 0:0.14.0.2.2.0.0-2041.el6 will be erased
> --> Processing Dependency: hive_2_2_0_0_2041 = 0.14.0.2.2.0.0-2041.el6 for package: hive_2_2_0_0_2041-server-0.14.0.2.2.0.0-2041.el6.noarch
> --> Processing Dependency: hive_2_2_0_0_2041 = 0.14.0.2.2.0.0-2041.el6 for package: hive_2_2_0_0_2041-server-0.14.0.2.2.0.0-2041.el6.noarch
> --> Processing Dependency: hive_2_2_0_0_2041 = 0.14.0.2.2.0.0-2041.el6 for package: hive_2_2_0_0_2041-metastore-0.14.0.2.2.0.0-2041.el6.noarch
> --> Processing Dependency: hive_2_2_0_0_2041 = 0.14.0.2.2.0.0-2041.el6 for package: hive_2_2_0_0_2041-metastore-0.14.0.2.2.0.0-2041.el6.noarch
> --> Processing Dependency: hive_2_2_0_0_2041 = 0.14.0.2.2.0.0-2041.el6 for package: hive_2_2_0_0_2041-server2-0.14.0.2.2.0.0-2041.el6.noarch
> --> Processing Dependency: hive_2_2_0_0_2041 = 0.14.0.2.2.0.0-2041.el6 for package: hive_2_2_0_0_2041-server2-0.14.0.2.2.0.0-2041.el6.noarch
> --> Running transaction check
> ---> Package hadoop_2_2_0_0_2041-client.x86_64 0:2.6.0.2.2.0.0-2041.el6 will be erased
> --> Processing Dependency: hadoop_2_2_0_0_2041-client for package: pig_2_2_0_0_2041-0.14.0.2.2.0.0-2041.el6.noarch
> --> Processing Dependency: hadoop_2_2_0_0_2041-client for package: hive_2_2_0_0_2041-jdbc-0.14.0.2.2.0.0-2041.el6.noarch
> ---> Package hadoop_2_2_0_0_2041-hdfs.x86_64 0:2.6.0.2.2.0.0-2041.el6 will be erased
> --> Processing Dependency: hadoop_2_2_0_0_2041-hdfs = 2.6.0.2.2.0.0-2041.el6 for package: hadoop_2_2_0_0_2041-libhdfs-2.6.0.2.2.0.0-2041.el6.x86_64
> ---> Package hadoop_2_2_0_0_2041-yarn.x86_64 0:2.6.0.2.2.0.0-2041.el6 will be erased
> --> Processing Dependency: hadoop_2_2_0_0_2041-yarn = 2.6.0.2.2.0.0-2041.el6 for package: hadoop_2_2_0_0_2041-mapreduce-2.6.0.2.2.0.0-2041.el6.x86_64
> ---> Package hbase_2_2_0_0_2041-master.noarch 0:0.98.4.2.2.0.0-2041.el6 will be erased
> ---> Package hbase_2_2_0_0_2041-regionserver.noarch 0:0.98.4.2.2.0.0-2041.el6 will be erased
> ---> Package hbase_2_2_0_0_2041-rest.noarch 0:0.98.4.2.2.0.0-2041.el6 will be erased
> ---> Package hbase_2_2_0_0_2041-thrift.noarch 0:0.98.4.2.2.0.0-2041.el6 will be erased
> ---> Package hbase_2_2_0_0_2041-thrift2.noarch 0:0.98.4.2.2.0.0-2041.el6 will be erased
> ---> Package hive_2_2_0_0_2041-hcatalog.noarch 0:0.14.0.2.2.0.0-2041.el6 will be erased
> --> Processing Dependency: hive_2_2_0_0_2041-hcatalog = 0.14.0.2.2.0.0-2041.el6 for package: hive_2_2_0_0_2041-webhcat-0.14.0.2.2.0.0-2041.el6.noarch
> --> Processing Dependency: hive_2_2_0_0_2041-hcatalog = 0.14.0.2.2.0.0-2041.el6 for package: hive_2_2_0_0_2041-hcatalog-server-0.14.0.2.2.0.0-2041.el6.noarch
> ---> Package hive_2_2_0_0_2041-metastore.noarch 0:0.14.0.2.2.0.0-2041.el6 will be erased
> ---> Package hive_2_2_0_0_2041-server.noarch 0:0.14.0.2.2.0.0-2041.el6 will be erased
> ---> Package hive_2_2_0_0_2041-server2.noarch 0:0.14.0.2.2.0.0-2041.el6 will be erased
> ---> Package tez_2_2_0_0_2041.noarch 0:0.5.2.2.2.0.0-2041.el6 will be erased
> --> Running transaction check
> ---> Package hadoop_2_2_0_0_2041-libhdfs.x86_64 0:2.6.0.2.2.0.0-2041.el6 will be erased
> ---> Package hadoop_2_2_0_0_2041-mapreduce.x86_64 0:2.6.0.2.2.0.0-2041.el6 will be erased
> ---> Package hive_2_2_0_0_2041-hcatalog-server.noarch 0:0.14.0.2.2.0.0-2041.el6 will be erased
> ---> Package hive_2_2_0_0_2041-jdbc.noarch 0:0.14.0.2.2.0.0-2041.el6 will be erased
> ---> Package hive_2_2_0_0_2041-webhcat.noarch 0:0.14.0.2.2.0.0-2041.el6 will be erased
> --> Processing Dependency: hive_2_2_0_0_2041-webhcat = 0.14.0.2.2.0.0-2041.el6 for package: hive_2_2_0_0_2041-webhcat-server-0.14.0.2.2.0.0-2041.el6.noarch
> ---> Package pig_2_2_0_0_2041.noarch 0:0.14.0.2.2.0.0-2041.el6 will be erased
> --> Running transaction check
> ---> Package hive_2_2_0_0_2041-webhcat-server.noarch 0:0.14.0.2.2.0.0-2041.el6 will be erased
> --> Finished Dependency Resolution
> 
> Dependencies Resolved
> 
> ================================================================================
>  Package                          Arch   Version                 Repository
>                                                                            Size
> ================================================================================
> Removing:
>  mysql-connector-java             noarch 1:5.1.17-6.el6          @base    2.8 M
> Removing for dependencies:
>  hadoop_2_2_0_0_2041              x86_64 2.6.0.2.2.0.0-2041.el6  @HDP-2.2 209 M
>  hadoop_2_2_0_0_2041-client       x86_64 2.6.0.2.2.0.0-2041.el6  @HDP-2.2 0.0  
>  hadoop_2_2_0_0_2041-hdfs         x86_64 2.6.0.2.2.0.0-2041.el6  @HDP-2.2  20 M
>  hadoop_2_2_0_0_2041-libhdfs      x86_64 2.6.0.2.2.0.0-2041.el6  @HDP-2.2 106 k
>  hadoop_2_2_0_0_2041-mapreduce    x86_64 2.6.0.2.2.0.0-2041.el6  @HDP-2.2  47 M
>  hadoop_2_2_0_0_2041-yarn         x86_64 2.6.0.2.2.0.0-2041.el6  @HDP-2.2  26 M
>  hbase_2_2_0_0_2041               noarch 0.98.4.2.2.0.0-2041.el6 @HDP-2.2 127 M
>  hbase_2_2_0_0_2041-master        noarch 0.98.4.2.2.0.0-2041.el6 @HDP-2.2 4.0 k
>  hbase_2_2_0_0_2041-regionserver  noarch 0.98.4.2.2.0.0-2041.el6 @HDP-2.2  12 k
>  hbase_2_2_0_0_2041-rest          noarch 0.98.4.2.2.0.0-2041.el6 @HDP-2.2 4.0 k
>  hbase_2_2_0_0_2041-thrift        noarch 0.98.4.2.2.0.0-2041.el6 @HDP-2.2 4.0 k
>  hbase_2_2_0_0_2041-thrift2       noarch 0.98.4.2.2.0.0-2041.el6 @HDP-2.2 4.0 k
>  hive_2_2_0_0_2041                noarch 0.14.0.2.2.0.0-2041.el6 @HDP-2.2 131 M
>  hive_2_2_0_0_2041-hcatalog       noarch 0.14.0.2.2.0.0-2041.el6 @HDP-2.2 4.8 M
>  hive_2_2_0_0_2041-hcatalog-server
>                                   noarch 0.14.0.2.2.0.0-2041.el6 @HDP-2.2 4.9 k
>  hive_2_2_0_0_2041-jdbc           noarch 0.14.0.2.2.0.0-2041.el6 @HDP-2.2  40 M
>  hive_2_2_0_0_2041-metastore      noarch 0.14.0.2.2.0.0-2041.el6 @HDP-2.2 5.1 k
>  hive_2_2_0_0_2041-server         noarch 0.14.0.2.2.0.0-2041.el6 @HDP-2.2 5.1 k
>  hive_2_2_0_0_2041-server2        noarch 0.14.0.2.2.0.0-2041.el6 @HDP-2.2 4.9 k
>  hive_2_2_0_0_2041-webhcat        noarch 0.14.0.2.2.0.0-2041.el6 @HDP-2.2 4.3 M
>  hive_2_2_0_0_2041-webhcat-server noarch 0.14.0.2.2.0.0-2041.el6 @HDP-2.2 4.8 k
>  pig_2_2_0_0_2041                 noarch 0.14.0.2.2.0.0-2041.el6 @HDP-2.2 244 M
>  ranger_2_2_0_0_2041-hbase-plugin x86_64 0.4.0.2.2.0.0-2041.el6  @HDP-2.2  15 M
>  ranger_2_2_0_0_2041-hdfs-plugin  x86_64 0.4.0.2.2.0.0-2041.el6  @HDP-2.2  16 M
>  ranger_2_2_0_0_2041-hive-plugin  x86_64 0.4.0.2.2.0.0-2041.el6  @HDP-2.2  16 M
>  tez_2_2_0_0_2041                 noarch 0.5.2.2.2.0.0-2041.el6  @HDP-2.2  46 M
> 
> Transaction Summary
> ================================================================================
> Remove       27 Package(s)
> 
> Installed size: 949 M
> Is this ok [y/N]: Exiting on user Command
> {code}
> 
> As a result, multiple packages are missing after MySQL installation
> {code}
> Dec 22 20:52:13 Installed: ranger_2_2_0_0_2041-hbase-plugin-0.4.0.2.2.0.0-2041.el6.x86_64
> Dec 22 20:52:26 Installed: hbase_2_2_0_0_2041-0.98.4.2.2.0.0-2041.el6.noarch
> Dec 22 20:52:26 Installed: hbase_2_2_0_0_2041-thrift2-0.98.4.2.2.0.0-2041.el6.noarch
> Dec 22 20:52:26 Installed: hbase_2_2_0_0_2041-thrift-0.98.4.2.2.0.0-2041.el6.noarch
> Dec 22 20:52:26 Installed: hbase_2_2_0_0_2041-regionserver-0.98.4.2.2.0.0-2041.el6.noarch
> Dec 22 20:52:26 Installed: hbase_2_2_0_0_2041-rest-0.98.4.2.2.0.0-2041.el6.noarch
> Dec 22 20:52:26 Installed: hbase_2_2_0_0_2041-master-0.98.4.2.2.0.0-2041.el6.noarch
> Dec 22 20:52:33 Installed: hbase_2_2_0_0_2041-doc-0.98.4.2.2.0.0-2041.el6.noarch
> Dec 22 20:52:51 Installed: hadoop_2_2_0_0_2041-client-2.6.0.2.2.0.0-2041.el6.x86_64
> Dec 22 20:52:56 Installed: hive_2_2_0_0_2041-jdbc-0.14.0.2.2.0.0-2041.el6.noarch
> Dec 22 20:52:58 Installed: ranger_2_2_0_0_2041-hive-plugin-0.4.0.2.2.0.0-2041.el6.x86_64
> Dec 22 20:53:08 Installed: hive_2_2_0_0_2041-0.14.0.2.2.0.0-2041.el6.noarch
> Dec 22 20:53:09 Installed: hive_2_2_0_0_2041-hcatalog-0.14.0.2.2.0.0-2041.el6.noarch
> Dec 22 20:53:10 Installed: hive_2_2_0_0_2041-webhcat-0.14.0.2.2.0.0-2041.el6.noarch
> Dec 22 20:53:10 Installed: hive_2_2_0_0_2041-webhcat-server-0.14.0.2.2.0.0-2041.el6.noarch
> Dec 22 20:53:10 Installed: hive_2_2_0_0_2041-hcatalog-server-0.14.0.2.2.0.0-2041.el6.noarch
> Dec 22 20:53:10 Installed: hive_2_2_0_0_2041-metastore-0.14.0.2.2.0.0-2041.el6.noarch
> Dec 22 20:53:10 Installed: hive_2_2_0_0_2041-server-0.14.0.2.2.0.0-2041.el6.noarch
> Dec 22 20:53:10 Installed: hive_2_2_0_0_2041-server2-0.14.0.2.2.0.0-2041.el6.noarch
> Dec 22 20:53:56 Erased: hadoop_2_2_0_0_2041-libhdfs
> Dec 22 20:53:56 Erased: hbase_2_2_0_0_2041-regionserver
> Dec 22 20:53:56 Erased: hbase_2_2_0_0_2041-thrift
> Dec 22 20:53:56 Erased: hive_2_2_0_0_2041-metastore
> Dec 22 20:53:56 Erased: hive_2_2_0_0_2041-webhcat-server
> Dec 22 20:53:56 Erased: hive_2_2_0_0_2041-webhcat
> Dec 22 20:53:56 Erased: hbase_2_2_0_0_2041-master
> Dec 22 20:53:56 Erased: hive_2_2_0_0_2041-hcatalog-server
> Dec 22 20:53:56 Erased: hive_2_2_0_0_2041-hcatalog
> Dec 22 20:53:57 Erased: hbase_2_2_0_0_2041-rest
> Dec 22 20:53:57 Erased: hbase_2_2_0_0_2041-thrift2
> Dec 22 20:53:57 Erased: hbase_2_2_0_0_2041
> Dec 22 20:53:57 Erased: ranger_2_2_0_0_2041-hbase-plugin
> Dec 22 20:53:57 Erased: hive_2_2_0_0_2041-server2
> Dec 22 20:53:57 Erased: hive_2_2_0_0_2041-server
> Dec 22 20:53:57 Erased: hive_2_2_0_0_2041
> Dec 22 20:53:57 Erased: hive_2_2_0_0_2041-jdbc
> Dec 22 20:53:57 Erased: hadoop_2_2_0_0_2041-client
> Dec 22 20:53:57 Erased: hadoop_2_2_0_0_2041-hdfs
> Dec 22 20:53:57 Erased: hadoop_2_2_0_0_2041-mapreduce
> Dec 22 20:53:57 Erased: hadoop_2_2_0_0_2041-yarn
> Dec 22 20:53:57 Erased: hadoop_2_2_0_0_2041
> Dec 22 20:53:57 Erased: ranger_2_2_0_0_2041-hdfs-plugin
> Dec 22 20:53:57 Erased: ranger_2_2_0_0_2041-hive-plugin
> Dec 22 20:53:57 Erased: mysql-connector-java
> Dec 22 20:54:00 Installed: 1:mysql-connector-java-5.1.17-6.el6.noarch
> Dec 22 20:54:24 Installed: ranger_2_2_0_0_2041-hive-plugin-0.4.0.2.2.0.0-2041.el6.x86_64
> Dec 22 20:54:26 Installed: ranger_2_2_0_0_2041-hdfs-plugin-0.4.0.2.2.0.0-2041.el6.x86_64
> Dec 22 20:54:37 Installed: hadoop_2_2_0_0_2041-2.6.0.2.2.0.0-2041.el6.x86_64
> Dec 22 20:54:40 Installed: hadoop_2_2_0_0_2041-yarn-2.6.0.2.2.0.0-2041.el6.x86_64
> Dec 22 20:54:46 Installed: hadoop_2_2_0_0_2041-mapreduce-2.6.0.2.2.0.0-2041.el6.x86_64
> Dec 22 20:54:49 Installed: hadoop_2_2_0_0_2041-hdfs-2.6.0.2.2.0.0-2041.el6.x86_64
> Dec 22 20:54:49 Installed: hadoop_2_2_0_0_2041-client-2.6.0.2.2.0.0-2041.el6.x86_64
> Dec 22 20:54:55 Installed: hive_2_2_0_0_2041-jdbc-0.14.0.2.2.0.0-2041.el6.noarch
> Dec 22 20:55:04 Installed: hive_2_2_0_0_2041-0.14.0.2.2.0.0-2041.el6.noarch
> {code}
> 
> {code}
> 2014-12-22 20:53:54,515 - Package['mysql-connector-java'] {'action': ['remove']}
> 2014-12-22 20:53:54,515 - Performing action remove on Package['mysql-connector-java']
> 2014-12-22 20:53:54,997 - Removing package mysql-connector-java ('/usr/bin/yum -d 0 -e 0 -y erase mysql-connector-java')
> 2014-12-22 20:53:57,943 - Package['mysql-connector-java'] {}
> 2014-12-22 20:53:57,944 - Performing action install on Package['mysql-connector-java']
> {code}
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/mysql_server.py c74dfe3 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params.py 98e2b5c 
>   ambari-server/src/main/resources/custom_actions/scripts/check_host.py 7430ba1 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/package/scripts/mysql_server.py 936d38f 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/package/scripts/params.py ca5b003 
> 
> Diff: https://reviews.apache.org/r/29366/diff/
> 
> 
> Testing
> -------
> 
> /usr/bin/python2.6 /home/vtkhir/projects/ACTUAL-AMBARI/incubator-ambari/ambari-server/src/test/python/unitTests.py
> Running tests for stack:1.3.2 service:OOZIE
> test_configure_default (test_oozie_server.TestOozieServer) ... ok
> test_configure_secured (test_oozie_server.TestOozieServer) ... ok
> test_start_default (test_oozie_server.TestOozieServer) ... ok
> test_start_secured (test_oozie_server.TestOozieServer) ... ok
> test_stop_default (test_oozie_server.TestOozieServer) ... ok
> test_stop_secured (test_oozie_server.TestOozieServer) ... ok
> test_configure_default (test_oozie_client.TestOozieClient) ... ok
> test_configure_secured (test_oozie_client.TestOozieClient) ... ok
> test_service_check_default (test_service_check.TestServiceCheck) ... ok
> test_service_check_secured (test_service_check.TestServiceCheck) ... ok
> 
> ----------------------------------------------------------------------
> Ran 10 tests in 0.231s
> 
> OK
> Running tests for stack:1.3.2 service:ZOOKEEPER
> test_service_check_default (test_zookeeper_service_check.TestServiceCheck) ... ok
> test_service_check_secured (test_zookeeper_service_check.TestServiceCheck) ... ok
> test_configure_default (test_zookeeper_client.TestZookeeperClient) ... ok
> test_configure_secured (test_zookeeper_client.TestZookeeperClient) ... ok
> test_configure_default (test_zookeeper_server.TestZookeeperServer) ... ok
> test_configure_secured (test_zookeeper_server.TestZookeeperServer) ... ok
> test_start_default (test_zookeeper_server.TestZookeeperServer) ... ok
> test_start_secured (test_zookeeper_server.TestZookeeperServer) ... ok
> test_stop_default (test_zookeeper_server.TestZookeeperServer) ... ok
> test_stop_secured (test_zookeeper_server.TestZookeeperServer) ... ok
> 
> ----------------------------------------------------------------------
> Ran 10 tests in 0.302s
> 
> OK
> Running tests for stack:1.3.2 service:SQOOP
> test_service_check_default (test_service_check.TestSqoopServiceCheck) ... ok
> test_service_check_secured (test_service_check.TestSqoopServiceCheck) ... ok
> test_configure_default (test_sqoop.TestSqoop) ... ok
> 
> ----------------------------------------------------------------------
> Ran 3 tests in 0.053s
> 
> OK
> Running tests for stack:1.3.2 service:HIVE
> test_configure_default (test_hive_metastore.TestHiveMetastore) ... ok
> test_configure_secured (test_hive_metastore.TestHiveMetastore) ... ok
> test_start_default (test_hive_metastore.TestHiveMetastore) ... ok
> test_start_secured (test_hive_metastore.TestHiveMetastore) ... ok
> test_stop_default (test_hive_metastore.TestHiveMetastore) ... ok
> test_stop_secured (test_hive_metastore.TestHiveMetastore) ... ok
> test_configure_default (test_hcat_client.TestHcatClient) ... ok
> test_configure_secured (test_hcat_client.TestHcatClient) ... ok
> test_configure_default (test_mysql_server.TestMySqlServer) ... ok
> test_configure_secured (test_mysql_server.TestMySqlServer) ... ok
> test_start_default (test_mysql_server.TestMySqlServer) ... ok
> test_start_secured (test_mysql_server.TestMySqlServer) ... ok
> test_stop_default (test_mysql_server.TestMySqlServer) ... ok
> test_stop_secured (test_mysql_server.TestMySqlServer) ... ok
> test_service_check_default (test_hive_service_check.TestServiceCheck) ... Test connectivity to hive server
> Successfully connected to c6402.ambari.apache.org on port 10000
> ok
> test_service_check_secured (test_hive_service_check.TestServiceCheck) ... Test connectivity to hive server
> Successfully connected to c6402.ambari.apache.org on port 10000
> ok
> test_configure_default (test_webhcat_server.TestWebHCatServer) ... ok
> test_start_default (test_webhcat_server.TestWebHCatServer) ... ok
> test_start_secured (test_webhcat_server.TestWebHCatServer) ... ok
> test_stop_default (test_webhcat_server.TestWebHCatServer) ... ok
> test_stop_secured (test_webhcat_server.TestWebHCatServer) ... ok
> test_configure_default (test_hive_client.TestHiveClient) ... ok
> test_configure_secured (test_hive_client.TestHiveClient) ... ok
> test_configure_default (test_hive_server.TestHiveServer) ... ok
> test_configure_secured (test_hive_server.TestHiveServer) ... ok
> test_socket_timeout (test_hive_server.TestHiveServer) ... Waiting for the Hive server to start...
> ok
> test_start_default (test_hive_server.TestHiveServer) ... Waiting for the Hive server to start...
> Successfully connected to Hive at c6402.ambari.apache.org on port 10000 after 0 seconds
> ok
> test_start_secured (test_hive_server.TestHiveServer) ... Waiting for the Hive server to start...
> Successfully connected to Hive at c6402.ambari.apache.org on port 10000 after 0 seconds
> ok
> test_stop_default (test_hive_server.TestHiveServer) ... ok
> test_stop_secured (test_hive_server.TestHiveServer) ... ok
> 
> ----------------------------------------------------------------------
> Ran 30 tests in 0.768s
> 
> OK
> Running tests for stack:1.3.2 service:GANGLIA
> test_configure_default (test_ganglia_server.TestGangliaServer) ... ok
> test_install_default (test_ganglia_server.TestGangliaServer) ... ok
> test_start_default (test_ganglia_server.TestGangliaServer) ... ok
> test_stop_default (test_ganglia_server.TestGangliaServer) ... ok
> test_configure_default (test_ganglia_monitor.TestGangliaMonitor) ... ok
> test_configure_non_gmetad_node (test_ganglia_monitor.TestGangliaMonitor) ... ok
> test_install_default (test_ganglia_monitor.TestGangliaMonitor) ... ok
> test_start_default (test_ganglia_monitor.TestGangliaMonitor) ... ok
> test_stop_default (test_ganglia_monitor.TestGangliaMonitor) ... ok
> 
> ----------------------------------------------------------------------
> Ran 9 tests in 0.261s
> 
> OK
> Running tests for stack:1.3.2 service:HBASE
> test_service_check_default (test_hbase_service_check.TestServiceCheck) ... ok
> test_service_check_secured (test_hbase_service_check.TestServiceCheck) ... ok
> test_configure_default (test_hbase_client.TestHBaseClient) ... ok
> test_configure_secured (test_hbase_client.TestHBaseClient) ... ok
> test_configure_default (test_hbase_master.TestHBaseMaster) ... ok
> test_configure_secured (test_hbase_master.TestHBaseMaster) ... ok
> test_decom_default (test_hbase_master.TestHBaseMaster) ... ok
> test_decom_default_draining_only (test_hbase_master.TestHBaseMaster) ... ok
> test_decom_secure (test_hbase_master.TestHBaseMaster) ... ok
> test_start_default (test_hbase_master.TestHBaseMaster) ... ok
> test_start_secured (test_hbase_master.TestHBaseMaster) ... ok
> test_stop_default (test_hbase_master.TestHBaseMaster) ... ok
> test_stop_secured (test_hbase_master.TestHBaseMaster) ... ok
> test_configure_default (test_hbase_regionserver.TestHbaseRegionServer) ... ok
> test_configure_secured (test_hbase_regionserver.TestHbaseRegionServer) ... ok
> test_start_default (test_hbase_regionserver.TestHbaseRegionServer) ... ok
> test_start_secured (test_hbase_regionserver.TestHbaseRegionServer) ... ok
> test_stop_default (test_hbase_regionserver.TestHbaseRegionServer) ... ok
> test_stop_secured (test_hbase_regionserver.TestHbaseRegionServer) ... ok
> 
> ----------------------------------------------------------------------
> Ran 19 tests in 0.470s
> 
> OK
> Running tests for stack:1.3.2 service:NAGIOS
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
> 
> OK
> Running tests for stack:1.3.2 service:HDFS
> test_generate_configs_default (test_hdfs_client.Test) ... ok
> test_service_check_default (test_service_check.TestServiceCheck) ... ok
> test_service_check_secured (test_service_check.TestServiceCheck) ... ok
> test_configure_default (test_namenode.TestNamenode) ... ok
> test_configure_secured (test_namenode.TestNamenode) ... ok
> test_decommission_default (test_namenode.TestNamenode) ... ok
> test_decommission_secured (test_namenode.TestNamenode) ... ok
> test_decommission_update_exclude_file_only (test_namenode.TestNamenode) ... ok
> test_start_default (test_namenode.TestNamenode) ... ok
> test_start_secured (test_namenode.TestNamenode) ... ok
> test_stop_default (test_namenode.TestNamenode) ... ok
> test_stop_secured (test_namenode.TestNamenode) ... ok
> test_configure_default (test_datanode.TestDatanode) ... No handlers could be found for logger "resource_management"
> ok
> test_configure_secured (test_datanode.TestDatanode) ... ok
> test_start_default (test_datanode.TestDatanode) ... ok
> test_start_secured (test_datanode.TestDatanode) ... ok
> test_stop_default (test_datanode.TestDatanode) ... ok
> test_stop_secured (test_datanode.TestDatanode) ... ok
> test_configure_default (test_snamenode.TestSNamenode) ... ok
> test_configure_secured (test_snamenode.TestSNamenode) ... ok
> test_start_default (test_snamenode.TestSNamenode) ... ok
> test_start_secured (test_snamenode.TestSNamenode) ... ok
> test_stop_default (test_snamenode.TestSNamenode) ... ok
> test_stop_secured (test_snamenode.TestSNamenode) ... ok
> 
> ----------------------------------------------------------------------
> Ran 24 tests in 0.679s
> 
> OK
> Running tests for stack:1.3.2 service:PIG
> test_configure_default (test_pig_service_check.TestPigServiceCheck) ... ok
> test_configure_secured (test_pig_service_check.TestPigServiceCheck) ... ok
> test_configure_default (test_pig_client.TestPigClient) ... ok
> test_configure_secured (test_pig_client.TestPigClient) ... ok
> 
> ----------------------------------------------------------------------
> Ran 4 tests in 0.073s
> 
> OK
> Running tests for stack:1.3.2 service:MAPREDUCE
> test_service_check_default (test_mapreduce_service_check.TestServiceCheck) ... ok
> test_service_check_secured (test_mapreduce_service_check.TestServiceCheck) ... ok
> test_configure_default (test_mapreduce_client.TestMapreduceClient) ... ok
> test_configure_secured (test_mapreduce_client.TestMapreduceClient) ... ok
> test_generate_configs_default (test_mapreduce_client.TestMapreduceClient) ... ok
> test_configure_default (test_mapreduce_tasktracker.TestTasktracker) ... ok
> test_configure_secured (test_mapreduce_tasktracker.TestTasktracker) ... ok
> test_start_default (test_mapreduce_tasktracker.TestTasktracker) ... ok
> test_start_secured (test_mapreduce_tasktracker.TestTasktracker) ... ok
> test_stop_default (test_mapreduce_tasktracker.TestTasktracker) ... ok
> test_stop_secured (test_mapreduce_tasktracker.TestTasktracker) ... ok
> test_configure_default (test_mapreduce_historyserver.TestHistoryServer) ... ok
> test_configure_secured (test_mapreduce_historyserver.TestHistoryServer) ... ok
> test_start_default (test_mapreduce_historyserver.TestHistoryServer) ... ok
> test_start_secured (test_mapreduce_historyserver.TestHistoryServer) ... ok
> test_stop_default (test_mapreduce_historyserver.TestHistoryServer) ... ok
> test_stop_secured (test_mapreduce_historyserver.TestHistoryServer) ... ok
> test_configure_default (test_mapreduce_jobtracker.TestJobtracker) ... ok
> test_configure_secured (test_mapreduce_jobtracker.TestJobtracker) ... ok
> test_decommission_default (test_mapreduce_jobtracker.TestJobtracker) ... ok
> test_decommission_default_no_refersh (test_mapreduce_jobtracker.TestJobtracker) ... ok
> test_decommission_secured (test_mapreduce_jobtracker.TestJobtracker) ... ok
> test_start_default (test_mapreduce_jobtracker.TestJobtracker) ... ok
> test_start_secured (test_mapreduce_jobtracker.TestJobtracker) ... ok
> test_stop_default (test_mapreduce_jobtracker.TestJobtracker) ... ok
> test_stop_secured (test_mapreduce_jobtracker.TestJobtracker) ... ok
> 
> ----------------------------------------------------------------------
> Ran 26 tests in 0.555s
> 
> OK
> Running tests for stack:1.3.2 service:before-INSTALL
> test_hook_default (test_before_install.TestHookBeforeInstall) ... ok
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.030s
> 
> OK
> Running tests for stack:1.3.2 service:before-ANY
> test_hook_default (test_before_any.TestHookBeforeInstall) ... ok
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.051s
> 
> OK
> Running tests for stack:1.3.2 service:after-INSTALL
> test_hook_default (test_after_install.TestHookAfterInstall) ... ok
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.018s
> 
> OK
> Running tests for stack:1.3.2 service:before-START
> test_hook_default (test_before_start.TestHookBeforeStart) ... ok
> test_hook_default_hdfs (test_before_start.TestHookBeforeStart) ... ok
> test_hook_secured (test_before_start.TestHookBeforeStart) ... ok
> 
> ----------------------------------------------------------------------
> Ran 3 tests in 0.113s
> 
> OK
> Running tests for stack:2.0.6 service:OOZIE
> test_configure_default (test_oozie_server.TestOozieServer) ... ok
> test_configure_secured (test_oozie_server.TestOozieServer) ... ok
> test_start_default (test_oozie_server.TestOozieServer) ... ok
> test_start_secured (test_oozie_server.TestOozieServer) ... ok
> test_stop_default (test_oozie_server.TestOozieServer) ... ok
> test_stop_secured (test_oozie_server.TestOozieServer) ... ok
> test_configure_default (test_oozie_client.TestOozieClient) ... ok
> test_configure_default_hdp22 (test_oozie_client.TestOozieClient) ... ok
> test_configure_secured (test_oozie_client.TestOozieClient) ... ok
> test_service_check_default (test_service_check.TestServiceCheck) ... ok
> test_service_check_secured (test_service_check.TestServiceCheck) ... ok
> 
> ----------------------------------------------------------------------
> Ran 11 tests in 0.301s
> 
> OK
> Running tests for stack:2.0.6 service:ZOOKEEPER
> test_service_check_22 (test_zookeeper_service_check.TestServiceCheck) ... ok
> test_service_check_default (test_zookeeper_service_check.TestServiceCheck) ... ok
> test_service_check_secured (test_zookeeper_service_check.TestServiceCheck) ... ok
> test_configure_default (test_zookeeper_client.TestZookeeperClient) ... ok
> test_configure_secured (test_zookeeper_client.TestZookeeperClient) ... ok
> test_configure_default (test_zookeeper_server.TestZookeeperServer) ... ok
> test_configure_secured (test_zookeeper_server.TestZookeeperServer) ... ok
> test_start_default (test_zookeeper_server.TestZookeeperServer) ... ok
> test_start_secured (test_zookeeper_server.TestZookeeperServer) ... ok
> test_stop_default (test_zookeeper_server.TestZookeeperServer) ... ok
> test_stop_secured (test_zookeeper_server.TestZookeeperServer) ... ok
> 
> ----------------------------------------------------------------------
> Ran 11 tests in 0.339s
> 
> OK
> Running tests for stack:2.0.6 service:SQOOP
> test_service_check_default (test_service_check.TestSqoopServiceCheck) ... ok
> test_service_check_secured (test_service_check.TestSqoopServiceCheck) ... ok
> test_configure_default (test_sqoop.TestSqoop) ... ok
> 
> ----------------------------------------------------------------------
> Ran 3 tests in 0.060s
> 
> OK
> Running tests for stack:2.0.6 service:HIVE
> test_configure_default (test_hive_metastore.TestHiveMetastore) ... ok
> test_configure_secured (test_hive_metastore.TestHiveMetastore) ... ok
> test_start_default (test_hive_metastore.TestHiveMetastore) ... ok
> test_start_secured (test_hive_metastore.TestHiveMetastore) ... ok
> test_stop_default (test_hive_metastore.TestHiveMetastore) ... ok
> test_stop_secured (test_hive_metastore.TestHiveMetastore) ... ok
> test_configure_default (test_hcat_client.TestHcatClient) ... ok
> test_configure_secured (test_hcat_client.TestHcatClient) ... ok
> test_clean_default (test_mysql_server.TestMySqlServer) ... ok
> test_clean_secured (test_mysql_server.TestMySqlServer) ... ok
> test_configure_default (test_mysql_server.TestMySqlServer) ... ok
> test_configure_secured (test_mysql_server.TestMySqlServer) ... ok
> test_start_default (test_mysql_server.TestMySqlServer) ... ok
> test_start_secured (test_mysql_server.TestMySqlServer) ... ok
> test_stop_default (test_mysql_server.TestMySqlServer) ... ok
> test_stop_secured (test_mysql_server.TestMySqlServer) ... ok
> test_service_check_default (test_hive_service_check.TestServiceCheck) ... Test connectivity to hive server
> Successfully connected to c6402.ambari.apache.org on port 10000
> ok
> test_service_check_secured (test_hive_service_check.TestServiceCheck) ... Test connectivity to hive server
> Successfully connected to c6402.ambari.apache.org on port 10000
> ok
> test_configure_default (test_webhcat_server.TestWebHCatServer) ... ok
> test_start_default (test_webhcat_server.TestWebHCatServer) ... ok
> test_start_secured (test_webhcat_server.TestWebHCatServer) ... ok
> test_stop_default (test_webhcat_server.TestWebHCatServer) ... ok
> test_stop_secured (test_webhcat_server.TestWebHCatServer) ... ok
> test_configure_default (test_hive_client.TestHiveClient) ... ok
> test_configure_secured (test_hive_client.TestHiveClient) ... ok
> test_configure_default (test_hive_server.TestHiveServer) ... ok
> test_configure_secured (test_hive_server.TestHiveServer) ... ok
> test_socket_timeout (test_hive_server.TestHiveServer) ... Waiting for the Hive server to start...
> No handlers could be found for logger "resource_management"
> ok
> test_start_default (test_hive_server.TestHiveServer) ... Waiting for the Hive server to start...
> Successfully connected to Hive at c6402.ambari.apache.org on port 10000 after 0 seconds
> ok
> test_start_secured (test_hive_server.TestHiveServer) ... Waiting for the Hive server to start...
> Successfully connected to Hive at c6402.ambari.apache.org on port 10000 after 0 seconds
> ok
> test_stop_default (test_hive_server.TestHiveServer) ... ok
> test_stop_during_upgrade (test_hive_server.TestHiveServer) ... Waiting for the Hive server to start...
> Successfully connected to Hive at c6402.ambari.apache.org on port 10010 after 0 seconds
> ok
> test_stop_during_upgrade_bad_hive_version (test_hive_server.TestHiveServer) ... ok
> test_stop_secured (test_hive_server.TestHiveServer) ... ok
> 
> ----------------------------------------------------------------------
> Ran 34 tests in 1.016s
> 
> OK
> Running tests for stack:2.0.6 service:GANGLIA
> test_configure_default (test_ganglia_server.TestGangliaServer) ... ok
> test_install_default (test_ganglia_server.TestGangliaServer) ... ok
> test_start_default (test_ganglia_server.TestGangliaServer) ... ok
> test_stop_default (test_ganglia_server.TestGangliaServer) ... ok
> test_configure_default (test_ganglia_monitor.TestGangliaMonitor) ... ok
> test_configure_non_gmetad_node (test_ganglia_monitor.TestGangliaMonitor) ... ok
> test_install_default (test_ganglia_monitor.TestGangliaMonitor) ... ok
> test_start_default (test_ganglia_monitor.TestGangliaMonitor) ... ok
> test_stop_default (test_ganglia_monitor.TestGangliaMonitor) ... ok
> 
> ----------------------------------------------------------------------
> Ran 9 tests in 0.271s
> 
> OK
> Running tests for stack:2.0.6 service:HBASE
> test_service_check_22 (test_hbase_service_check.TestServiceCheck) ... ok
> test_service_check_default (test_hbase_service_check.TestServiceCheck) ... ok
> test_service_check_secured (test_hbase_service_check.TestServiceCheck) ... ok
> test_configure_default (test_hbase_client.TestHBaseClient) ... ok
> test_configure_secured (test_hbase_client.TestHBaseClient) ... ok
> test_upgrade (test_hbase_client.TestHBaseClient) ... ok
> test_configure_default (test_hbase_master.TestHBaseMaster) ... ok
> test_configure_secured (test_hbase_master.TestHBaseMaster) ... ok
> test_decom_default (test_hbase_master.TestHBaseMaster) ... ok
> test_decom_default_draining_only (test_hbase_master.TestHBaseMaster) ... ok
> test_decom_secure (test_hbase_master.TestHBaseMaster) ... ok
> test_start_default (test_hbase_master.TestHBaseMaster) ... ok
> test_start_default_22 (test_hbase_master.TestHBaseMaster) ... ok
> test_start_secured (test_hbase_master.TestHBaseMaster) ... ok
> test_stop_default (test_hbase_master.TestHBaseMaster) ... ok
> test_stop_secured (test_hbase_master.TestHBaseMaster) ... ok
> test_configure_default (test_hbase_regionserver.TestHbaseRegionServer) ... ok
> test_configure_secured (test_hbase_regionserver.TestHbaseRegionServer) ... ok
> test_start_default (test_hbase_regionserver.TestHbaseRegionServer) ... ok
> test_start_default_22 (test_hbase_regionserver.TestHbaseRegionServer) ... ok
> test_start_secured (test_hbase_regionserver.TestHbaseRegionServer) ... ok
> test_stop_default (test_hbase_regionserver.TestHbaseRegionServer) ... ok
> test_stop_secured (test_hbase_regionserver.TestHbaseRegionServer) ... ok
> 
> ----------------------------------------------------------------------
> Ran 23 tests in 0.650s
> 
> OK
> Running tests for stack:2.0.6 service:YARN
> test_configure_default (test_resourcemanager.TestResourceManager) ... ok
> test_configure_secured (test_resourcemanager.TestResourceManager) ... ok
> test_decommission_default (test_resourcemanager.TestResourceManager) ... ok
> test_decommission_secured (test_resourcemanager.TestResourceManager) ... ok
> test_start_default (test_resourcemanager.TestResourceManager) ... ok
> test_start_secured (test_resourcemanager.TestResourceManager) ... ok
> test_stop_default (test_resourcemanager.TestResourceManager) ... ok
> test_stop_secured (test_resourcemanager.TestResourceManager) ... ok
> test_configure_default (test_mapreduce2_client.TestMapReduce2Client) ... ok
> test_configure_secured (test_mapreduce2_client.TestMapReduce2Client) ... ok
> test_upgrade (test_mapreduce2_client.TestMapReduce2Client) ... ok
> test_service_check_default (test_mapreduce2_service_check.TestServiceCheck) ... ok
> test_service_check_secured (test_mapreduce2_service_check.TestServiceCheck) ... ok
> test_configure_default (test_historyserver.TestHistoryServer) ... ok
> test_configure_secured (test_historyserver.TestHistoryServer) ... ok
> test_start_default (test_historyserver.TestHistoryServer) ... No handlers could be found for logger "resource_management"
> ok
> test_start_secured (test_historyserver.TestHistoryServer) ... ok
> test_stop_default (test_historyserver.TestHistoryServer) ... ok
> test_stop_secured (test_historyserver.TestHistoryServer) ... ok
> test_configure_default (test_yarn_client.TestYarnClient) ... ok
> test_configure_secured (test_yarn_client.TestYarnClient) ... ok
> test_restart_client (test_yarn_client.TestYarnClient) ... ok
> test_upgrade (test_yarn_client.TestYarnClient) ... ok
> test_service_check_default (test_yarn_service_check.TestServiceCheck) ... ok
> test_service_check_secured (test_yarn_service_check.TestServiceCheck) ... ok
> test_configure_default (test_nodemanager.TestNodeManager) ... ok
> test_configure_secured (test_nodemanager.TestNodeManager) ... ok
> test_post_rolling_restart (test_nodemanager.TestNodeManager) ... ok
> test_post_rolling_restart_nodemanager_not_ready (test_nodemanager.TestNodeManager) ... ok
> test_start_default (test_nodemanager.TestNodeManager) ... ok
> test_start_secured (test_nodemanager.TestNodeManager) ... ok
> test_stop_default (test_nodemanager.TestNodeManager) ... ok
> test_stop_secured (test_nodemanager.TestNodeManager) ... ok
> 
> ----------------------------------------------------------------------
> Ran 33 tests in 1.259s
> 
> OK
> Running tests for stack:2.0.6 service:common
> test_getConfigurationClusterSummary_noHostsWithoutHBase (test_stack_advisor.TestHDP206StackAdvisor) ... ok
> test_getConfigurationClusterSummary_withHBaseAnd48gbRam (test_stack_advisor.TestHDP206StackAdvisor) ... ok
> test_getConfigurationClusterSummary_withHBaseAnd6gbRam (test_stack_advisor.TestHDP206StackAdvisor) ... ok
> test_recommendMapReduce2Configurations_mapMemoryLessThan2560 (test_stack_advisor.TestHDP206StackAdvisor) ... ok
> test_recommendYARNConfigurations (test_stack_advisor.TestHDP206StackAdvisor) ... ok
> test_recommendationAssignmentNotChanged (test_stack_advisor.TestHDP206StackAdvisor) ... ok
> test_recommendationCardinalityALL (test_stack_advisor.TestHDP206StackAdvisor) ... ok
> test_recommendationIsNotPreferableOnAmbariServer (test_stack_advisor.TestHDP206StackAdvisor) ... ok
> test_validationCardinality01TwoHostsAssigned (test_stack_advisor.TestHDP206StackAdvisor) ... ok
> test_validationCardinalityALL (test_stack_advisor.TestHDP206StackAdvisor) ... ok
> test_validationCardinalityAtLeast (test_stack_advisor.TestHDP206StackAdvisor) ... ok
> test_validationCardinalityExactAmount (test_stack_advisor.TestHDP206StackAdvisor) ... ok
> test_validationHostIsNotUsed (test_stack_advisor.TestHDP206StackAdvisor) ... ok
> test_validationHostIsNotUsedForNonValuableComponent (test_stack_advisor.TestHDP206StackAdvisor) ... ok
> test_validationNamenodeAndSecondaryNamenode2Hosts_noMessagesForSameHost (test_stack_advisor.TestHDP206StackAdvisor) ... ok
> test_validationWarnMessagesIfLessThanDefault (test_stack_advisor.TestHDP206StackAdvisor) ... ok
> 
> ----------------------------------------------------------------------
> Ran 16 tests in 0.340s
> 
> OK
> Running tests for stack:2.0.6 service:NAGIOS
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
> 
> OK
> Running tests for stack:2.0.6 service:HDFS
> test_generate_configs_default (test_hdfs_client.Test) ... ok
> test_upgrade (test_hdfs_client.Test) ... ok
> test_start_default (test_zkfc.TestZkfc) ... ok
> test_start_secured (test_zkfc.TestZkfc) ... ok
> test_start_with_ha_active_namenode_bootstrap (test_zkfc.TestZkfc) ... ok
> test_start_with_ha_standby_namenode_bootstrap (test_zkfc.TestZkfc) ... ok
> test_stop_default (test_zkfc.TestZkfc) ... ok
> test_stop_secured (test_zkfc.TestZkfc) ... ok
> test_configure_default (test_journalnode.TestJournalnode) ... ok
> test_configure_secured (test_journalnode.TestJournalnode) ... ok
> test_start_default (test_journalnode.TestJournalnode) ... ok
> test_start_secured (test_journalnode.TestJournalnode) ... ok
> test_stop_default (test_journalnode.TestJournalnode) ... ok
> test_stop_secured (test_journalnode.TestJournalnode) ... ok
> test_service_check_default (test_service_check.TestServiceCheck) ... ok
> test_service_check_secured (test_service_check.TestServiceCheck) ... ok
> test_configure_default (test_namenode.TestNamenode) ... ok
> test_configure_secured (test_namenode.TestNamenode) ... ok
> test_decommission_default (test_namenode.TestNamenode) ... ok
> test_decommission_ha_default (test_namenode.TestNamenode) ... ok
> test_decommission_secured (test_namenode.TestNamenode) ... ok
> test_decommission_update_exclude_file_only (test_namenode.TestNamenode) ... ok
> test_rebalance_hdfs (test_namenode.TestNamenode) ... Starting balancer with threshold = -1
> Executing command /usr/bin/sudo su hdfs -l -s /bin/bash -c 'export  PATH=/bin:/usr/bin ; hdfs --config /etc/hadoop/conf balancer -threshold -1'
> [balancer] 2014-12-23 14:43:10.277630 Time Stamp               Iteration#  Bytes Already Moved  Bytes Left To Move  Bytes Being Moved
> [balancer] 2014-12-23 14:43:10.277738 Jul 28, 2014 5:01:49 PM           0                  0 B             5.74 GB            9.79 GB
> [balancer] 2014-12-23 14:43:10.278164 Jul 28, 2014 5:03:00 PM           1                  0 B             5.58 GB            9.79 GB
> Starting balancer with threshold = -1
> Executing command /usr/bin/sudo su hdfs -l -s /bin/bash -c 'export  PATH=/bin:/usr/bin ; hdfs --config /etc/hadoop/conf balancer -threshold -1'
> [balancer] 2014-12-23 14:43:10.297943 Time Stamp               Iteration#  Bytes Already Moved  Bytes Left To Move  Bytes Being Moved
> [balancer] 2014-12-23 14:43:10.298083 Jul 28, 2014 5:01:49 PM           0                  0 B             5.74 GB            9.79 GB
> [balancer] 2014-12-23 14:43:10.298224 Jul 28, 2014 5:03:00 PM           1                  0 B             5.58 GB            9.79 GB
> ok
> test_start_default (test_namenode.TestNamenode) ... ok
> test_start_ha_bootstrap_active_from_blueprint (test_namenode.TestNamenode) ... ok
> test_start_ha_bootstrap_standby_from_blueprint (test_namenode.TestNamenode) ... ok
> test_start_ha_default (test_namenode.TestNamenode) ... ok
> test_start_ha_secured (test_namenode.TestNamenode) ... ok
> test_start_secured (test_namenode.TestNamenode) ... ok
> test_stop_default (test_namenode.TestNamenode) ... ok
> test_stop_secured (test_namenode.TestNamenode) ... ok
> test_configure_default (test_datanode.TestDatanode) ... No handlers could be found for logger "resource_management"
> ok
> test_configure_secured (test_datanode.TestDatanode) ... ok
> test_post_rolling_restart (test_datanode.TestDatanode) ... ok
> test_post_rolling_restart_bad_returncode (test_datanode.TestDatanode) ... ok
> test_post_rolling_restart_datanode_not_ready (test_datanode.TestDatanode) ... ok
> test_start_default (test_datanode.TestDatanode) ... ok
> test_start_secured (test_datanode.TestDatanode) ... ok
> test_start_secured_HDP22_non_root_https_only (test_datanode.TestDatanode) ... ok
> test_start_secured_HDP22_root (test_datanode.TestDatanode) ... ok
> test_stop_default (test_datanode.TestDatanode) ... ok
> test_stop_secured (test_datanode.TestDatanode) ... ok
> test_stop_secured_HDP22_non_root_https_only (test_datanode.TestDatanode) ... ok
> test_stop_secured_HDP22_root (test_datanode.TestDatanode) ... ok
> test_configure_default (test_snamenode.TestSNamenode) ... ok
> test_configure_secured (test_snamenode.TestSNamenode) ... ok
> test_start_default (test_snamenode.TestSNamenode) ... ok
> test_start_secured (test_snamenode.TestSNamenode) ... ok
> test_stop_default (test_snamenode.TestSNamenode) ... ok
> test_stop_secured (test_snamenode.TestSNamenode) ... ok
> 
> ----------------------------------------------------------------------
> Ran 50 tests in 1.607s
> 
> OK
> Running tests for stack:2.0.6 service:FLUME
> test_configure_default (test_flume.TestFlumeHandler) ... ok
> test_configure_with_existing (test_flume.TestFlumeHandler) ... ok
> test_flume_env_not_22 (test_flume.TestFlumeHandler) ... ok
> test_flume_env_with_22 (test_flume.TestFlumeHandler) ... ok
> test_start_default (test_flume.TestFlumeHandler) ... ok
> test_start_single (test_flume.TestFlumeHandler) ... ok
> test_status_default (test_flume.TestFlumeHandler) ... ok
> test_status_no_agents (test_flume.TestFlumeHandler) ... ok
> test_status_with_result (test_flume.TestFlumeHandler) ... ok
> test_stop_default (test_flume.TestFlumeHandler) ... ok
> test_stop_single (test_flume.TestFlumeHandler) ... ok
> test_service_check (test_service_check.TestFlumeCheck) ... ok
> 
> ----------------------------------------------------------------------
> Ran 12 tests in 0.263s
> 
> OK
> Running tests for stack:2.0.6 service:PIG
> test_configure_default (test_pig_service_check.TestPigServiceCheck) ... ok
> test_configure_secured (test_pig_service_check.TestPigServiceCheck) ... ok
> test_configure_default (test_pig_client.TestPigClient) ... ok
> test_configure_default_hdp22 (test_pig_client.TestPigClient) ... ok
> test_configure_secured (test_pig_client.TestPigClient) ... ok
> 
> ----------------------------------------------------------------------
> Ran 5 tests in 0.108s
> 
> OK
> Running tests for stack:2.0.6 service:before-INSTALL
> test_hook_default (test_before_install.TestHookBeforeInstall) ... ok
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.032s
> 
> OK
> Running tests for stack:2.0.6 service:before-ANY
> test_hook_default (test_before_any.TestHookBeforeInstall) ... ok
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.057s
> 
> OK
> Running tests for stack:2.0.6 service:after-INSTALL
> test_hook_default (test_after_install.TestHookAfterInstall) ... ok
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.021s
> 
> OK
> Running tests for stack:2.0.6 service:before-START
> test_hook_default (test_before_start.TestHookBeforeStart) ... ok
> test_hook_default_hdfs (test_before_start.TestHookBeforeStart) ... ok
> test_hook_secured (test_before_start.TestHookBeforeStart) ... ok
> 
> ----------------------------------------------------------------------
> Ran 3 tests in 0.152s
> 
> OK
> Running tests for stack:2.1 service:STORM
> test_configure_default (test_storm_rest_api_service.TestStormRestApi) ... ok
> test_configure_secured (test_storm_rest_api_service.TestStormRestApi) ... ok
> test_start_default (test_storm_rest_api_service.TestStormRestApi) ... ok
> test_start_secured (test_storm_rest_api_service.TestStormRestApi) ... ok
> test_stop_default (test_storm_rest_api_service.TestStormRestApi) ... ok
> test_stop_secured (test_storm_rest_api_service.TestStormRestApi) ... ok
> test_service_check (test_service_check.TestStormServiceCheck) ... ok
> test_configure_default (test_storm_supervisor_prod.TestStormSupervisor) ... ok
> test_start_default (test_storm_supervisor_prod.TestStormSupervisor) ... ok
> test_start_secured (test_storm_supervisor_prod.TestStormSupervisor) ... ok
> test_stop_default (test_storm_supervisor_prod.TestStormSupervisor) ... ok
> test_stop_secured (test_storm_supervisor_prod.TestStormSupervisor) ... ok
> test_configure_default (test_storm_drpc_server.TestStormDrpcServer) ... ok
> test_configure_secured (test_storm_drpc_server.TestStormDrpcServer) ... ok
> test_start_default (test_storm_drpc_server.TestStormDrpcServer) ... ok
> test_start_secured (test_storm_drpc_server.TestStormDrpcServer) ... ok
> test_stop_default (test_storm_drpc_server.TestStormDrpcServer) ... ok
> test_stop_secured (test_storm_drpc_server.TestStormDrpcServer) ... ok
> test_configure_default (test_storm_nimbus.TestStormNimbus) ... ok
> test_configure_secured (test_storm_nimbus.TestStormNimbus) ... ok
> test_start_default (test_storm_nimbus.TestStormNimbus) ... ok
> test_start_secured (test_storm_nimbus.TestStormNimbus) ... ok
> test_stop_default (test_storm_nimbus.TestStormNimbus) ... ok
> test_stop_secured (test_storm_nimbus.TestStormNimbus) ... ok
> test_configure_default (test_storm_nimbus_prod.TestStormNimbus) ... ok
> test_configure_secured (test_storm_nimbus_prod.TestStormNimbus) ... ok
> test_start_default (test_storm_nimbus_prod.TestStormNimbus) ... ok
> test_start_secured (test_storm_nimbus_prod.TestStormNimbus) ... ok
> test_stop_default (test_storm_nimbus_prod.TestStormNimbus) ... ok
> test_stop_secured (test_storm_nimbus_prod.TestStormNimbus) ... ok
> test_configure_default (test_storm_jaas_configuration.TestStormJaasConfiguration) ... ok
> test_configure_secured (test_storm_jaas_configuration.TestStormJaasConfiguration) ... ok
> test_start_default (test_storm_jaas_configuration.TestStormJaasConfiguration) ... ok
> test_start_secured (test_storm_jaas_configuration.TestStormJaasConfiguration) ... ok
> test_configure_default (test_storm_ui_server.TestStormUiServer) ... ok
> test_configure_secured (test_storm_ui_server.TestStormUiServer) ... ok
> test_start_default (test_storm_ui_server.TestStormUiServer) ... ok
> test_start_secured (test_storm_ui_server.TestStormUiServer) ... ok
> test_stop_default (test_storm_ui_server.TestStormUiServer) ... ok
> test_stop_secured (test_storm_ui_server.TestStormUiServer) ... ok
> test_configure_default (test_storm_supervisor.TestStormSupervisor) ... ok
> test_configure_secured (test_storm_supervisor.TestStormSupervisor) ... ok
> test_start_default (test_storm_supervisor.TestStormSupervisor) ... ok
> test_start_secured (test_storm_supervisor.TestStormSupervisor) ... ok
> test_stop_default (test_storm_supervisor.TestStormSupervisor) ... ok
> test_stop_secured (test_storm_supervisor.TestStormSupervisor) ... ok
> 
> ----------------------------------------------------------------------
> Ran 46 tests in 2.287s
> 
> OK
> Running tests for stack:2.1 service:TEZ
> test_configure_default (test_tez_client.TestTezClient) ... ok
> test_upgrade (test_tez_client.TestTezClient) ... ok
> 
> ----------------------------------------------------------------------
> Ran 2 tests in 0.047s
> 
> OK
> Running tests for stack:2.1 service:HIVE
> test_configure_default (test_hive_metastore.TestHiveMetastore) ... ok
> test_configure_secured (test_hive_metastore.TestHiveMetastore) ... ok
> test_start_default (test_hive_metastore.TestHiveMetastore) ... ok
> test_start_secured (test_hive_metastore.TestHiveMetastore) ... ok
> test_stop_default (test_hive_metastore.TestHiveMetastore) ... ok
> test_stop_secured (test_hive_metastore.TestHiveMetastore) ... ok
> 
> ----------------------------------------------------------------------
> Ran 6 tests in 0.192s
> 
> OK
> Running tests for stack:2.1 service:YARN
> test_configure_default (test_apptimelineserver.TestAppTimelineServer) ... ok
> test_start_default (test_apptimelineserver.TestAppTimelineServer) ... ok
> test_status (test_apptimelineserver.TestAppTimelineServer) ... ok
> test_stop_default (test_apptimelineserver.TestAppTimelineServer) ... ok
> 
> ----------------------------------------------------------------------
> Ran 4 tests in 0.143s
> 
> OK
> Running tests for stack:2.1 service:common
> test_createComponentLayoutRecommendations_mastersIn10nodes (test_stack_advisor.TestHDP21StackAdvisor) ... ok
> test_recommendHiveConfigurations_containersRamIsLess (test_stack_advisor.TestHDP21StackAdvisor) ... ok
> test_recommendHiveConfigurations_mapMemoryLessThan2048 (test_stack_advisor.TestHDP21StackAdvisor) ... ok
> test_recommendHiveConfigurations_mapMemoryMoreThan2048 (test_stack_advisor.TestHDP21StackAdvisor) ... ok
> test_recommendOozieConfigurations_noFalconServer (test_stack_advisor.TestHDP21StackAdvisor) ... ok
> test_recommendOozieConfigurations_withFalconServer (test_stack_advisor.TestHDP21StackAdvisor) ... ok
> 
> ----------------------------------------------------------------------
> Ran 6 tests in 0.056s
> 
> OK
> Running tests for stack:2.1 service:FALCON
> test_configure_default (test_falcon_client.TestFalconClient) ... ok
> test_service_check (test_service_check.TestFalconServer) ... ok
> test_service_check_secured (test_service_check.TestFalconServer) ... ok
> test_configure_default (test_falcon_server.TestFalconServer) ... ok
> test_start_default (test_falcon_server.TestFalconServer) ... ok
> test_stop_default (test_falcon_server.TestFalconServer) ... ok
> 
> ----------------------------------------------------------------------
> Ran 6 tests in 0.152s
> 
> OK
> Running tests for stack:2.2 service:KERBEROS
> test_configure_cross_realm_trust (test_kerberos_server.TestKerberosServer) ... ok
> test_configure_managed_kdc (test_kerberos_server.TestKerberosServer) ... ok
> test_configure_unmanaged_ad (test_kerberos_server.TestKerberosServer) ... ok
> test_configure_unmanaged_kdc (test_kerberos_server.TestKerberosServer) ... ok
> test_configure_cross_realm_trust (test_kerberos_client.TestKerberosClient) ... ok
> test_configure_managed_kdc (test_kerberos_client.TestKerberosClient) ... ok
> test_configure_unmanaged_ad (test_kerberos_client.TestKerberosClient) ... ok
> test_configure_unmanaged_kdc (test_kerberos_client.TestKerberosClient) ... ok
> test_get_property (test_kerberos_client.TestKerberosClient) ... ok
> 
> ----------------------------------------------------------------------
> Ran 9 tests in 0.207s
> 
> OK
> Running tests for stack:2.2 service:common
> test_performance (test_stack_advisor_perf.TestHDP22StackAdvisor) ... time taken by old stack_advisor.py = 0.0911140441895
> time taken by current stack_advisor.py = 0.00795316696167
> time taken by old stack_advisor.py = 0.0977468490601
> time taken by current stack_advisor.py = 0.00924515724182
> ok
> test_recommendAmsConfigurations (test_stack_advisor.TestHDP22StackAdvisor) ... ok
> test_recommendTezConfigurations (test_stack_advisor.TestHDP22StackAdvisor) ... ok
> test_recommendTezConfigurations_amMemoryMoreThan3072 (test_stack_advisor.TestHDP22StackAdvisor) ... ok
> test_recommendTezConfigurations_mapMemoryLessThan768 (test_stack_advisor.TestHDP22StackAdvisor) ... ok
> test_recommendYARNConfigurations (test_stack_advisor.TestHDP22StackAdvisor) ... ok
> test_validateHDFSConfigurations (test_stack_advisor.TestHDP22StackAdvisor) ... ok
> 
> ----------------------------------------------------------------------
> Ran 7 tests in 0.619s
> 
> OK
> Running tests for stack:2.2 service:SLIDER
> test_configure_default (test_slider_client.TestSliderClient) ... ok
> test_svc_check_default (test_slider_client.TestSliderClient) ... ok
> test_svc_check_secured (test_slider_client.TestSliderClient) ... ok
> 
> ----------------------------------------------------------------------
> Ran 3 tests in 0.037s
> 
> OK
> Running tests for stack:2.2 service:KNOX
> test_configure_default (test_knox_gateway.TestKnoxGateway) ... ok
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.037s
> 
> OK
> Running tests for stack:2.2 service:KAFKA
> test_configure_default (test_kafka_broker.TestKafkaBroker) ... ok
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.023s
> 
> OK
> Running tests for ambari-server
> 
> Running tests for custom actions
> test_exclude_existing_repo (TestInstallPackages.TestInstallPackages) ... ok
> test_normal_flow (TestInstallPackages.TestInstallPackages) ... ok
> testDBConnectionCheck (TestCheckHost.TestCheckHost) ... DB connection check started.
> Error downloading DBConnectionVerification.jar from Ambari Server resources. Check network access to Ambari Server.
> test exception
> DB connection check started.
> <MagicMock name='format().__add__()' id='33290896'>
> DB connection check started.
> <MagicMock name='format().__radd__()' id='33289296'>
> INFO stdoutdata: test message
> INFO stderrdata: 
> INFO returncode: 1
> DB connection check started.
> <MagicMock name='format().__radd__()' id='33289296'>
> INFO stdoutdata: test message
> INFO stderrdata: 
> INFO returncode: 0
> DB connection check started.
> Custom java is not available on host. Please install it. Java home should be the same as on server. 
> 
> IP address forward resolution check started.
> All hosts resolved to an IP address.
> IP address forward resolution check started.
> There were 5 host(s) that could not resolve to an IP address.
> ok
> testHostResolution (TestCheckHost.TestCheckHost) ... ok
> testInvalidCheck (TestCheckHost.TestCheckHost) ... ok
> testJavaHomeAvailableCheck (TestCheckHost.TestCheckHost) ... Java home check started.
> Java home to check: test_java_home
> Java home exists!
> Java home check started.
> Java home to check: test_java_home
> Java home doesn't exist!
> Last Agent Env check started.
> ok
> testLastAgentEnv (TestCheckHost.TestCheckHost) ... Last Agent Env check completed successfully.
> Last Agent Env check started.
> There was an unknown error while checking last host environment details: test exception
> ok
> 
> ----------------------------------------------------------------------
> Ran 7 tests in 0.038s
> 
> OK
> 
> Running tests for ambari-server
> AMBARI_CONF_DIR is not set, using default /etc/ambari-server/conf
> test_ParseOptions (TestUpgradeHelper.TestUpgradeHelper) ... ok
> test_check_directories (TestValidateConfigs.TestValidateConfigs) ... Error: Validation failed. Directory / already exists and isn't empty!
> ok
> test_check_user_in_group (TestValidateConfigs.TestValidateConfigs) ... ok
> test_check_users (TestValidateConfigs.TestValidateConfigs) ... Error: Validation failed. root is not a member of wrong_group group and root account can't be created!
> Error: Validation failed. wrong_user is not a member of root group and wrong_user account can't be created!
> Error: Validation failed. wrong_user is not a member of wrong_group group and wrong_user account can't be created!
> ok
> test_flatten_dict (TestValidateConfigs.TestValidateConfigs) ... ok
> test_get_value (TestValidateConfigs.TestValidateConfigs) ... ok
> test_delete_config (TestConfigs.TestConfigs) ... ok
> test_delete_config_with_attributes (TestConfigs.TestConfigs) ... ok
> test_get_config_to_file (TestConfigs.TestConfigs) ... ok
> test_update_from_file (TestConfigs.TestConfigs) ... ok
> test_update_specific_config (TestConfigs.TestConfigs) ... ok
> test_update_specific_config_with_attributes (TestConfigs.TestConfigs) ... ok
> test_get_os_family (TestOSCheck.TestOSCheck) ... ok
> test_get_os_major_version (TestOSCheck.TestOSCheck) ... ok
> test_get_os_release_name (TestOSCheck.TestOSCheck) ... ok
> test_get_os_type (TestOSCheck.TestOSCheck) ... ok
> test_get_os_version (TestOSCheck.TestOSCheck) ... ok
> test_is_redhat_family (TestOSCheck.TestOSCheck) ... ok
> test_is_suse_family (TestOSCheck.TestOSCheck) ... ok
> test_os_type_check (TestOSCheck.TestOSCheck) ... ok
> test_update_ambari_properties_os (TestOSCheck.TestOSCheck) ... Cluster primary/cluster OS family is aaa11 and local/current OS family is aaa11
> Cluster primary/cluster OS family is zzz_x77 and local/current OS family is ddd33
> WARNING: Can not find ambari.properties.rpmsave file from previous version, skipping import of settings
> ok
> test_checkServerReachability (TestSetupAgent.TestSetupAgent) ... ok
> test_configureAgent (TestSetupAgent.TestSetupAgent) ... ok
> test_execOsCommand (TestSetupAgent.TestSetupAgent) ... ok
> test_findNearestAgentPackageVersion (TestSetupAgent.TestSetupAgent) ... ok
> test_getAvaliableAgentPackageVersions (TestSetupAgent.TestSetupAgent) ... ok
> test_installAgent (TestSetupAgent.TestSetupAgent) ... ok
> test_isAgentPackageAlreadyInstalled (TestSetupAgent.TestSetupAgent) ... ok
> test_returned_optimal_version_is_default (TestSetupAgent.TestSetupAgent) ... ok
> test_returned_optimal_version_is_initial (TestSetupAgent.TestSetupAgent) ... ok
> test_returned_optimal_version_is_initial_on_suse (TestSetupAgent.TestSetupAgent) ... ok
> test_returned_optimal_version_is_initial_on_ubuntu (TestSetupAgent.TestSetupAgent) ... ok
> test_returned_optimal_version_is_nearest_on_suse (TestSetupAgent.TestSetupAgent) ... bash: zypper: command not found
> ok
> test_returned_optimal_version_is_nearest_on_ubuntu (TestSetupAgent.TestSetupAgent) ... bash: apt-cache: command not found
> ok
> test_runAgent (TestSetupAgent.TestSetupAgent) ... log
> ok
> test_setup_agent_main (TestSetupAgent.TestSetupAgent) ... ok
> test_PBootstrap (TestBootstrap.TestBootstrap) ... ok
> test_SCP (TestBootstrap.TestBootstrap) ... ok
> test_SSH (TestBootstrap.TestBootstrap) ... ok
> test_agent_setup_command_without_project_version (TestBootstrap.TestBootstrap) ... ok
> test_bootstrap_main (TestBootstrap.TestBootstrap) ... ok
> test_changePasswordFileModeOnHost (TestBootstrap.TestBootstrap) ... ok
> test_checkSudoPackage (TestBootstrap.TestBootstrap) ... ok
> test_checkSudoPackageUbuntu (TestBootstrap.TestBootstrap) ... ok
> test_copyNeededFiles (TestBootstrap.TestBootstrap) ... ok
> test_copyOsCheckScript (TestBootstrap.TestBootstrap) ... ok
> test_copyPasswordFile (TestBootstrap.TestBootstrap) ... ok
> test_createDoneFile (TestBootstrap.TestBootstrap) ... ok
> test_createTargetDir (TestBootstrap.TestBootstrap) ... ok
> test_deletePasswordFile (TestBootstrap.TestBootstrap) ... ok
> test_generateRandomFileName (TestBootstrap.TestBootstrap) ... ok
> test_getAmbariPort (TestBootstrap.TestBootstrap) ... ok
> test_getOsCheckScript (TestBootstrap.TestBootstrap) ... ok
> test_getOsCheckScriptRemoteLocation (TestBootstrap.TestBootstrap) ... ok
> test_getRemoteName (TestBootstrap.TestBootstrap) ... ok
> test_getRepoDir (TestBootstrap.TestBootstrap) ... ok
> test_getRepoFile (TestBootstrap.TestBootstrap) ... ok
> test_getRunSetupCommand (TestBootstrap.TestBootstrap) ... ok
> test_getRunSetupWithPasswordCommand (TestBootstrap.TestBootstrap) ... ok
> test_getSetupScript (TestBootstrap.TestBootstrap) ... ok
> test_host_log (TestBootstrap.TestBootstrap) ... ok
> test_interruptBootstrap (TestBootstrap.TestBootstrap) ... ok
> test_is_suse (TestBootstrap.TestBootstrap) ... ok
> test_run (TestBootstrap.TestBootstrap) ... ok
> test_runOsCheckScript (TestBootstrap.TestBootstrap) ... ok
> test_runSetupAgent (TestBootstrap.TestBootstrap) ... ok
> test_run_setup_agent_command_ends_with_project_version (TestBootstrap.TestBootstrap) ... ok
> test_try_to_execute (TestBootstrap.TestBootstrap) ... ok
> test_exportBlueprint (TestClusterBlueprint.TestClusterBlueprint) ... ok
> test_importBlueprint (TestClusterBlueprint.TestClusterBlueprint) ... ok
> test_count_hash_sum (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
> test_is_ignored (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
> test_list_common_services (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
> test_list_stacks (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
> test_perform_housekeeping (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
> test_read_hash_sum (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
> test_update_directory_archieves (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
> test_update_directory_archive (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
> test_write_hash_sum (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
> test_zip_directory (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
> test_perform_backup (TestBackupRestore.TestBKRestore) ... Creating zip file...
> <MagicMock name='mock.__radd__().__add__()' id='46905744'>
> Creating zip file...
> ok
> test_perform_restore (TestBackupRestore.TestBKRestore) ... <MagicMock name='mock.__radd__().__add__()' id='41109776'>
> <MagicMock name='mock.__radd__().__add__()' id='41109776'>
> StackAdvisor implementation for stack HDP1, version 2.0.6 was not found
> Returning DefaultStackAdvisor implementation
> ok
> test_stackAdvisorDefaultImpl (TestStackAdvisor.TestStackAdvisorInitialization) ... ok
> test_stackAdvisorLoadedForNotHDPStack (TestStackAdvisor.TestStackAdvisorInitialization) ... StackAdvisor implementation for stack XYZ, version 1.0.0 was loaded
> ok
> test_check_exitcode (TestUtils.TestUtils) ... ok
> test_get_postgre_hba_dir (TestUtils.TestUtils) ... StackAdvisor implementation for stack XYZ, version 1.0.1 was loaded
> Returning XYZ101StackAdvisor implementation
> ok
> test_get_postgre_running_status (TestUtils.TestUtils) ... ok
> test_get_symlink_path (TestUtils.TestUtils) ... ok
> test_get_ubuntu_pg_version (TestUtils.TestUtils) ... ok
> test_locate_file (TestUtils.TestUtils) ... ok
> test_looking_for_pid (TestUtils.TestUtils) ... ok
> test_pid_exists (TestUtils.TestUtils) ... ok
> test_save_main_pid_ex (TestUtils.TestUtils) ... ok
> test_wait_for_pid (TestUtils.TestUtils) ... ok
> test_adjust_directory_permissions (TestAmbariServer.TestAmbariServer) ... ok
> test_ambariServerSetupWithCustomDbName (TestAmbariServer.TestAmbariServer) ... ok
> test_backup (TestAmbariServer.TestAmbariServer) ... ok
> test_backup_no_path (TestAmbariServer.TestAmbariServer) ... ok
> test_change_objects_owner_both (TestAmbariServer.TestAmbariServer) ... ok
> test_change_objects_owner_only_stderr (TestAmbariServer.TestAmbariServer) ... ok
> test_change_objects_owner_only_stdout (TestAmbariServer.TestAmbariServer) ... ok
> test_check_ambari_user (TestAmbariServer.TestAmbariServer) ... ok
> test_check_database_name_property (TestAmbariServer.TestAmbariServer) ... ok
> test_check_iptables_is_running (TestAmbariServer.TestAmbariServer) ... ok
> test_check_jdbc_drivers (TestAmbariServer.TestAmbariServer) ... ok
> test_check_postgre_up (TestAmbariServer.TestAmbariServer) ... ok
> test_check_selinux (TestAmbariServer.TestAmbariServer) ... ok
> test_configure_database_password (TestAmbariServer.TestAmbariServer) ... ok
> test_configure_database_username_password_masterkey_persisted (TestAmbariServer.TestAmbariServer) ... ok
> test_configure_ldap_password (TestAmbariServer.TestAmbariServer) ... ok
> test_configure_os_settings (TestAmbariServer.TestAmbariServer) ... ok
> test_configure_pg_hba_ambaridb_users (TestAmbariServer.TestAmbariServer) ... ok
> test_configure_pg_hba_postgres_user (TestAmbariServer.TestAmbariServer) ... ok
> test_configure_postgres (TestAmbariServer.TestAmbariServer) ... ok
> test_configure_postgresql_conf (TestAmbariServer.TestAmbariServer) ... ok
> test_copy_file (TestAmbariServer.TestAmbariServer) ... ok
> test_create_custom_user (TestAmbariServer.TestAmbariServer) ... ok
> Test to make sure the service name can contain digits ... ok
> test_dlprogress (TestAmbariServer.TestAmbariServer) ... ok
> test_download_jdk (TestAmbariServer.TestAmbariServer) ... ok
> test_execute_remote_script (TestAmbariServer.TestAmbariServer) ... ok
> test_find_jdk (TestAmbariServer.TestAmbariServer) ... ok
> test_find_properties_file (TestAmbariServer.TestAmbariServer) ... ok
> test_generate_random_string (TestAmbariServer.TestAmbariServer) ... ok
> test_get_JAVA_HOME (TestAmbariServer.TestAmbariServer) ... ok
> test_get_YN_input (TestAmbariServer.TestAmbariServer) ... ok
> test_get_ambari_classpath (TestAmbariServer.TestAmbariServer) ... ok
> test_get_ambari_jars (TestAmbariServer.TestAmbariServer) ... ok
> test_get_ambari_properties (TestAmbariServer.TestAmbariServer) ... ok
> test_get_cert_info (TestAmbariServer.TestAmbariServer) ... ok
> test_get_conf_dir (TestAmbariServer.TestAmbariServer) ... ok
> test_get_fqdn (TestAmbariServer.TestAmbariServer) ... ok
> test_get_pass_file_path (TestAmbariServer.TestAmbariServer) ... ok
> test_get_postgre_status (TestAmbariServer.TestAmbariServer) ... ok
> test_get_share_jars (TestAmbariServer.TestAmbariServer) ... ok
> test_get_ulimit_open_files (TestAmbariServer.TestAmbariServer) ... ok
> test_get_validated_string_input (TestAmbariServer.TestAmbariServer) ... ok
> test_import_cert_and_key (TestAmbariServer.TestAmbariServer) ... ok
> test_import_cert_and_key_action (TestAmbariServer.TestAmbariServer) ... ok
> test_import_cert_and_key_with_empty_password (TestAmbariServer.TestAmbariServer) ... ok
> test_import_cert_and_key_with_incorrect_password (TestAmbariServer.TestAmbariServer) ... ok
> test_install_jce_manualy (TestAmbariServer.TestAmbariServer) ... ok
> test_install_jdk (TestAmbariServer.TestAmbariServer) ... ok
> test_is_jdbc_user_changed (TestAmbariServer.TestAmbariServer) ... ok
> test_is_server_runing (TestAmbariServer.TestAmbariServer) ... ok
> test_is_server_runing_bad_file (TestAmbariServer.TestAmbariServer) ... ok
> test_is_valid_cert_exp (TestAmbariServer.TestAmbariServer) ... ok
> test_is_valid_cert_host (TestAmbariServer.TestAmbariServer) ... ok
> test_is_valid_filepath (TestAmbariServer.TestAmbariServer) ... ok
> test_is_valid_https_port (TestAmbariServer.TestAmbariServer) ... ok
> test_ldap_sync_all (TestAmbariServer.TestAmbariServer) ... ok
> test_ldap_sync_error_status (TestAmbariServer.TestAmbariServer) ... ok
> test_ldap_sync_existing (TestAmbariServer.TestAmbariServer) ... ok
> test_ldap_sync_no_sync_mode (TestAmbariServer.TestAmbariServer) ... ok
> test_load_default_db_properties (TestAmbariServer.TestAmbariServer) ... ok
> test_main_db_options (TestAmbariServer.TestAmbariServer) ... Usage: ambari-server.py [options] action [stack_id os]
> 
> ambari-server.py: error: All database options should be set. Please see help for the options.
> Usage: ambari-server.py [options] action [stack_id os]
> 
> ambari-server.py: error: Unsupported Database unknown
> Usage: ambari-server.py [options] action [stack_id os]
> 
> ambari-server.py: error: Incorrect database port unknown
> ok
> test_main_test_backup (TestAmbariServer.TestAmbariServer) ... ok
> test_main_test_reset (TestAmbariServer.TestAmbariServer) ... ok
> test_main_test_restore (TestAmbariServer.TestAmbariServer) ... ok
> test_main_test_setup (TestAmbariServer.TestAmbariServer) ... ok
> test_main_test_setup_security (TestAmbariServer.TestAmbariServer) ... ok
> test_main_test_start (TestAmbariServer.TestAmbariServer) ... ok
> test_main_test_start_debug_long (TestAmbariServer.TestAmbariServer) ... ok
> test_main_test_start_debug_short (TestAmbariServer.TestAmbariServer) ... ok
> test_main_test_stop (TestAmbariServer.TestAmbariServer) ... ok
> test_parse_properties_file (TestAmbariServer.TestAmbariServer) ... ok
> test_print_error_msg (TestAmbariServer.TestAmbariServer) ... ok
> test_print_info_msg (TestAmbariServer.TestAmbariServer) ... ok
> test_print_warning_msg (TestAmbariServer.TestAmbariServer) ... ok
> test_proceedJDBCProperties (TestAmbariServer.TestAmbariServer) ... ok
> test_prompt_db_properties (TestAmbariServer.TestAmbariServer) ... ok
> test_prompt_db_properties_default (TestAmbariServer.TestAmbariServer) ... ok
> test_prompt_db_properties_for_each_database_type (TestAmbariServer.TestAmbariServer) ... ok
> test_prompt_db_properties_oracle_sid (TestAmbariServer.TestAmbariServer) ... ok
> test_prompt_db_properties_oracle_sname (TestAmbariServer.TestAmbariServer) ... ok
> test_prompt_db_properties_postgre_adv (TestAmbariServer.TestAmbariServer) ... ok
> test_read_ambari_user (TestAmbariServer.TestAmbariServer) ... ok
> test_read_password (TestAmbariServer.TestAmbariServer) ... ok
> test_refresh_stack_hash (TestAmbariServer.TestAmbariServer) ... ok
> test_regexps (TestAmbariServer.TestAmbariServer) ... ok
> test_remove_file (TestAmbariServer.TestAmbariServer) ... ok
> test_reset (TestAmbariServer.TestAmbariServer) ... ok
> test_reset_default (TestAmbariServer.TestAmbariServer) ... ok
> test_reset_master_key_not_persisted (TestAmbariServer.TestAmbariServer) ... ok
> test_reset_master_key_persisted (TestAmbariServer.TestAmbariServer) ... ok
> test_restart_postgres (TestAmbariServer.TestAmbariServer) ... ok
> test_restore (TestAmbariServer.TestAmbariServer) ... ok
> test_restore_no_path (TestAmbariServer.TestAmbariServer) ... ok
> test_run_metainfo_upgrade (TestAmbariServer.TestAmbariServer) ... ok
> test_run_os_command (TestAmbariServer.TestAmbariServer) ... ok
> test_run_schema_upgrade (TestAmbariServer.TestAmbariServer) ... ok
> test_run_stack_upgrade (TestAmbariServer.TestAmbariServer) ... ok
> test_run_stack_upgrade_with_url (TestAmbariServer.TestAmbariServer) ... ok
> test_run_stack_upgrade_with_url_os (TestAmbariServer.TestAmbariServer) ... ok
> test_search_file (TestAmbariServer.TestAmbariServer) ... ok
> Test to make sure the service name can contain digits ... ok
> test_set_file_permissions (TestAmbariServer.TestAmbariServer) ... ok
> test_setup (TestAmbariServer.TestAmbariServer) ... ok
> test_setup_ambari_krb5_jaas (TestAmbariServer.TestAmbariServer) ... ok
> test_setup_component_https (TestAmbariServer.TestAmbariServer) ... ok
> test_setup_db (TestAmbariServer.TestAmbariServer) ... ok
> test_setup_db_connect_attempts_fail (TestAmbariServer.TestAmbariServer) ... ok
> test_setup_db_connect_attempts_success (TestAmbariServer.TestAmbariServer) ... ok
> test_setup_https (TestAmbariServer.TestAmbariServer) ... ok
> test_setup_ldap (TestAmbariServer.TestAmbariServer) ... ok
> test_setup_ldap_invalid_input (TestAmbariServer.TestAmbariServer) ... ok
> test_setup_master_key_not_persist (TestAmbariServer.TestAmbariServer) ... ok
> test_setup_master_key_persist (TestAmbariServer.TestAmbariServer) ... ok
> test_setup_remote_db_wo_client (TestAmbariServer.TestAmbariServer) ... ok
> test_setup_security (TestAmbariServer.TestAmbariServer) ... ok
> test_silent_reset (TestAmbariServer.TestAmbariServer) ... ok
> test_start (TestAmbariServer.TestAmbariServer) ... ok
> test_stop (TestAmbariServer.TestAmbariServer) ... ok
> test_store_password_file (TestAmbariServer.TestAmbariServer) ... ok
> test_store_remote_properties (TestAmbariServer.TestAmbariServer) ... ok
> test_sync_ldap_ambari_stopped (TestAmbariServer.TestAmbariServer) ... ok
> test_sync_ldap_forbidden (TestAmbariServer.TestAmbariServer) ... ok
> test_sync_ldap_not_configured (TestAmbariServer.TestAmbariServer) ... ok
> test_track_jdk (TestAmbariServer.TestAmbariServer) ... ok
> test_update_ambari_properties (TestAmbariServer.TestAmbariServer) ... ok
> test_update_ambari_properties_negative_case (TestAmbariServer.TestAmbariServer) ... ok
> test_update_ambari_properties_without_user_property (TestAmbariServer.TestAmbariServer) ... ok
> test_update_properties (TestAmbariServer.TestAmbariServer) ... ok
> test_upgrade (TestAmbariServer.TestAmbariServer) ... ok
> test_upgrade_from_161 (TestAmbariServer.TestAmbariServer) ... ok
> test_upgrade_local_repo (TestAmbariServer.TestAmbariServer) ... ok
> test_upgrade_local_repo_nochange (TestAmbariServer.TestAmbariServer) ... ok
> test_upgrade_stack (TestAmbariServer.TestAmbariServer) ... ok
> test_validate_jdk (TestAmbariServer.TestAmbariServer) ... ok
> test_write_property (TestAmbariServer.TestAmbariServer) ... ok
> test_comparison (TestVersion.TestVersion) ... ok
> test_format (TestVersion.TestVersion) ... ok
> 
> ----------------------------------------------------------------------
> Ran 232 tests in 3.949s
> 
> OK
> ----------------------------------------------------------------------
> Total run:684
> Total errors:0
> Total failures:0
> OK
> 
> Process finished with exit code 0
> 
> 
> Thanks,
> 
> Vitalyi Brodetskyi
> 
>


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