{"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:49:46,550 - Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"} 2019-07-01 09:49:46,551 - Retry Repository Creation is being called 2019-07-01 09:50:16,694 - Will retry 4 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:50:24,815 - Will retry 3 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:50:32,942 - Will retry 2 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:50:41,056 - Will retry 1 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:50:49,176 - Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"} 2019-07-01 09:50:49,289 - Will retry 4 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:50:57,417 - Will retry 3 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:51:05,539 - Will retry 2 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:51:13,660 - Will retry 1 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:51:21,781 - Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"} 2019-07-01 09:51:21,781 - Retry Repository Creation is being called 2019-07-01 09:51:51,902 - Will retry 4 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:52:00,022 - Will retry 3 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:52:08,146 - Will retry 2 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:52:16,275 - Will retry 1 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:52:24,396 - Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"} 2019-07-01 09:52:24,508 - Will retry 4 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:52:32,627 - Will retry 3 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:52:40,751 - Will retry 2 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:52:48,872 - Will retry 1 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:52:56,993 - Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"} 2019-07-01 09:52:56,994 - Retry Repository Creation is being called 2019-07-01 09:53:27,140 - Will retry 4 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:53:35,262 - Will retry 3 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:53:43,387 - Will retry 2 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:53:51,508 - Will retry 1 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:53:59,631 - Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"} 2019-07-01 09:53:59,740 - Will retry 4 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:54:07,863 - Will retry 3 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:54:15,983 - Will retry 2 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:54:24,149 - Will retry 1 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:54:32,272 - Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"} 2019-07-01 09:54:32,272 - Retry Repository Creation is being called 2019-07-01 09:55:02,416 - Will retry 4 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:55:10,530 - Will retry 3 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:55:18,659 - Will retry 2 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:55:26,779 - Will retry 1 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:55:34,904 - Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"} 2019-07-01 09:55:35,015 - Will retry 4 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:55:43,136 - Will retry 3 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:55:51,262 - Will retry 2 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:55:59,385 - Will retry 1 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:56:07,505 - Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"} 2019-07-01 09:56:07,505 - Retry Repository Creation is being called 2019-07-01 09:56:37,653 - Will retry 4 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:56:45,775 - Will retry 3 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:56:53,901 - Will retry 2 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:57:02,021 - Will retry 1 time(s), caught exception: Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:57:10,145 - Error getting DataScience_hive repository for component hive. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"} 2019-07-01 09:57:10,255 - Will retry 4 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:57:18,390 - Will retry 3 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:57:26,510 - Will retry 2 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:57:34,630 - Will retry 1 time(s), caught exception: Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"}. Sleeping for 8 sec(s) 2019-07-01 09:57:42,761 - Error creating repository. Http status code - 401. {"statusCode":401,"msgDesc":"Authentication Failed"} 2019-07-01 09:57:42,761 - Hive Repository creation failed in Ranger admin 2019-07-01 09:57:42,763 - File['/usr/hdp/current/hive-server2/conf_llap//ranger-security.xml'] {'content': InlineTemplate(...), 'owner': 'hive', 'group': 'hadoop', 'mode': 0644} 2019-07-01 09:57:42,764 - Writing File['/usr/hdp/current/hive-server2/conf_llap//ranger-security.xml'] because contents don't match 2019-07-01 09:57:42,764 - Directory['/etc/ranger/DataScience_hive'] {'owner': 'hive', 'create_parents': True, 'group': 'hadoop', 'mode': 0775, 'cd_access': 'a'} 2019-07-01 09:57:42,765 - Directory['/etc/ranger/DataScience_hive/policycache'] {'owner': 'hive', 'group': 'hadoop', 'create_parents': True, 'mode': 0775, 'cd_access': 'a'} 2019-07-01 09:57:42,766 - File['/etc/ranger/DataScience_hive/policycache/hive-server2_DataScience_hive.json'] {'owner': 'hive', 'group': 'hadoop', 'mode': 0644} 2019-07-01 09:57:42,767 - XmlConfig['ranger-hive-audit.xml'] {'group': 'hadoop', 'conf_dir': '/usr/hdp/current/hive-server2/conf_llap/', 'mode': 0744, 'configuration_attributes': {}, 'owner': 'hive', 'configurations': ...} 2019-07-01 09:57:42,779 - Generating config: /usr/hdp/current/hive-server2/conf_llap/ranger-hive-audit.xml 2019-07-01 09:57:42,779 - File['/usr/hdp/current/hive-server2/conf_llap/ranger-hive-audit.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0744, 'encoding': 'UTF-8'} 2019-07-01 09:57:42,792 - XmlConfig['ranger-hive-security.xml'] {'group': 'hadoop', 'conf_dir': '/usr/hdp/current/hive-server2/conf_llap/', 'mode': 0744, 'configuration_attributes': {}, 'owner': 'hive', 'configurations': ...} 2019-07-01 09:57:42,802 - Generating config: /usr/hdp/current/hive-server2/conf_llap/ranger-hive-security.xml 2019-07-01 09:57:42,803 - File['/usr/hdp/current/hive-server2/conf_llap/ranger-hive-security.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0744, 'encoding': 'UTF-8'} 2019-07-01 09:57:42,813 - XmlConfig['ranger-policymgr-ssl.xml'] {'group': 'hadoop', 'conf_dir': '/usr/hdp/current/hive-server2/conf_llap/', 'mode': 0744, 'configuration_attributes': {}, 'owner': 'hive', 'configurations': ...} 2019-07-01 09:57:42,824 - Generating config: /usr/hdp/current/hive-server2/conf_llap/ranger-policymgr-ssl.xml 2019-07-01 09:57:42,824 - File['/usr/hdp/current/hive-server2/conf_llap/ranger-policymgr-ssl.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0744, 'encoding': 'UTF-8'} 2019-07-01 09:57:42,833 - Execute[(u'/usr/hdp/3.0.0.0-1634/ranger-hive-plugin/ranger_credential_helper.py', '-l', u'/usr/hdp/3.0.0.0-1634/ranger-hive-plugin/install/lib/*', '-f', '/etc/ranger/DataScience_hive/cred.jceks', '-k', 'sslKeyStore', '-v', [PROTECTED], '-c', '1')] {'logoutput': True, 'environment': {'JAVA_HOME': u'/usr/jdk64/jdk1.8.0_112'}, 'sudo': True} Using Java:/usr/jdk64/jdk1.8.0_112/bin/java Alias sslKeyStore created successfully! 2019-07-01 09:57:43,859 - Execute[(u'/usr/hdp/3.0.0.0-1634/ranger-hive-plugin/ranger_credential_helper.py', '-l', u'/usr/hdp/3.0.0.0-1634/ranger-hive-plugin/install/lib/*', '-f', '/etc/ranger/DataScience_hive/cred.jceks', '-k', 'sslTrustStore', '-v', [PROTECTED], '-c', '1')] {'logoutput': True, 'environment': {'JAVA_HOME': u'/usr/jdk64/jdk1.8.0_112'}, 'sudo': True} Using Java:/usr/jdk64/jdk1.8.0_112/bin/java Alias sslTrustStore created successfully! 2019-07-01 09:57:44,876 - File['/etc/ranger/DataScience_hive/cred.jceks'] {'owner': 'hive', 'group': 'hadoop', 'mode': 0640} 2019-07-01 09:57:44,877 - File['/etc/ranger/DataScience_hive/.cred.jceks.crc'] {'owner': 'hive', 'only_if': 'test -e /etc/ranger/DataScience_hive/.cred.jceks.crc', 'group': 'hadoop', 'mode': 0640} 2019-07-01 09:57:44,885 - call['ambari-sudo.sh su hive -l -s /bin/bash -c 'cat /var/run/hive/hive-interactive.pid 1>/tmp/tmphA0P9w 2>/tmp/tmpMS_3LF''] {'quiet': False} 2019-07-01 09:57:45,844 - call returned (0, '') 2019-07-01 09:57:45,845 - get_user_call_output returned (0, u'113585', u'') 2019-07-01 09:57:45,846 - call['ambari-sudo.sh su hive -l -s /bin/bash -c 'hive --config /usr/hdp/current/hive-server2/conf_llap/ --service metatool -listFSRoot' 2>/dev/null | grep hdfs:// | cut -f1,2,3 -d '/' | grep -v 'hdfs:/ | head -1'] {} 2019-07-01 09:58:01,760 - call returned (0, '') 2019-07-01 09:58:01,761 - Execute['/var/lib/ambari-agent/tmp/start_hiveserver2_interactive_script /var/run/hive/hive-server2-interactive.out /data/disk4/var/log/hive/hive-server2-interactive.err /var/run/hive/hive-interactive.pid /usr/hdp/current/hive-server2/conf_llap/ /etc/tez_llap/conf'] {'environment': {'HIVE_BIN': 'hive2', 'JAVA_HOME': u'/usr/jdk64/jdk1.8.0_112', 'HADOOP_HOME': u'/usr/hdp/current/hadoop-client'}, 'not_if': 'ls /var/run/hive/hive-interactive.pid >/dev/null 2>&1 && ps -p 113585 >/dev/null 2>&1', 'user': 'hive', 'path': [u'/usr/sbin:/sbin:/usr/lib/ambari-server/*:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/var/lib/ambari-agent:/usr/hdp/current/hive-server2/bin:/usr/hdp/3.0.0.0-1634/hadoop/bin']} 2019-07-01 09:58:02,745 - Execute['/usr/jdk64/jdk1.8.0_112/bin/java -cp /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/hdp/current/hive-server2/lib/postgresql-jdbc.jar org.apache.ambari.server.DBConnectionVerification 'jdbc:postgresql:///hive' hive [PROTECTED] org.postgresql.Driver'] {'path': ['/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin'], 'tries': 5, 'try_sleep': 10} 2019-07-01 09:58:02,998 - Pid files for current script are not defined Command completed successfully!