Gandhe harshith created AMBARI-26143:
----------------------------------------
Summary: Fix HiveServer2 Startup Failure Due to Python Division
Handling Difference in Ambari Configuration
Key: AMBARI-26143
URL: https://issues.apache.org/jira/browse/AMBARI-26143
Project: Ambari
Issue Type: Bug
Components: ambari-server
Reporter: Gandhe harshith
After installing Hive and attempting to start the service, it failed with the
following error:
{code:java}
WARN [main]: server.HiveServer2 (HiveServer2.java:startHiveServer2(1089)) -
Error starting HiveServer2 on attempt 3, will retry in 60000ms
java.lang.RuntimeException: java.lang.NumberFormatException: For input string:
"1.5" {code}
The issue occurred due to a difference in the way Python 2 and Python 3 handle
division. python2 return 'int' , while python3 returns 'float' for the same
division.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]