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

Review request for Ambari and Dmitro Lisnichenko.


Bugs: AMBARI-8944
    https://issues.apache.org/jira/browse/AMBARI-8944


Repository: ambari


Description
-------

Error output:
{noformat}
2014-12-25 01:38:57,406 - Error while executing command 'start':\nTraceback 
(most recent call last):\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
 line 152, in execute\n    method(env)\n  File 
\"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py\",
 line 47, in start\n    self.configure(env)  # FOR SECURITY\n  File 
\"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py\",
 line 40, in configure\n    hive(name = 'metastore')\n  File 
\"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py\",
 line 76, in hive\n    jdbc_connector()\n  File 
\"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py\",
 line 223, in jdbc_connector\n    sudo=True\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", line 
148, in __init__\n    self.env.run()\n  File 
\"/usr/lib/python2.6/site-packages/r
 esource_management/core/environment.py\", line 149, in run\n    
self.run_action(resource, action)\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
line 115, in run_action\n    provider_action()\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\",
 line 266, in action_run\n    raise ex\nFail: Execution of 'cp 
/usr/share/java/mysql-connector-java.jar 
/usr/hdp/current/hive-metastore/lib/mysql-connector-java.jar' returned 1. cp: 
not writing through dangling symlink 
`/usr/hdp/current/hive-metastore/lib/mysql-connector-java.jar'",
    "stdout" : "2014-12-25 01:38:55,939 - Execute['mkdir -p 
/var/lib/ambari-agent/data/tmp/AMBARI-artifacts/;     curl -kf -x \"\" --retry 
10     
http://ambsmoke12-1419466638-9.cs1cloud.internal:8080/resources//UnlimitedJCEPolicyJDK7.zip
 -o 
/var/lib/ambari-agent/data/tmp/AMBARI-artifacts//UnlimitedJCEPolicyJDK7.zip'] 
{'environment': ..., 'not_if': 'test -e 
/var/lib/ambari-agent/data/tmp/AMBARI-artifacts//UnlimitedJCEPolicyJDK7.zip', 
'ignore_failures': True, 'path': ['/bin', '/usr/bin/']}\n2014-12-25 
01:38:55,944 - Skipping Execute['mkdir -p 
/var/lib/ambari-agent/data/tmp/AMBARI-artifacts/;     curl -kf -x \"\" --retry 
10     
http://ambsmoke12-1419466638-9.cs1cloud.internal:8080/resources//UnlimitedJCEPolicyJDK7.zip
 -o 
/var/lib/ambari-agent/data/tmp/AMBARI-artifacts//UnlimitedJCEPolicyJDK7.zip'] 
due to not_if\n2014-12-25 01:38:55,945 - Group['hadoop'] {'ignore_failures': 
False}\n2014-12-25 01:38:55,946 - Modifying group hadoop\n2014-12-25 
01:38:56,052 - Group['nobody'] {'ignore_failur
 es': False}\n2014-12-25 01:38:56,053 - Modifying group nobody\n2014-12-25 
01:38:56,143 - Group['users'] {'ignore_failures': False}\n2014-12-25 
01:38:56,144 - Modifying group users\n2014-12-25 01:38:56,227 - Group['knox'] 
{'ignore_failures': False}\n2014-12-25 01:38:56,227 - Modifying group 
knox\n2014-12-25 01:38:56,310 - User['nobody'] {'gid': 'hadoop', 
'ignore_failures': False, 'groups': [u'nobody']}\n2014-12-25 01:38:56,311 - 
Modifying user nobody\n2014-12-25 01:38:56,327 - User['hive'] {'gid': 'hadoop', 
'ignore_failures': False, 'groups': [u'hadoop']}\n2014-12-25 01:38:56,328 - 
Modifying user hive\n2014-12-25 01:38:56,343 - User['oozie'] {'gid': 'hadoop', 
'ignore_failures': False, 'groups': [u'users']}\n2014-12-25 01:38:56,343 - 
Modifying user oozie\n2014-12-25 01:38:56,360 - User['root'] {'gid': 'hadoop', 
'ignore_failures': False, 'groups': [u'hadoop']}\n2014-12-25 01:38:56,361 - 
Modifying user root\n2014-12-25 01:38:56,377 - User['ambari-qa'] {'gid': 
'hadoop', 'ignore_failures'
 : False, 'groups': [u'users']}\n2014-12-25 01:38:56,377 - Modifying user 
ambari-qa\n2014-12-25 01:38:56,393 - User['hdfs'] {'gid': 'hadoop', 
'ignore_failures': False, 'groups': [u'hadoop']}\n2014-12-25 01:38:56,393 - 
Modifying user hdfs\n2014-12-25 01:38:56,407 - User['knox'] {'gid': 'hadoop', 
'ignore_failures': False, 'groups': [u'hadoop']}\n2014-12-25 01:38:56,407 - 
Modifying user knox\n2014-12-25 01:38:56,419 - User['storm'] {'gid': 'hadoop', 
'ignore_failures': False, 'groups': [u'hadoop']}\n2014-12-25 01:38:56,419 - 
Modifying user storm\n2014-12-25 01:38:56,430 - User['mapred'] {'gid': 
'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}\n2014-12-25 
01:38:56,430 - Modifying user mapred\n2014-12-25 01:38:56,440 - User['hbase'] 
{'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}\n2014-12-25 
01:38:56,441 - Modifying user hbase\n2014-12-25 01:38:56,455 - User['tez'] 
{'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'users']}\n2014-12-25 
01:38:56,455 - Modi
 fying user tez\n2014-12-25 01:38:56,468 - User['zookeeper'] {'gid': 'hadoop', 
'ignore_failures': False, 'groups': [u'hadoop']}\n2014-12-25 01:38:56,468 - 
Modifying user zookeeper\n2014-12-25 01:38:56,484 - User['falcon'] {'gid': 
'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}\n2014-12-25 
01:38:56,485 - Modifying user falcon\n2014-12-25 01:38:56,499 - User['sqoop'] 
{'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}\n2014-12-25 
01:38:56,500 - Modifying user sqoop\n2014-12-25 01:38:56,516 - User['yarn'] 
{'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}\n2014-12-25 
01:38:56,517 - Modifying user yarn\n2014-12-25 01:38:56,533 - User['hcat'] 
{'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}\n2014-12-25 
01:38:56,533 - Modifying user hcat\n2014-12-25 01:38:56,548 - 
File['/var/lib/ambari-agent/data/tmp/changeUid.sh'] {'content': 
StaticFile('changeToSecureUid.sh'), 'mode': 0555}\n2014-12-25 01:38:56,562 - 
Execute['/var/lib/ambari-age
 nt/data/tmp/changeUid.sh ambari-qa 
/tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa']
 {'not_if': 'test $(id -u ambari-qa) -gt 1000'}\n2014-12-25 01:38:56,570 - 
Skipping Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh ambari-qa 
/tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa']
 due to not_if\n2014-12-25 01:38:56,571 - Directory['/grid/0/hadoop/hbase'] 
{'owner': 'hbase', 'recursive': True, 'recursive_permission': True, 'mode': 
0775}\n2014-12-25 01:38:56,572 - 
File['/var/lib/ambari-agent/data/tmp/changeUid.sh'] {'content': 
StaticFile('changeToSecureUid.sh'), 'mode': 0555}\n2014-12-25 01:38:56,586 - 
Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh hbase 
/home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/grid/0/hadoop/hbase'] 
{'not_if': 'test $(id -u hbase) -gt 1000'}\n2014-12-25 01:38:56,592 - Skipping 
Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh hbase /home/hbase,/t
 mp/hbase,/usr/bin/hbase,/var/log/hbase,/grid/0/hadoop/hbase'] due to 
not_if\n2014-12-25 01:38:56,593 - Directory['/etc/hadoop'] {'mode': 
0755}\n2014-12-25 01:38:56,593 - Directory['/etc/hadoop/conf.empty'] {'owner': 
'hdfs', 'group': 'hadoop', 'recursive': True}\n2014-12-25 01:38:56,594 - 
Link['/etc/hadoop/conf'] {'not_if': 'ls /etc/hadoop/conf', 'to': 
'/etc/hadoop/conf.empty'}\n2014-12-25 01:38:56,598 - Skipping 
Link['/etc/hadoop/conf'] due to not_if\n2014-12-25 01:38:56,613 - 
File['/etc/hadoop/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 
'owner': 'hdfs', 'group': 'hadoop'}\n2014-12-25 01:38:56,639 - 
Execute['/bin/echo 0 > /selinux/enforce'] {'only_if': 'test -f 
/selinux/enforce'}\n2014-12-25 01:38:56,642 - Skipping Execute['/bin/echo 0 > 
/selinux/enforce'] due to only_if\n2014-12-25 01:38:56,643 - 
Directory['/grid/0/log/hadoop'] {'owner': 'root', 'group': 'hadoop', 'mode': 
0775, 'recursive': True}\n2014-12-25 01:38:56,644 - 
Directory['/var/run/hadoop'] {'owner': 'root', 'g
 roup': 'root', 'recursive': True}\n2014-12-25 01:38:56,644 - 
Directory['/tmp/hadoop-hdfs'] {'owner': 'hdfs', 'recursive': True}\n2014-12-25 
01:38:56,649 - File['/etc/hadoop/conf/commons-logging.properties'] {'content': 
Template('commons-logging.properties.j2'), 'owner': 'hdfs'}\n2014-12-25 
01:38:56,664 - File['/etc/hadoop/conf/health_check'] {'content': 
Template('health_check-v2.j2'), 'owner': 'hdfs'}\n2014-12-25 01:38:56,677 - 
File['/etc/hadoop/conf/log4j.properties'] {'content': '...', 'owner': 'hdfs', 
'group': 'hadoop', 'mode': 0644}\n2014-12-25 01:38:56,708 - 
File['/etc/hadoop/conf/hadoop-metrics2.properties'] {'content': 
Template('hadoop-metrics2.properties.j2'), 'owner': 'hdfs'}\n2014-12-25 
01:38:56,720 - File['/etc/hadoop/conf/task-log4j.properties'] {'content': 
StaticFile('task-log4j.properties'), 'mode': 0755}\n2014-12-25 01:38:56,945 - 
Directory['/etc/hive'] {'mode': 0755}\n2014-12-25 01:38:56,946 - 
Directory['/etc/hive/conf.server'] {'owner': 'hive', 'group': 'hadoop', 'r
 ecursive': True}\n2014-12-25 01:38:56,947 - XmlConfig['mapred-site.xml'] 
{'group': 'hadoop', 'conf_dir': '/etc/hive/conf.server', 'mode': 0644, 
'configuration_attributes': ..., 'owner': 'hive', 'configurations': 
...}\n2014-12-25 01:38:56,960 - Generating config: 
/etc/hive/conf.server/mapred-site.xml\n2014-12-25 01:38:56,960 - 
File['/etc/hive/conf.server/mapred-site.xml'] {'owner': 'hive', 'content': 
InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 
'UTF-8'}\n2014-12-25 01:38:57,005 - Writing 
File['/etc/hive/conf.server/mapred-site.xml'] because contents don't 
match\n2014-12-25 01:38:57,030 - 
File['/etc/hive/conf.server/hive-default.xml.template'] {'owner': 'hive', 
'group': 'hadoop'}\n2014-12-25 01:38:57,031 - 
File['/etc/hive/conf.server/hive-env.sh.template'] {'owner': 'hive', 'group': 
'hadoop'}\n2014-12-25 01:38:57,032 - 
File['/etc/hive/conf.server/hive-exec-log4j.properties'] {'content': '...', 
'owner': 'hive', 'group': 'hadoop', 'mode': 0644}\n2014-12-25 01:38:57,
 047 - File['/etc/hive/conf.server/hive-log4j.properties'] {'content': '...', 
'owner': 'hive', 'group': 'hadoop', 'mode': 0644}\n2014-12-25 01:38:57,061 - 
Directory['/etc/hive/conf'] {'owner': 'hive', 'group': 'hadoop', 'recursive': 
True}\n2014-12-25 01:38:57,062 - XmlConfig['mapred-site.xml'] {'group': 
'hadoop', 'conf_dir': '/etc/hive/conf', 'mode': 0644, 
'configuration_attributes': ..., 'owner': 'hive', 'configurations': 
...}\n2014-12-25 01:38:57,079 - Generating config: 
/etc/hive/conf/mapred-site.xml\n2014-12-25 01:38:57,079 - 
File['/etc/hive/conf/mapred-site.xml'] {'owner': 'hive', 'content': 
InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 
'UTF-8'}\n2014-12-25 01:38:57,124 - Writing 
File['/etc/hive/conf/mapred-site.xml'] because contents don't match\n2014-12-25 
01:38:57,147 - File['/etc/hive/conf/hive-default.xml.template'] {'owner': 
'hive', 'group': 'hadoop'}\n2014-12-25 01:38:57,148 - 
File['/etc/hive/conf/hive-env.sh.template'] {'owner': 'hive', 'group': 'hado
 op'}\n2014-12-25 01:38:57,149 - 
File['/etc/hive/conf/hive-exec-log4j.properties'] {'content': '...', 'owner': 
'hive', 'group': 'hadoop', 'mode': 0644}\n2014-12-25 01:38:57,164 - 
File['/etc/hive/conf/hive-log4j.properties'] {'content': '...', 'owner': 
'hive', 'group': 'hadoop', 'mode': 0644}\n2014-12-25 01:38:57,178 - 
XmlConfig['hive-site.xml'] {'group': 'hadoop', 'conf_dir': 
'/etc/hive/conf.server', 'mode': 0644, 'configuration_attributes': ..., 
'owner': 'hive', 'configurations': ...}\n2014-12-25 01:38:57,193 - Generating 
config: /etc/hive/conf.server/hive-site.xml\n2014-12-25 01:38:57,194 - 
File['/etc/hive/conf.server/hive-site.xml'] {'owner': 'hive', 'content': 
InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 
'UTF-8'}\n2014-12-25 01:38:57,306 - Writing 
File['/etc/hive/conf.server/hive-site.xml'] because it doesn't 
exist\n2014-12-25 01:38:57,326 - Changing owner for 
/etc/hive/conf.server/hive-site.xml from 0 to hive\n2014-12-25 01:38:57,344 - 
File['/etc/hive/conf.s
 erver/hive-env.sh'] {'content': InlineTemplate(...), 'owner': 'hive', 'group': 
'hadoop'}\n2014-12-25 01:38:57,345 - Writing 
File['/etc/hive/conf.server/hive-env.sh'] because it doesn't exist\n2014-12-25 
01:38:57,372 - Changing owner for /etc/hive/conf.server/hive-env.sh from 0 to 
hive\n2014-12-25 01:38:57,387 - Execute['('cp', 
'/usr/share/java/mysql-connector-java.jar', 
'/usr/hdp/current/hive-metastore/lib/mysql-connector-java.jar')'] {'creates': 
'/usr/hdp/current/hive-metastore/lib/mysql-connector-java.jar', 'path': 
['/bin', '/usr/bin/'], 'sudo': True, 'not_if': 'test -f 
/usr/hdp/current/hive-metastore/lib/mysql-connector-java.jar'}\n2014-12-25 
01:38:57,406 - Error while executing command 'start':\nTraceback (most recent 
call last):\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
 line 152, in execute\n    method(env)\n  File 
\"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py\",
 line 47, in sta
 rt\n    self.configure(env)  # FOR SECURITY\n  File 
\"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py\",
 line 40, in configure\n    hive(name = 'metastore')\n  File 
\"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py\",
 line 76, in hive\n    jdbc_connector()\n  File 
\"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py\",
 line 223, in jdbc_connector\n    sudo=True\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", line 
148, in __init__\n    self.env.run()\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
line 149, in run\n    self.run_action(resource, action)\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
line 115, in run_action\n    provider_action()\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\",
 line 266, in action_run\n    ra
 ise ex\nFail: Execution of 'cp /usr/share/java/mysql-connector-java.jar 
/usr/hdp/current/hive-metastore/lib/mysql-connector-java.jar' returned 1. cp: 
not writing through dangling symlink 
`/usr/hdp/current/hive-metastore/lib/mysql-connector-java.jar'
{noformat}

 *_All clusters logs are in attachment_*


Diffs
-----

  
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py
 6fd2e93 
  
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params.py
 8e6eacb 
  
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py
 da69a3c 
  
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_service.py
 9b89f92 
  
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params.py
 4c1e68e 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/package/scripts/hive.py
 d85e24c 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/package/scripts/params.py
 b486331 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/OOZIE/package/scripts/oozie.py
 c567515 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/OOZIE/package/scripts/params.py
 1acd55f 
  ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_metastore.py 
8888378 
  ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py 5797bf0 
  ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py 5899f07 

Diff: https://reviews.apache.org/r/29462/diff/


Testing
-------

/usr/bin/python2.6 
/home/vtkhir/projects/ACTUAL-AMBARI/incubator-ambari/ambari-server/src/test/python/unitTests.py
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.308s

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.327s

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.061s

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) ... ok
test_configure_default (test_webhcat_server.TestWebHCatServer) ... Test 
connectivity to hive server
Successfully connected to c6402.ambari.apache.org on port 10000
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...
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_default (test_hive_server.TestHiveServer) ... 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) ... 2014-12-29 
20:42:34,974 - HiveServer2 executing "deregister" command in preparation for 
upgrade...
2014-12-29 20:42:34,974 - Executing HiveServer2 Rolling Upgrade pre-restart
ok
test_stop_during_upgrade_bad_hive_version (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
2014-12-29 20:42:35,016 - HiveServer2 executing "deregister" command in 
preparation for upgrade...
ok
test_stop_secured (test_hive_server.TestHiveServer) ... ok

----------------------------------------------------------------------
Ran 34 tests in 1.563s

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.670s

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) ... 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) ... 2014-12-29 
20:42:37,484 - Executing NodeManager Rolling Upgrade post-restart
2014-12-29 20:42:37,488 - NodeManager executing "yarn node -list 
-states=RUNNING" to verify the node has rejoined the cluster...
2014-12-29 20:42:37,489 - NodeManager with ID c6401.ambari.apache.org:45454 has 
rejoined the cluster.
ok
test_post_rolling_restart_nodemanager_not_ready 
(test_nodemanager.TestNodeManager) ... 2014-12-29 20:42:37,501 - Executing 
NodeManager Rolling Upgrade post-restart
2014-12-29 20:42:37,506 - NodeManager executing "yarn node -list 
-states=RUNNING" to verify the node has rejoined the cluster...
2014-12-29 20:42:37,506 - Will retry 11 time(s), caught exception: Unable to 
determine if the NodeManager has started after upgrade (result code 999). 
Sleeping for 10 sec(s)
2014-12-29 20:42:37,506 - Will retry 10 time(s), caught exception: Unable to 
determine if the NodeManager has started after upgrade (result code 999). 
Sleeping for 10 sec(s)
2014-12-29 20:42:37,507 - Will retry 9 time(s), caught exception: Unable to 
determine if the NodeManager has started after upgrade (result code 999). 
Sleeping for 10 sec(s)
2014-12-29 20:42:37,509 - Will retry 8 time(s), caught exception: Unable to 
determine if the NodeManager has started after upgrade (result code 999). 
Sleeping for 10 sec(s)
2014-12-29 20:42:37,509 - Will retry 7 time(s), caught exception: Unable to 
determine if the NodeManager has started after upgrade (result code 999). 
Sleeping for 10 sec(s)
2014-12-29 20:42:37,509 - Will retry 6 time(s), caught exception: Unable to 
determine if the NodeManager has started after upgrade (result code 999). 
Sleeping for 10 sec(s)
2014-12-29 20:42:37,510 - Will retry 5 time(s), caught exception: Unable to 
determine if the NodeManager has started after upgrade (result code 999). 
Sleeping for 10 sec(s)
2014-12-29 20:42:37,510 - Will retry 4 time(s), caught exception: Unable to 
determine if the NodeManager has started after upgrade (result code 999). 
Sleeping for 10 sec(s)
2014-12-29 20:42:37,510 - Will retry 3 time(s), caught exception: Unable to 
determine if the NodeManager has started after upgrade (result code 999). 
Sleeping for 10 sec(s)
2014-12-29 20:42:37,510 - Will retry 2 time(s), caught exception: Unable to 
determine if the NodeManager has started after upgrade (result code 999). 
Sleeping for 10 sec(s)
2014-12-29 20:42:37,510 - Will retry 1 time(s), caught exception: Unable to 
determine if the NodeManager has started after upgrade (result code 999). 
Sleeping for 10 sec(s)
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.250s

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.015s

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) ... ok
test_start_default (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'
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) ... 2014-12-29 20:42:39,342 
- Forcefully creating directory: /hadoop/hdfs/data
2014-12-29 20:42:39,354 - Host contains mounts: ['/', '/proc', '/sys', 
'/dev/pts', '/dev/shm', '/boot', '/proc/sys/fs/binfmt_misc', '/root/.gvfs'].
2014-12-29 20:42:39,355 - Encountered error while attempting to save DFS data 
dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
2014-12-29 20:42:39,355 - Encountered error while attempting to save DFS data 
dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
ok
test_configure_secured (test_datanode.TestDatanode) ... 2014-12-29 20:42:39,428 
- Forcefully creating directory: /hadoop/hdfs/data
2014-12-29 20:42:39,434 - Encountered error while attempting to save DFS data 
dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
2014-12-29 20:42:39,433 - Host contains mounts: ['/', '/proc', '/sys', 
'/dev/pts', '/dev/shm', '/boot', '/proc/sys/fs/binfmt_misc', '/root/.gvfs'].
2014-12-29 20:42:39,434 - Encountered error while attempting to save DFS data 
dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
ok
test_post_rolling_restart (test_datanode.TestDatanode) ... 2014-12-29 
20:42:39,500 - Executing DataNode Rolling Upgrade post-restart
ok
test_post_rolling_restart_bad_returncode (test_datanode.TestDatanode) ... 
2014-12-29 20:42:39,506 - Checking that the DataNode has rejoined the cluster 
after upgrade...
2014-12-29 20:42:39,506 - DataNode c6401.ambari.apache.org reports that it has 
rejoined the cluster.
2014-12-29 20:42:39,519 - Executing DataNode Rolling Upgrade post-restart
2014-12-29 20:42:39,525 - Checking that the DataNode has rejoined the cluster 
after upgrade...
2014-12-29 20:42:39,526 - Will retry 11 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,526 - Will retry 10 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,526 - Will retry 9 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,526 - Will retry 8 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,527 - Will retry 7 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,527 - Will retry 6 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,527 - Will retry 5 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,527 - Will retry 4 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,527 - Will retry 3 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,527 - Will retry 2 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,528 - Will retry 1 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
ok
test_post_rolling_restart_datanode_not_ready (test_datanode.TestDatanode) ... 
2014-12-29 20:42:39,541 - Executing DataNode Rolling Upgrade post-restart
2014-12-29 20:42:39,547 - Checking that the DataNode has rejoined the cluster 
after upgrade...
2014-12-29 20:42:39,547 - Will retry 11 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,547 - Will retry 10 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
ok
test_start_default (test_datanode.TestDatanode) ... 2014-12-29 20:42:39,547 - 
Will retry 9 time(s), caught exception: DataNode c6401.ambari.apache.org was 
not found in the list of live DataNodes. Sleeping for 10 sec(s)
2014-12-29 20:42:39,548 - Will retry 8 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,548 - Will retry 7 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,548 - Will retry 6 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,548 - Will retry 5 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,548 - Will retry 4 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,548 - Will retry 3 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,548 - Will retry 2 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,549 - Will retry 1 time(s), caught exception: DataNode 
c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping 
for 10 sec(s)
2014-12-29 20:42:39,572 - Forcefully creating directory: /hadoop/hdfs/data
2014-12-29 20:42:39,578 - Host contains mounts: ['/', '/proc', '/sys', 
'/dev/pts', '/dev/shm', '/boot', '/proc/sys/fs/binfmt_misc', '/root/.gvfs'].
2014-12-29 20:42:39,578 - Encountered error while attempting to save DFS data 
dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
2014-12-29 20:42:39,578 - Encountered error while attempting to save DFS data 
dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
ok
test_start_secured (test_datanode.TestDatanode) ... 2014-12-29 20:42:39,660 - 
Forcefully creating directory: /hadoop/hdfs/data
2014-12-29 20:42:39,666 - Encountered error while attempting to save DFS data 
dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
2014-12-29 20:42:39,665 - Host contains mounts: ['/', '/proc', '/sys', 
'/dev/pts', '/dev/shm', '/boot', '/proc/sys/fs/binfmt_misc', '/root/.gvfs'].
2014-12-29 20:42:39,666 - Encountered error while attempting to save DFS data 
dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
ok
test_start_secured_HDP22_non_root_https_only (test_datanode.TestDatanode) ... 
2014-12-29 20:42:39,752 - Forcefully creating directory: /hadoop/hdfs/data
2014-12-29 20:42:39,758 - Encountered error while attempting to save DFS data 
dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
2014-12-29 20:42:39,757 - Host contains mounts: ['/', '/proc', '/sys', 
'/dev/pts', '/dev/shm', '/boot', '/proc/sys/fs/binfmt_misc', '/root/.gvfs'].
2014-12-29 20:42:39,758 - Encountered error while attempting to save DFS data 
dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
ok
test_start_secured_HDP22_root (test_datanode.TestDatanode) ... 2014-12-29 
20:42:39,839 - Forcefully creating directory: /hadoop/hdfs/data
2014-12-29 20:42:39,844 - Host contains mounts: ['/', '/proc', '/sys', 
'/dev/pts', '/dev/shm', '/boot', '/proc/sys/fs/binfmt_misc', '/root/.gvfs'].
2014-12-29 20:42:39,845 - Encountered error while attempting to save DFS data 
dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
2014-12-29 20:42:39,845 - Encountered error while attempting to save DFS data 
dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
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 2.507s

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.255s

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.097s

OK
Running tests for stack:2.0.6 service:before-INSTALL
test_hook_default (test_before_install.TestHookBeforeInstall) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.026s

OK
Running tests for stack:2.0.6 service:before-ANY
test_hook_default (test_before_any.TestHookBeforeInstall) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.052s

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.146s

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.299s

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.043s

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.196s

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.137s

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.033s

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
test_upgrade (test_falcon_server.TestFalconServer) ... 2014-12-29 20:42:45,287 
- Backing up Falcon data and configuration directories before upgrade...
2014-12-29 20:42:45,287 - Compressing /etc/falcon/conf to 
/tmp/ambari-test/falcon-upgrade-backup/falcon-conf-backup.tar
2014-12-29 20:42:45,291 - Compressing /hadoop/falcon to 
/tmp/ambari-test/falcon-upgrade-backup/falcon-local-backup.tar
2014-12-29 20:42:45,292 - Executing Falcon Server Rolling Upgrade pre-restart
2014-12-29 20:42:45,292 - Restoring Falcon data and configuration directories 
after upgrade...
2014-12-29 20:42:45,292 - Extracting 
/tmp/ambari-test/falcon-upgrade-backup/falcon-conf-backup.tar to 
/etc/falcon/conf
2014-12-29 20:42:45,293 - Extracting 
/tmp/ambari-test/falcon-upgrade-backup/falcon-local-backup.tar to /hadoop/falcon
ok

----------------------------------------------------------------------
Ran 7 tests in 0.180s

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.194s

OK
Running tests for stack:2.2 service:common
test_performance (test_stack_advisor_perf.TestHDP22StackAdvisor) ... time taken 
by old stack_advisor.py = 0.0905790328979
time taken by current stack_advisor.py = 0.00703907012939
time taken by old stack_advisor.py = 0.0961048603058
time taken by current stack_advisor.py = 0.00840282440186
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.608s

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.035s

OK
Running tests for stack:2.2 service:KNOX
test_configure_default (test_knox_gateway.TestKnoxGateway) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.033s

OK
Running tests for stack:2.2 service:KAFKA
test_configure_default (test_kafka_broker.TestKafkaBroker) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.022s

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='42524368'>
DB connection check started.
<MagicMock name='format().__radd__()' id='42523984'>
INFO stdoutdata: test message
INFO stderrdata: 
INFO returncode: 1
DB connection check started.
<MagicMock name='format().__radd__()' id='42523984'>
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.
ok

----------------------------------------------------------------------
Ran 7 tests in 0.037s

OK

Running tests for ambari-server
Last Agent Env check started.
There was an unknown error while checking last host environment details: test 
exception
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) ... ok
test_perform_restore (TestBackupRestore.TestBKRestore) ... Creating zip file...
<MagicMock name='mock.__radd__().__add__()' id='52496400'>
Creating zip file...
ok
test_stackAdvisorDefaultImpl (TestStackAdvisor.TestStackAdvisorInitialization) 
... ok
test_stackAdvisorLoadedForNotHDPStack 
(TestStackAdvisor.TestStackAdvisorInitialization) ... <MagicMock 
name='mock.__radd__().__add__()' id='51004304'>
<MagicMock name='mock.__radd__().__add__()' id='51004304'>
StackAdvisor implementation for stack HDP1, version 2.0.6 was not found
Returning DefaultStackAdvisor implementation
StackAdvisor implementation for stack XYZ, version 1.0.0 was loaded
StackAdvisor implementation for stack XYZ, version 1.0.1 was loaded
Returning XYZ101StackAdvisor implementation
ok
test_check_exitcode (TestUtils.TestUtils) ... ok
test_get_postgre_hba_dir (TestUtils.TestUtils) ... 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.831s

OK
----------------------------------------------------------------------
Total run:544
Total errors:0
Total failures:0
OK

Process finished with exit code 0


Thanks,

Vitalyi Brodetskyi

Reply via email to