org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out at org.apache.thrift.transport.TIOStreamTransport.rea d(TIOStreamTransport.java:129) at org.apache.thrift.transport.TTransport.readAll(TTr ansport.java:86) at org.apache.thrift.protocol.TBinaryProtocol.readAll (TBinaryProtocol.java:429) at org.apache.thrift.protocol.TBinaryProtocol.readI32 (TBinaryProtocol.java:318) at org.apache.thrift.protocol.TBinaryProtocol.readMes sageBegin(TBinaryProtocol.java:219) at org.apache.thrift.TServiceClient.receiveBase(TServ iceClient.java:69) at org.apache.hadoop.hive.metastore.api.ThriftHiveMet astore$Client.recv_set_ugi(ThriftHiveMetastore.jav a:3604) at org.apache.hadoop.hive.metastore.api.ThriftHiveMet astore$Client.set_ugi(ThriftHiveMetastore.java:359 0) at org.apache.hadoop.hive.metastore.HiveMetaStoreClie nt.open(HiveMetaStoreClient.java:430) at org.apache.hadoop.hive.metastore.HiveMetaStoreClie nt.<init>(HiveMetaStoreClient.java:233) at org.apache.hadoop.hive.ql.metadata.SessionHiveMeta StoreClient.<init>(SessionHiveMetaStoreClient.java :74)

cloudera.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unable to login to Hive shell.Taking more time and... - Cloudera Community

    cloudera.com | 10 months ago
    org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out at org.apache.thrift.transport.TIOStreamTransport.rea d(TIOStreamTransport.java:129) at org.apache.thrift.transport.TTransport.readAll(TTr ansport.java:86) at org.apache.thrift.protocol.TBinaryProtocol.readAll (TBinaryProtocol.java:429) at org.apache.thrift.protocol.TBinaryProtocol.readI32 (TBinaryProtocol.java:318) at org.apache.thrift.protocol.TBinaryProtocol.readMes sageBegin(TBinaryProtocol.java:219) at org.apache.thrift.TServiceClient.receiveBase(TServ iceClient.java:69) at org.apache.hadoop.hive.metastore.api.ThriftHiveMet astore$Client.recv_set_ugi(ThriftHiveMetastore.jav a:3604) at org.apache.hadoop.hive.metastore.api.ThriftHiveMet astore$Client.set_ugi(ThriftHiveMetastore.java:359 0) at org.apache.hadoop.hive.metastore.HiveMetaStoreClie nt.open(HiveMetaStoreClient.java:430) at org.apache.hadoop.hive.metastore.HiveMetaStoreClie nt.<init>(HiveMetaStoreClient.java:233) at org.apache.hadoop.hive.ql.metadata.SessionHiveMeta StoreClient.<init>(SessionHiveMetaStoreClient.java :74)
  2. 0

    Unable to login to Hive shell.Taking more time and... - Cloudera Community

    cloudera.com | 6 months ago
    org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out at org.apache.thrift.transport.TIOStreamTransport.rea d(TIOStreamTransport.java:129) at org.apache.thrift.transport.TTransport.readAll(TTr ansport.java:86) at org.apache.thrift.protocol.TBinaryProtocol.readAll (TBinaryProtocol.java:429) at org.apache.thrift.protocol.TBinaryProtocol.readI32 (TBinaryProtocol.java:318) at org.apache.thrift.protocol.TBinaryProtocol.readMes sageBegin(TBinaryProtocol.java:219) at org.apache.thrift.TServiceClient.receiveBase(TServ iceClient.java:69) at org.apache.hadoop.hive.metastore.api.ThriftHiveMet astore$Client.recv_set_ugi(ThriftHiveMetastore.jav a:3604) at org.apache.hadoop.hive.metastore.api.ThriftHiveMet astore$Client.set_ugi(ThriftHiveMetastore.java:359 0) at org.apache.hadoop.hive.metastore.HiveMetaStoreClie nt.open(HiveMetaStoreClient.java:430) at org.apache.hadoop.hive.metastore.HiveMetaStoreClie nt.<init>(HiveMetaStoreClient.java:233) at org.apache.hadoop.hive.ql.metadata.SessionHiveMeta StoreClient.<init>(SessionHiveMetaStoreClient.java :74)

    Root Cause Analysis

    1. org.apache.thrift.transport.TTransportException

      java.net.SocketTimeoutException: Read timed out at org.apache.thrift.transport.TIOStreamTransport.rea d(TIOStreamTransport.java:129) at org.apache.thrift.transport.TTransport.readAll(TTr ansport.java:86) at org.apache.thrift.protocol.TBinaryProtocol.readAll (TBinaryProtocol.java:429) at org.apache.thrift.protocol.TBinaryProtocol.readI32 (TBinaryProtocol.java:318) at org.apache.thrift.protocol.TBinaryProtocol.readMes sageBegin(TBinaryProtocol.java:219) at org.apache.thrift.TServiceClient.receiveBase(TServ iceClient.java:69) at org.apache.hadoop.hive.metastore.api.ThriftHiveMet astore$Client.recv_set_ugi(ThriftHiveMetastore.jav a:3604) at org.apache.hadoop.hive.metastore.api.ThriftHiveMet astore$Client.set_ugi(ThriftHiveMetastore.java:359 0) at org.apache.hadoop.hive.metastore.HiveMetaStoreClie nt.open(HiveMetaStoreClient.java:430) at org.apache.hadoop.hive.metastore.HiveMetaStoreClie nt.<init>(HiveMetaStoreClient.java:233) at org.apache.hadoop.hive.ql.metadata.SessionHiveMeta StoreClient.<init>(SessionHiveMetaStoreClient.java :74)

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
    2. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      4 frames
    3. Hive Metastore
      RetryingMetaStoreClient.getProxy
      1. org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1486)
      2. org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.<init>(RetryingMetaStoreClient.java:64)
      3. org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:74)
      3 frames
    4. Hive Query Language
      SessionState.start
      1. org.apache.hadoop.hive.ql.metadata.Hive.createMetaStoreClient(Hive.java:2881)
      2. org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:2900)
      3. org.apache.hadoop.hive.ql.metadata.Hive.getAllDatabases(Hive.java:1229)
      4. org.apache.hadoop.hive.ql.metadata.Hive.reloadFunctions(Hive.java:167)
      5. org.apache.hadoop.hive.ql.metadata.Hive.<clinit>(Hive.java:159)
      6. org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:492)
      6 frames
    5. org.apache.hive
      HiveServer2.main
      1. org.apache.hive.service.cli.CLIService.applyAuthorizationConfigPolicy(CLIService.java:124)
      2. org.apache.hive.service.cli.CLIService.init(CLIService.java:111)
      3. org.apache.hive.service.CompositeService.init(CompositeService.java:59)
      4. org.apache.hive.service.server.HiveServer2.init(HiveServer2.java:92)
      5. org.apache.hive.service.server.HiveServer2.startHiveServer2(HiveServer2.java:309)
      6. org.apache.hive.service.server.HiveServer2.access$400(HiveServer2.java:68)
      7. org.apache.hive.service.server.HiveServer2$StartOptionExecutor.execute(HiveServer2.java:523)
      8. org.apache.hive.service.server.HiveServer2.main(HiveServer2.java:396)
      8 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    7. Hadoop
      RunJar.run
      1. org.apache.hadoop.util.RunJar.run(RunJar.java:221)
      1 frame