ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Sposetti (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-4269) Cleanup agent bootstrapping log info
Date Sun, 12 Jan 2014 19:25:50 GMT

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

Jeff Sposetti commented on AMBARI-4269:
---------------------------------------

test_add_yarn_mr (TestUpgradeScript_HDP2.TestUpgradeHDP2Script) ... ok
test_backup_configs (TestUpgradeScript_HDP2.TestUpgradeHDP2Script) ... ok
test_delete_mr (TestUpgradeScript_HDP2.TestUpgradeHDP2Script) ... ok
test_get_and_parse_properties (TestUpgradeScript_HDP2.TestUpgradeHDP2Script) ... ok
test_install_yarn_mr2 (TestUpgradeScript_HDP2.TestUpgradeHDP2Script) ... ok
test_no_hbase (TestUpgradeScript_HDP2.TestUpgradeHDP2Script) ... WARNING:UpgradeHelper:Unable
to find the equivalent for dfs_datanode_data_dir. Looked for dfs_data_dir
WARNING:UpgradeHelper:Unable to find the equivalent for mapreduce_task_io_sort_mb. Looked
for io_sort_mb
WARNING:UpgradeHelper:Unable to find the equivalent for dfs_namenode_checkpoint_dir. Looked
for fs_checkpoint_dir
WARNING:UpgradeHelper:Unable to find the equivalent for dfs_namenode_checkpoint_period. Looked
for fs_checkpoint_period
WARNING:UpgradeHelper:Unable to find the equivalent for mapreduce_jobtracker_system_dir. Looked
for mapred_system_dir
WARNING:UpgradeHelper:Unable to find the equivalent for dfs_namenode_name_dir. Looked for
dfs_name_dir
ok
test_print_only (TestUpgradeScript_HDP2.TestUpgradeHDP2Script) ... ok
test_rename_all_properties (TestUpgradeScript_HDP2.TestUpgradeHDP2Script) ... ok
test_save_configs (TestUpgradeScript_HDP2.TestUpgradeHDP2Script) ... INFO:UpgradeHelper:Saving
config for type: mapred-site and tag: version2
INFO:UpgradeHelper:Saving config for type: hbase-site and tag: version2
INFO:UpgradeHelper:Unable to obtain config for type: oozie-site
INFO:UpgradeHelper:Saving config for type: core-site and tag: version1
INFO:UpgradeHelper:Unable to obtain config for type: webhcat-site
INFO:UpgradeHelper:Saving config for type: global and tag: version1
INFO:UpgradeHelper:Saving config for type: hdfs-site and tag: version1
INFO:UpgradeHelper:Unable to obtain config for type: hive-site
ok
test_save_mr_mapping (TestUpgradeScript_HDP2.TestUpgradeHDP2Script) ... ok
test_tags_count (TestUpgradeScript_HDP2.TestUpgradeHDP2Script) ... ok
test_update_configs (TestUpgradeScript_HDP2.TestUpgradeHDP2Script) ... ok
test_update_single_configs (TestUpgradeScript_HDP2.TestUpgradeHDP2Script) ... ok
test_update_with_append (TestUpgradeScript_HDP2.TestUpgradeHDP2Script) ... ok
test_update_without_append (TestUpgradeScript_HDP2.TestUpgradeHDP2Script) ... 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) ... INFO:root:<MagicMock name='realpath().__radd__().__add__().__add__().__add__().__add__().__add__().__add__().__add__().__add__().__add__().__add__().__add__().__add__().__add__().__add__().__add__().__add__()'
id='4380820688'>
INFO:root:<MagicMock name='realpath().__radd__().__add__().__add__().__add__().__add__().__add__().__add__().__add__().__add__().__add__().__add__().__add__().__add__().__add__().__add__().__add__().__add__()'
id='4380820688'>
ok
test_changePasswordFileModeOnHost (TestBootstrap.TestBootstrap) ... ok
test_checkSudoPackage (TestBootstrap.TestBootstrap) ... ok
test_copyNeededFiles (TestBootstrap.TestBootstrap) ... ok
test_copyOsCheckScript (TestBootstrap.TestBootstrap) ... ok
test_copyPasswordFile (TestBootstrap.TestBootstrap) ... ok
test_createDoneFile (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_adjust_directory_permissions (TestAmbariServer.TestAmbariServer) ... ok
test_ambariServerSetupWithCustomDbName (TestAmbariServer.TestAmbariServer) ... ok
test_check_ambari_user (TestAmbariServer.TestAmbariServer) ... ok
test_check_database_name_property (TestAmbariServer.TestAmbariServer) ... ok
test_check_iptables_is_not_running (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) ... /Users/jsposetti/dev/ambari/ambari-server/src/main/python/ambari-server.py:1974:
DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  "permissions and free disk space.".format(src, dest_file, e.message)
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) ... /Users/jsposetti/dev/ambari/ambari-server/src/main/python/ambari-server.py:1703:
DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  dest_file, e.message)
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_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) ... /Users/jsposetti/dev/ambari/ambari-server/src/main/python/ambari-server.py:1649:
DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  "permissions and free disk space.".format(args.jce_policy, jce_destination, e.message)
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_load_default_db_properties (TestAmbariServer.TestAmbariServer) ... ok
test_main_db_options (TestAmbariServer.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 (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_prompt_db_properties (TestAmbariServer.TestAmbariServer) ... ok
test_prompt_db_properties_default (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_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_reset_remote_db_wo_client (TestAmbariServer.TestAmbariServer) ... ok
test_restart_postgres (TestAmbariServer.TestAmbariServer) ... ok
test_run_os_command (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_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_local_repo (TestAmbariServer.TestAmbariServer) ... ok
test_upgrade_local_repo_nochange (TestAmbariServer.TestAmbariServer) ... ok
test_upgrade_stack (TestAmbariServer.TestAmbariServer) ... ok
test_write_property (TestAmbariServer.TestAmbariServer) ... 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_getAvaliableAgentPackageVersions (TestSetupAgent.TestSetupAgent) ... ok
test_getAvaliableAgentPackageVersionsSuse (TestSetupAgent.TestSetupAgent) ... ok
test_installAgent (TestSetupAgent.TestSetupAgent) ... ok
test_installAgentSuse (TestSetupAgent.TestSetupAgent) ... ok
test_isAgentPackageAlreadyInstalled (TestSetupAgent.TestSetupAgent) ... ok
test_is_suse (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_nearest_on_suse (TestSetupAgent.TestSetupAgent) ... bash:
zypper: command not found
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
ok
test_runAgent (TestSetupAgent.TestSetupAgent) ... log
Log not found
log
ok
test_setup_agent_main (TestSetupAgent.TestSetupAgent) ... ok

----------------------------------------------------------------------
Ran 173 tests in 0.859s

OK

> Cleanup agent bootstrapping log info
> ------------------------------------
>
>                 Key: AMBARI-4269
>                 URL: https://issues.apache.org/jira/browse/AMBARI-4269
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 1.4.3
>            Reporter: Jeff Sposetti
>            Assignee: Jeff Sposetti
>             Fix For: 1.5.0
>
>         Attachments: AMBARI-4269.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message