ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen (JIRA)" <>
Subject [jira] [Created] (AMBARI-5327) Hive start fails on centos5
Date Wed, 02 Apr 2014 19:24:15 GMT
Dmytro Sen created AMBARI-5327:

             Summary: Hive start fails on centos5
                 Key: AMBARI-5327
             Project: Ambari
          Issue Type: Bug
          Components: controller
    Affects Versions: 1.5.1
         Environment: CentOS5
            Reporter: Dmytro Sen
            Assignee: Dmytro Sen
             Fix For: 1.5.1

2014-04-02 13:18:58,284 - Error while executing command 'start':
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 95, in execute
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/",
line 42, in start
    self.configure(env) # FOR SECURITY
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/",
line 37, in configure
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/",
line 94, in hive
    not_if = check_schema_created_cmd
  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/lib/hive/bin/schematool -initSchema -dbType mysql -userName hive
-passWord asd' returned 1. Metastore connection URL:	 jdbc:mysql://
Metastore Connection Driver :	 com.mysql.jdbc.Driver
Metastore connection User:	 hive
Starting metastore schema initialization to 0.13.0
Initialization script hive-schema-0.13.0.mysql.sql
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL
server version for the right syntax to use near 'USING HASH' at line 1 (state=42000,code=1064)
org.apache.hadoop.hive.metastore.HiveMetaException: Schema initialization FAILED! Metastore
state would be inconsistent !!
*** schemaTool failed ***

MySQL version:
[root@c5901 ~]# rpm -qa | grep mysql

HDP 2.1

This message was sent by Atlassian JIRA

View raw message