hive in vanilla fail to start

Bug #1738124 reported by Shu Yingya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Undecided
Shu Yingya

Bug Description

The Hive service in vanilla-2.7.1 cluster(ubuntu) image is not working because of failed to execute command
"hive --service metastore".

When I manually execute this command(without changing hive-site.xml), the results in terminal are:

>> hive --service metastore
   ...
   NestedThrowablesStackTrace:
   com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
   ...
   Exception in thread "main" javax.jdo.JDOFatalDataStoreException: Communications link failure
   Caused by: java.net.ConnectException: Connection refused (Connection refused)
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
 at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
 at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
 at java.net.Socket.connect(Socket.java:589)
 at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:211)
 at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:298)

Shu Yingya (felixshu)
Changed in sahara:
assignee: nobody → Shu Yingya (felixshu)
Shu Yingya (felixshu)
description: updated
Changed in sahara:
status: New → In Progress
Revision history for this message
Luigi Toscano (ltoscano) wrote :

How many branches are affected? Should we backport it down both in Pike and Ocata?

Revision history for this message
Shu Yingya (felixshu) wrote :

 In Ocata we still use trusty by default, so I think it only need backport to Pike.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara-image-elements (master)

Reviewed: https://review.openstack.org/534194
Committed: https://git.openstack.org/cgit/openstack/sahara-image-elements/commit/?id=e5f50ed163886d4922d8be77957d30006e5bb9f2
Submitter: Zuul
Branch: master

commit e5f50ed163886d4922d8be77957d30006e5bb9f2
Author: Shu Yingya <email address hidden>
Date: Tue Jan 16 16:51:37 2018 +0800

    Fix starting hive failure in Ubuntu xenial

    The mysql configuration file name and directory change in
    Ubuntu 16.04. my.cnf becomes an entry for mysql configuration.
    The new file locates here:
      "/etc/mysql/mysql.conf.d/mysqld.cnf"

    Change-Id: I8f70589cfc904a7d30081172b313ad8e30914935
    Closes-Bug: #1738124

Changed in sahara:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/sahara-image-elements 8.0.0.0b3

This issue was fixed in the openstack/sahara-image-elements 8.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.