Reply
Explorer
Posts: 10
Registered: ‎10-09-2018
Accepted Solution

ImpalaRuntimeException: Error making 'createTable' RPC to Hive Metastore

[ Edited ]

Hi,,

 

Error thrown while creating table in impala using HUE.

 

  • Query Status: ImpalaRuntimeException: Error making 'createTable' RPC to Hive Metastore: CAUSED BY: MetaException: java.lang.RuntimeException: org.postgresql.util.PSQLException: ERROR: could not extend file "base/24863/24866": No space left on device Hint: Check free disk space.CREATE TABLE temp_enc.e060908_mcc_ecomm_map
    (
    mcc_id string,
    segment string
    )
    ROW FORMAT DELIMITED FIELDS TERMINATED BY ','

Thanks

Yasmin

Cloudera Employee
Posts: 9
Registered: ‎07-25-2018

Re: ImpalaRuntimeException: Error making 'createTable' RPC to Hive Metastore

It looks like the Postgres system used by HMS is out of disk space. 

 

-Andrew

Explorer
Posts: 10
Registered: ‎10-09-2018

Re: ImpalaRuntimeException: Error making 'createTable' RPC to Hive Metastore

Hi Andrew,

 

Thanks much or your quick response, appreciate it :)

 

So, it means that no impala query will succeed unless the space on the Postgres System is under threshold.

Is my understanding correct?

 

Thank you, Waiting for your response!

 

Yasmin

Highlighted
Cloudera Employee
Posts: 42
Registered: ‎12-11-2015

Re: ImpalaRuntimeException: Error making 'createTable' RPC to Hive Metastore

Impala relies on hivemetastore for persisting table metadata. HMS inturn uses db to persist metadata. So if the db's filesystem is out of space, request from hms to persist metadata will be denied and yes if the space on the db is not freed up then request from hms will be failed and eventually impala also fails the query

Explorer
Posts: 10
Registered: ‎10-09-2018

Re: ImpalaRuntimeException: Error making 'createTable' RPC to Hive Metastore

Andrew,

 

Stuckup with hive now

Please help me, why this error below.Is something wrong with Hive metastore?

 

hive> show databases;
FAILED: SemanticException org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.thrift.transport.TTransportException: java.net.SocketException: Connection reset

 

Help me , thanks !

 

Yasmin

Cloudera Employee
Posts: 9
Registered: ‎07-25-2018

Re: ImpalaRuntimeException: Error making 'createTable' RPC to Hive Metastore

Hi Yasmin,

 

there's not much information there but it does sound like your HS2 can't connect to the HMS.

If you didn't fix the space issues for HMS then maybe HMS isn't running well.

You may find useful information in the HMS logs

 

-Andrew

Announcements