FAQ
I recently upgraded from CDH4 to CDH4.2. I thought everything was working
fine, but I'm having problems with HiveServer2 starting and immediately
stopping.

9:23:45.287 PMINFOorg.apache.hive.service.AbstractService

Service:ThriftCLIService is started.

9:23:45.287 PMINFOorg.apache.hive.service.AbstractService

Service:HiveServer2 is started.

9:23:45.421 PMWARNorg.apache.hadoop.hive.conf.HiveConf

DEPRECATED: Configuration property hive.metastore.local no longer has any effect. Make sure to provide a valid value for hive.metastore.uris if you are connecting to a remote metastore.

9:23:45.488 PMINFOorg.apache.hive.service.server.HiveServer2

SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down HiveServer2 at my.server.here/128.29.73.99
************************************************************/


I've read some on the warning message, but didn't see how that was related.
I noted that all the setting from the Hive-site are included in the CM
configuration except the two mentioned. As a test, I added the two to the
SafetyValve. Still no love. Any thoughts?

Thanks,
Chris

--

Search Discussions

  • Corgone at Apr 14, 2013 at 1:40 am
    Sorry - missed this in the other log...

    + exec /opt/cloudera/parcels/CDH-4.2.0-1.cdh4.2.0.p0.10/lib/hive/bin/hive --config /var/run/cloudera-scm-agent/process/952-hive-HIVESERVER2 --service hiveserver2
    org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:10000.
    at org.apache.thrift.transport.TServerSocket.(TServerSocket.java:79)
    at org.apache.hive.service.cli.thrift.ThriftCLIService.run(ThriftCLIService.java:413)
    at java.lang.Thread.run(Thread.java:662)



    Though, I'm not sure why it can't create the socket, but at least it's an
    error I can follow.

    Chris

    On Saturday, April 13, 2013 9:31:17 PM UTC-4, cor...@gmail.com wrote:

    I recently upgraded from CDH4 to CDH4.2. I thought everything was working
    fine, but I'm having problems with HiveServer2 starting and immediately
    stopping.

    9:23:45.287 PMINFOorg.apache.hive.service.AbstractService

    Service:ThriftCLIService is started.

    9:23:45.287 PMINFOorg.apache.hive.service.AbstractService

    Service:HiveServer2 is started.

    9:23:45.421 PMWARNorg.apache.hadoop.hive.conf.HiveConf

    DEPRECATED: Configuration property hive.metastore.local no longer has any effect. Make sure to provide a valid value for hive.metastore.uris if you are connecting to a remote metastore.

    9:23:45.488 PMINFOorg.apache.hive.service.server.HiveServer2

    SHUTDOWN_MSG:
    /************************************************************
    SHUTDOWN_MSG: Shutting down HiveServer2 at my.server.here/128.29.73.99
    ************************************************************/


    I've read some on the warning message, but didn't see how that was
    related. I noted that all the setting from the Hive-site are included in
    the CM configuration except the two mentioned. As a test, I added the two
    to the SafetyValve. Still no love. Any thoughts?

    Thanks,
    Chris
    --
  • Eric Sammer at Apr 14, 2013 at 7:09 pm
    Chris:

    Make sure the old process completely shut down and isn't still listening on
    10000. On the box where the Hive server is supposed to be running, check
    `netstat -nlp` as root and look for anything listening on 10000. If it is,
    just kill it and let CM start the new version. This is usually the cause of
    these errors.

    On Sat, Apr 13, 2013 at 6:40 PM, wrote:

    Sorry - missed this in the other log...

    + exec /opt/cloudera/parcels/CDH-4.2.0-1.cdh4.2.0.p0.10/lib/hive/bin/hive --config /var/run/cloudera-scm-agent/process/952-hive-HIVESERVER2 --service hiveserver2
    org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:10000.
    at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:93)
    at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:79)
    at org.apache.hive.service.cli.thrift.ThriftCLIService.run(ThriftCLIService.java:413)
    at java.lang.Thread.run(Thread.java:662)



    Though, I'm not sure why it can't create the socket, but at least it's an
    error I can follow.

    Chris

    On Saturday, April 13, 2013 9:31:17 PM UTC-4, cor...@gmail.com wrote:

    I recently upgraded from CDH4 to CDH4.2. I thought everything was
    working fine, but I'm having problems with HiveServer2 starting and
    immediately stopping.

    9:23:45.287 PMINFOorg.apache.hive.service.**AbstractService

    Service:ThriftCLIService is started.

    9:23:45.287 PMINFOorg.apache.hive.service.**AbstractService

    Service:HiveServer2 is started.

    9:23:45.421 PMWARNorg.apache.hadoop.hive.conf.**HiveConf

    DEPRECATED: Configuration property hive.metastore.local no longer has any effect. Make sure to provide a valid value for hive.metastore.uris if you are connecting to a remote metastore.

    9:23:45.488 PMINFOorg.apache.hive.service.**server.HiveServer2

    SHUTDOWN_MSG:
    /****************************************************************
    SHUTDOWN_MSG: Shutting down HiveServer2 at my.server.here/128.29.73.99
    ****************************************************************/


    I've read some on the warning message, but didn't see how that was
    related. I noted that all the setting from the Hive-site are included in
    the CM configuration except the two mentioned. As a test, I added the two
    to the SafetyValve. Still no love. Any thoughts?

    Thanks,
    Chris
    --




    --
    Eric Sammer
    twitter: esammer
    data: www.cloudera.com

    --

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcdh-user @
categorieshadoop
postedApr 14, '13 at 1:31a
activeApr 14, '13 at 7:09p
posts3
users2
websitecloudera.com
irc#hadoop

2 users in discussion

Corgone: 2 posts Eric Sammer: 1 post

People

Translate

site design / logo © 2022 Grokbase