Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Hive Exception occurred while upgrading HDP from 2.6.5 to 3.0

Highlighted

Hive Exception occurred while upgrading HDP from 2.6.5 to 3.0

New Contributor


Python script has been killed due to timeout after waiting 900 secs



2019-07-30 17:49:18,603 - Task. Type: EXECUTE, Script: scripts/pre_upgrade.py - Function: convert_tables 2019-07-30 17:49:18,804 - Using hadoop conf dir: /usr/hdp/2.6.5.0-292/hadoop/conf 2019-07-30 17:49:18,818 - call['ambari-python-wrap /usr/bin/hdp-select status hive-server2'] {'timeout': 20} 2019-07-30 17:49:18,847 - call returned (0, 'hive-server2 - 2.6.5.0-292') 2019-07-30 17:49:18,849 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=2.6.5.0-292,
Upgrade Direction=upgrade -> 2.6.5.0-292 2019-07-30 17:49:18,887 - File['/var/lib/ambari-agent/cred/lib/CredentialUtil.jar'] {'content': DownloadSource('http://wldb1.example.co.in:8080/resources/CredentialUtil.jar'), 'mode': 0755} 2019-07-30 17:49:18,889 - Not downloading the file from http://wldb1.example.co.in:8080/resources/CredentialUtil.jar, because /var/lib/ambari-agent/tmp/CredentialUtil.jar already exists 2019-07-30 17:49:19,767 - Execute['/usr/java/jdk1.8.0_171-amd64/bin/java -Djavax.security.auth.useSubjectCredsOnly=false -cp /usr/hdp/2.6.5.0-292/hive2/lib/derby-10.10.2.0.jar:/usr/hdp/2.6.5.0-292/hive2/lib/*:/usr/hdp/2.6.5.0-292/hadoop/*:/usr/hdp/2.6.5.0-292/hadoop/lib/*:/usr/hdp/2.6.5.0-292/hadoop-mapreduce/*:/usr/hdp/2.6.5.0-292/hadoop-mapreduce/lib/*:/usr/hdp/2.6.5.0-292/hadoop-hdfs/*:/usr/hdp/2.6.5.0-292/hadoop-hdfs/lib/*:/usr/hdp/2.6.5.0-292/hadoop/etc/hadoop/:/usr/hdp/3.0.1.0-187/hive/lib/hive-pre-upgrade.jar:/usr/hdp/2.6.5.0-292/hive/conf/conf.server org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool -execute'] {'user': 'hive'} 
Command failed after 1 tries


2 REPLIES 2

Re: Hive Exception occurred while upgrading HDP from 2.6.5 to 3.0

New Contributor

How can i increase timeout? increased timeout in /etc/ambari-server/conf/ambari.properties(agent.task.timeout,server.task.timeout) but updated timeout values are not reflecting

Re: Hive Exception occurred while upgrading HDP from 2.6.5 to 3.0

Cloudera Employee

@dinesh v - Below article will help you. How to increase task timeout in Ambari