org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused

hive-user | demian rosas | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Re: Problem when trying to connect to hive server using jdbc

    hive-user | 4 years ago | demian rosas
    org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused
  2. 0

    Re: Problem when trying to connect to hive server using jdbc

    hive-user | 4 years ago | demian rosas
    org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused
  3. 0

    Re: Problem to get hive with remote mysql metastore working

    apache.org | 1 year ago
    org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Problem when trying to connect to hive server using jdbc

    apache.org | 1 year ago
    org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused
  6. 0

    Error writing to Hive table with HCatStorer()

    Stack Overflow | 2 years ago | MattClark
    org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused

  1. stigkj 10 times, last 3 months ago
  2. rsprangemeijer 3 times, last 7 hours ago
  3. Omya 12 times, last 6 days ago
  4. iferca 1 times, last 3 weeks ago
  5. Nikolay Rybak 1010 times, last 3 weeks ago
52 more registered users
43 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:529)
    6 frames
  3. Apache Thrift
    TSocket.open
    1. org.apache.thrift.transport.TSocket.open(TSocket.java:180)
    1 frame
  4. Hive Metastore
    HiveMetaStoreClient.<init>
    1. org.apache.hadoop.hive.metastore.HiveMetaStoreClient.open(HiveMetaStoreClient.java:277)
    2. org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:163)
    2 frames
  5. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeMethod)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    4 frames
  6. Hive Metastore
    RetryingMetaStoreClient.getProxy
    1. org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1082)
    2. org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.<init>(RetryingMetaStoreClient.java:51)
    3. org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:61)
    3 frames
  7. Hive Query Language
    Driver.run
    1. org.apache.hadoop.hive.ql.metadata.Hive.createMetaStoreClient(Hive.java:2140)
    2. org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:2151)
    3. org.apache.hadoop.hive.ql.metadata.Hive.getDatabase(Hive.java:1114)
    4. org.apache.hadoop.hive.ql.metadata.Hive.databaseExists(Hive.java:1103)
    5. org.apache.hadoop.hive.ql.exec.DDLTask.showTables(DDLTask.java:2206)
    6. org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:334)
    7. org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:138)
    8. org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:57)
    9. org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1352)
    10. org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1138)
    11. org.apache.hadoop.hive.ql.Driver.run(Driver.java:951)
    11 frames
  8. org.apache.hadoop
    CliDriver.main
    1. org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:259)
    2. org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:216)
    3. org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:412)
    4. org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:755)
    5. org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:613)
    5 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  10. Hadoop
    RunJar.main
    1. org.apache.hadoop.util.RunJar.main(RunJar.java:208)
    1 frame