ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Brodetskyi (JIRA)" <>
Subject [jira] [Created] (AMBARI-6066) 'Start Hive' operation shows error in case when Hive DB is Oracle
Date Tue, 10 Jun 2014 13:18:01 GMT
Vitaly Brodetskyi created AMBARI-6066:

             Summary: 'Start Hive' operation shows error in case when Hive DB is Oracle
                 Key: AMBARI-6066
             Project: Ambari
          Issue Type: Bug
          Components: agent
    Affects Versions: 1.6.1
            Reporter: Vitaly Brodetskyi
            Assignee: Vitaly Brodetskyi
            Priority: Critical
             Fix For: 1.6.1

Hive shows next error message during start/restart operation in case when Hive DB is Oracle:

2014-06-02 16:23:18,079 - Error while executing command 'restart':
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 112, in execute
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 214, in restart
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/",
line 44, in start
    action = 'start'
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/",
line 55, in hive_service
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 148, in __init__
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 149,
in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 115,
in run_action
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/", line
239, in action_run
    raise ex
Fail: Execution of '/usr/jdk64/jdk1.7.0_45/bin/java -cp /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/ojdbc6.jar
org.apache.ambari.server.DBConnectionVerification jdbc:oracle:thin:@//
hiveuser password oracle.jdbc.driver.OracleDriver' returned 1. ERROR: Unable to connect to
the DB. Please check DB connection properties.
java.sql.SQLRecoverableException: IO Error: Connection reset

Same situation reproduced in both cases when *Ambari* DB is Oracle or Postgres embedded.

*Note:* there were several attempts to connect to DB from internal cluster hosts and other
hosts. All of them were successfull, but connection time from internal hosts was much longer,
than others.

This message was sent by Atlassian JIRA

View raw message