Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Metadatainitialization Error : 500001

Metadatainitialization Error : 500001

New Contributor

I have created a table in Impala from Hue and trying to fetch that from my dataconductor. I am getting below exception.

 

Error: java.sql.SQLException: [Simba][ImpalaJDBCDriver](500001) Error getting metadata information: Metadata Initialization Error.

2018-01-08 19:11:49 IST: java.sql.SQLException: [Simba][ImpalaJDBCDriver](500001) Error getting metadata information: Metadata Initialization Error.

                at com.cloudera.impala.hivecommon.dataengine.metadata.HiveJDBCColumnsMetadataSource.initializeColumn(HiveJDBCColumnsMetadataSource.java:417)

                at com.cloudera.impala.hivecommon.dataengine.metadata.HiveJDBCColumnsMetadataSource.<init>(HiveJDBCColumnsMetadataSource.java:130)

                at com.cloudera.impala.hivecommon.dataengine.HiveJDBCDataEngine.makeNewMetadataSource(HiveJDBCDataEngine.java:445)

                at com.cloudera.impala.dsi.dataengine.impl.DSIDataEngine.makeNewMetadataResult(DSIDataEngine.java:198)

                at com.cloudera.impala.jdbc.jdbc3.S3DatabaseMetaData.createMetaDataResult(S3DatabaseMetaData.java:297)

                at com.cloudera.impala.jdbc.common.SDatabaseMetaData.getColumns(SDatabaseMetaData.java:929)

                at com.birst.dataconductor.PutResults.getSQLOutputStream(PutResults.java:695)

Caused by: com.cloudera.impala.support.exceptions.GeneralException: [Simba][ImpalaJDBCDriver](500001) Error getting metadata information: Metadata Initialization Error.

                ... 7 more

Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

                at java.util.ArrayList.rangeCheck(Unknown Source)

                at java.util.ArrayList.get(Unknown Source)

                at com.cloudera.impala.hivecommon.dataengine.metadata.HiveJDBCColumnsMetadataSource.initializeColumn(HiveJDBCColumnsMetadataSource.java:411)

                at com.cloudera.impala.hivecommon.dataengine.metadata.HiveJDBCColumnsMetadataSource.<init>(HiveJDBCColumnsMetadataSource.java:130)

                at com.cloudera.impala.hivecommon.dataengine.HiveJDBCDataEngine.makeNewMetadataSource(HiveJDBCDataEngine.java:445)

                at com.cloudera.impala.dsi.dataengine.impl.DSIDataEngine.makeNewMetadataResult(DSIDataEngine.java:198)

                at com.cloudera.impala.jdbc.jdbc3.S3DatabaseMetaData.createMetaDataResult(S3DatabaseMetaData.java:297)

                at com.cloudera.impala.jdbc.common.SDatabaseMetaData.getColumns(SDatabaseMetaData.java:929)

                at com.birst.dataconductor.PutResults.getSQLOutputStream(PutResults.java:695)

                at com.birst.dataconductor.PutResults.run(PutResults.java:173)

 

 

can anyone tell what can be the problem?

 

I found related topic (https://community.cloudera.com/t5/Interactive-Short-cycle-SQL/SQLWorkbench-Simba-ImpalaJDBCDriver-50...) but no answers posted so far.