Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 0.5
-
None
-
None
Description
Database name: functional.
From the shell:
[localhost:21000] > use FUNCTIONAL
Query: use FUNCTIONAL
Query finished, fetching results ...
Returned 0 row(s) in 0.00s
[localhost:21000] > show tables
Query: show tables
ERROR: com.google.common.collect.ComputationException: java.lang.IllegalStateException
at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:397)
at com.cloudera.impala.catalog.Catalog$LazyDbMap.get(Catalog.java:131)
at com.cloudera.impala.catalog.Catalog.getDb(Catalog.java:276)
at com.cloudera.impala.catalog.Catalog.getTableNames(Catalog.java:298)
at com.cloudera.impala.service.Frontend.getTableNames(Frontend.java:161)
at com.cloudera.impala.service.JniFrontend.getTableNames(JniFrontend.java:134)
Caused by: java.lang.IllegalStateException
at com.google.common.base.Preconditions.checkState(Preconditions.java:129)
at com.cloudera.impala.catalog.Catalog$LazyDbMap.loadDb(Catalog.java:158)
at com.cloudera.impala.catalog.Catalog$LazyDbMap.access$000(Catalog.java:86)
at com.cloudera.impala.catalog.Catalog$LazyDbMap$1.apply(Catalog.java:92)
at com.cloudera.impala.catalog.Catalog$LazyDbMap$1.apply(Catalog.java:90)
at com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:355)
at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184)
at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153)
at com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69)
at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:393)
... 5 more
Note:
use functional, followed by show tables works fine.