hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clay McDonald <>
Subject RE: Problem starting Hive
Date Thu, 17 Oct 2013 16:35:51 GMT
Thanks Rinku, Nick, Rommel, and Eric,

            I think I have other issues with MySQL.. Anyway, I've got another more important
fire to put out. I'll take this up again later..

Clay McDonald

From: Garg, Rinku []
Sent: Thursday, October 17, 2013 10:03 AM
To:; ''
Cc: 'Eric Mizell'; Rommel Garcia; Yi Zhang
Subject: RE: Problem starting Hive


Try this also in hive-site

  <value> com.mysql.jdbc.Driver </value>
  <description>Driver class name for a JDBC metastore</description>

Thanks & Regards,
Rinku Garg
From: Clay McDonald []
Sent: 17 October 2013 18:53
To: ''; ''
Cc: 'Eric Mizell'; Rommel Garcia; Yi Zhang
Subject: RE: Problem starting Hive

It looks good to me...

  <description>JDBC connect string for a JDBC metastore</description>

  <description>Driver class name for a JDBC metastore</description>

<description>Enter your MySQL credentials. </description>

<description>URI for client to contact metastore server. To enable HiveServer2, leave
the property value empty. </description>


From: Clay McDonald []
Sent: Thursday, October 17, 2013 9:17 AM
To: ''
Cc: ''; 'Eric Mizell'; Rommel Garcia; Yi Zhang
Subject: RE: Problem starting Hive

Nick, let me check...

From: Martin, Nick [mailto:]
Sent: Thursday, October 17, 2013 9:00 AM
Subject: RE: Problem starting Hive

Hi Clay,

Quick housekeeping/config the URI in /etc/hive/conf/hive-site.xml pointing to the
right place?

From: Clay McDonald []
Sent: Thursday, October 17, 2013 8:54 AM
To: 'Eric Mizell'; Rommel Garcia; Yi Zhang; ''
Cc: Chris Hackett; Steve Puckett; Clay McDonald; Terry Padgett
Subject: Problem starting Hive

Good morning all, I have another issue this morning. This time with Hive. Hive was working
before I restarted the server. My metastore is MySQL on the same server. See error below;

[root@bigdata5 staff]# hive
13/10/16 12:31:18 WARN conf.Configuration: mapred.max.split.size is deprecated. Instead, use
13/10/16 12:31:18 WARN conf.Configuration: mapred.min.split.size is deprecated. Instead, use
13/10/16 12:31:18 WARN conf.Configuration: mapred.min.split.size.per.rack is deprecated. Instead,
use mapreduce.input.fileinputformat.split.minsize.per.rack
13/10/16 12:31:18 WARN conf.Configuration: mapred.min.split.size.per.node is deprecated. Instead,
use mapreduce.input.fileinputformat.split.minsize.per.node
13/10/16 12:31:18 WARN conf.Configuration: mapred.reduce.tasks is deprecated. Instead, use
13/10/16 12:31:18 WARN conf.Configuration: mapred.reduce.tasks.speculative.execution is deprecated.
Instead, use mapreduce.reduce.speculative

Logging initialized using configuration in jar:file:/usr/lib/hive/lib/hive-common-!/
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/lib/hadoop/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/lib/hive/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See<>
for an explanation.
hive> show tables;
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException:
Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient

--------------------------------------------------------------------------------------- snip

mysql> SELECT user, host FROM mysql.user;
| user     | host                    |
| sqladmin | %                       |
| root     |               |
|          | |
| root     | |
|          | localhost               |
| root     | localhost               |
| sqladmin | localhost               |
7 rows in set (0.00 sec)

| Database           |
| information_schema |
| hadoop             |
| mysql              |
| test               |
4 rows in set (0.00 sec)

Clay McDonald
Database Administrator
Bates White, LLC
1300 Eye St, NW, Suite 600 East
Washington, DC 20005
Main: 202.408.6110
Cell: 202.560.4101
Direct: 202.747.5962
This electronic message transmission contains information from Bates White, LLC, which may
be confidential or privileged. The information is intended to be for the use of the individual
or entity named above. If you are not the intended recipient, be aware that any disclosure,
copying, distribution, or use of the contents of this information is prohibited.
If you have received this electronic transmission in error, please notify me by telephone
at 202.747.5962 or by electronic mail at<>
The information contained in this message is proprietary and/or confidential. If you are not
the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose,
distribute or use the message in any manner; and (iii) notify the sender immediately. In addition,
please be aware that any message addressed to our domain is subject to archiving and review
by persons other than the intended recipient. Thank you.

View raw message