incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erin A Boyd (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-2130) Use modified dependencies if a stack contains an HCFS service (Hadoop Compatible File System)
Date Wed, 10 Jul 2013 15:57:52 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-2130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13704680#comment-13704680
] 

Erin A Boyd commented on AMBARI-2130:
-------------------------------------

Here are the results of the unit tests:
test_adjust_directory_permissions (TestAmbaryServer.TestAmbariServer) ... ok
test_check_ambari_user (TestAmbaryServer.TestAmbariServer) ... ok
test_check_iptables (TestAmbaryServer.TestAmbariServer) ... ok
test_check_jdbc_drivers (TestAmbaryServer.TestAmbariServer) ... ok
test_check_postgre_up (TestAmbaryServer.TestAmbariServer) ... ok
test_check_selinux (TestAmbaryServer.TestAmbariServer) ... ok
test_configure_database_password (TestAmbaryServer.TestAmbariServer) ... ok
test_configure_database_username_password_masterkey_persisted (TestAmbaryServer.TestAmbariServer)
... ok
test_configure_ldap_password (TestAmbaryServer.TestAmbariServer) ... ok
test_configure_os_settings (TestAmbaryServer.TestAmbariServer) ... ok
test_configure_pg_hba_ambaridb_users (TestAmbaryServer.TestAmbariServer) ... ok
test_configure_pg_hba_postgres_user (TestAmbaryServer.TestAmbariServer) ... ok
test_configure_postgres (TestAmbaryServer.TestAmbariServer) ... ok
test_configure_postgresql_conf (TestAmbaryServer.TestAmbariServer) ... ok
test_create_custom_user (TestAmbaryServer.TestAmbariServer) ... ok
Test to make sure the service name can contain digits ... ok
test_dlprogress (TestAmbaryServer.TestAmbariServer) ... ok
test_download_jdk (TestAmbaryServer.TestAmbariServer) ... /opt/eclipse/ambariTrunk/ambari/ambari-server/src/main/python/ambari-server.py:1492:
DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  dest_file, e.message)
ok
test_execute_remote_script (TestAmbaryServer.TestAmbariServer) ... ok
test_find_jdk (TestAmbaryServer.TestAmbariServer) ... ok
test_find_properties_file (TestAmbaryServer.TestAmbariServer) ... ok
test_generate_random_string (TestAmbaryServer.TestAmbariServer) ... ok
test_get_JAVA_HOME (TestAmbaryServer.TestAmbariServer) ... ok
test_get_YN_input (TestAmbaryServer.TestAmbariServer) ... ok
test_get_ambari_classpath (TestAmbaryServer.TestAmbariServer) ... ok
test_get_ambari_jars (TestAmbaryServer.TestAmbariServer) ... ok
test_get_ambari_properties (TestAmbaryServer.TestAmbariServer) ... ok
test_get_cert_info (TestAmbaryServer.TestAmbariServer) ... ok
test_get_conf_dir (TestAmbaryServer.TestAmbariServer) ... ok
test_get_fqdn (TestAmbaryServer.TestAmbariServer) ... ok
test_get_pass_file_path (TestAmbaryServer.TestAmbariServer) ... ok
test_get_postgre_status (TestAmbaryServer.TestAmbariServer) ... ok
test_get_share_jars (TestAmbaryServer.TestAmbariServer) ... ok
test_import_cert_and_key (TestAmbaryServer.TestAmbariServer) ... ok
test_import_cert_and_key_action (TestAmbaryServer.TestAmbariServer) ... ok
test_import_cert_and_key_with_empty_password (TestAmbaryServer.TestAmbariServer) ... ok
test_install_jce_manualy (TestAmbaryServer.TestAmbariServer) ... ok
test_is_server_runing (TestAmbaryServer.TestAmbariServer) ... ok
test_is_valid_cert_exp (TestAmbaryServer.TestAmbariServer) ... ok
test_load_default_db_properties (TestAmbaryServer.TestAmbariServer) ... ok
test_main_db_options (TestAmbaryServer.TestAmbariServer) ... Usage: ambari-server.py [options]
action [stack_id]

ambari-server.py: error: All database options should be set. Please see help for the options.
Usage: ambari-server.py [options] action [stack_id]

ambari-server.py: error: Unsupported Database unknown
Usage: ambari-server.py [options] action [stack_id]

ambari-server.py: error: Incorrect database port unknown
ok
test_main_test_reset (TestAmbaryServer.TestAmbariServer) ... ok
test_main_test_setup (TestAmbaryServer.TestAmbariServer) ... ok
test_main_test_start (TestAmbaryServer.TestAmbariServer) ... ok
test_main_test_start_debug_long (TestAmbaryServer.TestAmbariServer) ... ok
test_main_test_start_debug_short (TestAmbaryServer.TestAmbariServer) ... ok
test_main_test_stop (TestAmbaryServer.TestAmbariServer) ... ok
test_parse_properties_file (TestAmbaryServer.TestAmbariServer) ... ok
test_print_error_msg (TestAmbaryServer.TestAmbariServer) ... ok
test_print_info_msg (TestAmbaryServer.TestAmbariServer) ... ok
test_print_warning_msg (TestAmbaryServer.TestAmbariServer) ... ok
test_prompt_db_properties (TestAmbaryServer.TestAmbariServer) ... ok
test_prompt_db_properties_default (TestAmbaryServer.TestAmbariServer) ... ok
test_prompt_db_properties_oracle_sid (TestAmbaryServer.TestAmbariServer) ... ok
test_prompt_db_properties_oracle_sname (TestAmbaryServer.TestAmbariServer) ... ok
test_prompt_db_properties_postgre_adv (TestAmbaryServer.TestAmbariServer) ... ok
test_read_ambari_user (TestAmbaryServer.TestAmbariServer) ... ok
test_regexps (TestAmbaryServer.TestAmbariServer) ... ok
test_reset (TestAmbaryServer.TestAmbariServer) ... ok
test_reset_master_key_not_persisted (TestAmbaryServer.TestAmbariServer) ... ok
test_reset_master_key_persisted (TestAmbaryServer.TestAmbariServer) ... ok
test_reset_remote_db_wo_client (TestAmbaryServer.TestAmbariServer) ... ok
test_restart_postgres (TestAmbaryServer.TestAmbariServer) ... ok
test_run_os_command (TestAmbaryServer.TestAmbariServer) ... ok
test_search_file (TestAmbaryServer.TestAmbariServer) ... ok
Test to make sure the service name can contain digits ... ok
test_set_file_permissions (TestAmbaryServer.TestAmbariServer) ... ok
test_setup (TestAmbaryServer.TestAmbariServer) ... ok
test_setup_db (TestAmbaryServer.TestAmbariServer) ... ok
test_setup_https (TestAmbaryServer.TestAmbariServer) ... ok
test_setup_ldap (TestAmbaryServer.TestAmbariServer) ... ok
test_setup_master_key_not_persist (TestAmbaryServer.TestAmbariServer) ... ok
test_setup_master_key_persist (TestAmbaryServer.TestAmbariServer) ... ok
test_setup_remote_db_wo_client (TestAmbaryServer.TestAmbariServer) ... ERROR
test_silent_reset (TestAmbaryServer.TestAmbariServer) ... ok
test_start (TestAmbaryServer.TestAmbariServer) ... ok
test_stop (TestAmbaryServer.TestAmbariServer) ... ok
test_store_password_file (TestAmbaryServer.TestAmbariServer) ... ok
test_track_jdk (TestAmbaryServer.TestAmbariServer) ... ok
test_update_ambari_properties (TestAmbaryServer.TestAmbariServer) ... ok
test_update_ambari_properties_negative_case (TestAmbaryServer.TestAmbariServer) ... ok
test_update_ambari_properties_without_user_property (TestAmbaryServer.TestAmbariServer) ...
ok
test_upgrade (TestAmbaryServer.TestAmbariServer) ... ok
test_upgrade_stack (TestAmbaryServer.TestAmbariServer) ... ok
test_write_property (TestAmbaryServer.TestAmbariServer) ... ok
test_checkAgentPackageAvailability (TestSetupAgent.TestSetupAgent) ... ok
test_checkAgentPackageAvailabilitySuse (TestSetupAgent.TestSetupAgent) ... ok
test_checkServerReachability (TestSetupAgent.TestSetupAgent) ... ok
test_configureAgent (TestSetupAgent.TestSetupAgent) ... ok
test_execOsCommand (TestSetupAgent.TestSetupAgent) ... ok
test_findNearestAgentPackageVersion (TestSetupAgent.TestSetupAgent) ... ok
test_findNearestAgentPackageVersionSuse (TestSetupAgent.TestSetupAgent) ... ok
test_installAgent (TestSetupAgent.TestSetupAgent) ... ok
test_installAgentSuse (TestSetupAgent.TestSetupAgent) ... ok
test_installPreReq (TestSetupAgent.TestSetupAgent) ... ok
test_is_suse (TestSetupAgent.TestSetupAgent) ... ok
test_returned_optimal_version_is_default (TestSetupAgent.TestSetupAgent) ... ok
test_returned_optimal_version_is_default_on_suse (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_nearest (TestSetupAgent.TestSetupAgent) ... ok
test_returned_optimal_version_is_nearest_on_suse (TestSetupAgent.TestSetupAgent) ... ok
test_runAgent (TestSetupAgent.TestSetupAgent) ... ok
test_setup_agent_main (TestSetupAgent.TestSetupAgent) ... ok
test_PSSH_constructor_argument_validation (TestBootstrap.TestBootstrap) ... ok
test_SCP_writeLogToFile (TestBootstrap.TestBootstrap) ... ok
test_SSH_writeLogToFile (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_commands_with_password_are_called_for_user_with_password (TestBootstrap.TestBootstrap)
... ok
test_commands_without_password_are_called_for_passwordless_user (TestBootstrap.TestBootstrap)
... ok
test_copyOsCheckScript (TestBootstrap.TestBootstrap) ... ok
test_copyPasswordFile (TestBootstrap.TestBootstrap) ... ok
test_copy_and_delete_password_file_methods_are_called_for_user_with_password (TestBootstrap.TestBootstrap)
... ok
test_copy_and_delete_password_file_methods_are_not_called_for_passwordless_user (TestBootstrap.TestBootstrap)
... ok
test_createDoneFiles (TestBootstrap.TestBootstrap) ... ok
test_deletePasswordFile (TestBootstrap.TestBootstrap) ... ok
test_generateRandomFileName (TestBootstrap.TestBootstrap) ... ok
test_getAmbariPort (TestBootstrap.TestBootstrap) ... ok
test_getRemoteName (TestBootstrap.TestBootstrap) ... ok
test_getRepoDir (TestBootstrap.TestBootstrap) ... ok
test_getRunSetupWithPasswordCommand (TestBootstrap.TestBootstrap) ... ok
test_getSetupScript (TestBootstrap.TestBootstrap) ... ok
test_is_suse (TestBootstrap.TestBootstrap) ... ok
test_os_check_fail_fails_bootstrap_execution (TestBootstrap.TestBootstrap) ... ok
test_os_check_performed (TestBootstrap.TestBootstrap) ... ok
test_return_error_message_for_missing_sudo_package (TestBootstrap.TestBootstrap) ... ok
test_return_failed_status_for_hanging_scp_threads_after_timeout (TestBootstrap.TestBootstrap)
... ok
test_return_failed_status_for_hanging_ssh_threads_after_timeout (TestBootstrap.TestBootstrap)
... ok
test_runOsCheckScript_fail (TestBootstrap.TestBootstrap) ... ok
test_runOsCheckScript_success (TestBootstrap.TestBootstrap) ... ok
test_run_setup_agent_command_ends_with_project_version (TestBootstrap.TestBootstrap) ... ok

======================================================================
ERROR: test_setup_remote_db_wo_client (TestAmbaryServer.TestAmbariServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/eclipse/ambariTrunk/ambari/ambari-common/src/test/python/mock/mock.py", line
1199, in patched
    return func(*args, **keywargs)
  File "/opt/eclipse/ambariTrunk/ambari/ambari-server/src/test/python/TestAmbaryServer.py",
line 2609, in test_setup_remote_db_wo_client
    ambari_server.setup(args)
  File "/opt/eclipse/ambariTrunk/ambari/ambari-server/src/main/python/ambari-server.py", line
1823, in setup
    retcode = check_selinux()
  File "/opt/eclipse/ambariTrunk/ambari/ambari-server/src/main/python/ambari-server.py", line
566, in check_selinux
    raise FatalException(1, None)
FatalException: 'Fatal exception: None, exit code 1'

----------------------------------------------------------------------
Ran 133 tests in 0.370s

FAILED (errors=1)

                
> Use modified dependencies if a stack contains an HCFS service (Hadoop Compatible File
System)
> ---------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-2130
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2130
>             Project: Ambari
>          Issue Type: Improvement
>          Components: controller
>    Affects Versions: 1.2.2
>            Reporter: Trevor McKay
>            Assignee: Trevor McKay
>             Fix For: 1.3.1
>
>         Attachments: hcfs_deps_for_RCO_trunk.patch, hcfs_deps.patch, hcfs_deps_test.patch,
hcfs_noHadoop2a.patch
>
>
> Use stack metadata to determine if a stack contains an HCFS service and generate modified
RoleCommandOrder dependencies if it does.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message