Support Questions
Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

ImpalaRuntimeException: Error making 'createTable' RPC to Hive Metastore

Explorer

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

1 ACCEPTED SOLUTION

Expert Contributor

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

View solution in original post

5 REPLIES 5

Cloudera Employee

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

 

-Andrew

Explorer

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

Expert Contributor

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

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

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