Try this:
1. Open two terminal windows.
2. In the first, run "impala-shell -i <your host running impalad>" or
use the "connect <host>" while in the impala-shell.
3. Type "show tables" and if you do not see the expected results go the
the next step.
4. In the second terminal window, ssh to <your host running impalad>
(the one you connected to with impala-shell) and type "tail -0f
/var/log/impalad/impalad.INFO".
5. Now type "show tables" in the impala-shell terminal.
6. If the problem is not obvious, then respond with the output from the
"tail" terminal -- this is the information that is required to understand
your issue.
Example from my system:
$ tail -0f /var/log/impalad/impalad.INFO
I0325 15:03:41.738780 29677 impala-server.cc:1201] Refreshing catalog
INFO0325 15:03:41.738000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore] 1: Shutting down the object
store...
INFO0325 15:03:41.748000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore.audit] ugi=impala
ip=unknown-ip-addr cmd=Shutting down the object store...
INFO0325 15:03:41.748000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore] 1: Metastore shutdown
complete.
INFO0325 15:03:41.748000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore.audit] ugi=impala
ip=unknown-ip-addr cmd=Metastore shutdown complete.
INFO0325 15:03:41.748000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore] 1: Shutting down the object
store...
INFO0325 15:03:41.749000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore.audit] ugi=impala
ip=unknown-ip-addr cmd=Shutting down the object store...
INFO0325 15:03:41.749000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore] 1: Metastore shutdown
complete.
INFO0325 15:03:41.749000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore.audit] ugi=impala
ip=unknown-ip-addr cmd=Metastore shutdown complete.
INFO0325 15:03:41.749000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore] 1: Shutting down the object
store...
INFO0325 15:03:41.750000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore.audit] ugi=impala
ip=unknown-ip-addr cmd=Shutting down the object store...
INFO0325 15:03:41.750000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore] 1: Metastore shutdown
complete.
INFO0325 15:03:41.750000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore.audit] ugi=impala
ip=unknown-ip-addr cmd=Metastore shutdown complete.
INFO0325 15:03:41.750000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore] 1: Shutting down the object
store...
INFO0325 15:03:41.750000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore.audit] ugi=impala
ip=unknown-ip-addr cmd=Shutting down the object store...
INFO0325 15:03:41.760000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore] 1: Metastore shutdown
complete.
INFO0325 15:03:41.760000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore.audit] ugi=impala
ip=unknown-ip-addr cmd=Metastore shutdown complete.
INFO0325 15:03:41.761000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore] 1: Shutting down the object
store...
INFO0325 15:03:41.761000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore.audit] ugi=impala
ip=unknown-ip-addr cmd=Shutting down the object store...
INFO0325 15:03:41.761000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore] 1: Metastore shutdown
complete.
INFO0325 15:03:41.761000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore.audit] ugi=impala
ip=unknown-ip-addr cmd=Metastore shutdown complete.
WARN0325 15:03:41.824000 Thread-25 org.apache.hadoop.conf.Configuration]
org.apache.hadoop.hive.conf.LoopingByteArrayInputStream@58bdc3d0:an attempt
to override final parameter:
mapreduce.job.end-notification.max.retry.interval; Ignoring.
WARN0325 15:03:41.829000 Thread-25 org.apache.hadoop.conf.Configuration]
org.apache.hadoop.hive.conf.LoopingByteArrayInputStream@58bdc3d0:an attempt
to override final parameter: mapreduce.job.end-notification.max.attempts;
Ignoring.
WARN0325 15:03:41.831000 Thread-25 org.apache.hadoop.hive.conf.HiveConf]
DEPRECATED: Configuration property hive.metastore.local no longer has any
effect. Make sure to provide a valid value for hive.metastore.uris if you
are connecting to a remote metastore.
INFO0325 15:03:41.832000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore] 1: get_all_databases
INFO0325 15:03:41.833000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore.audit] ugi=impala
ip=unknown-ip-addr cmd=get_all_databases
INFO0325 15:03:41.833000 Thread-25
org.apache.hadoop.hive.metastore.HiveMetaStore] 1: Opening raw store with
implemenation class:org.apache.hadoop.hive.metastore.ObjectStore
INFO0325 15:03:41.834000 Thread-25
org.apache.hadoop.hive.metastore.ObjectStore] ObjectStore, initialize called
INFO0325 15:03:41.835000 Thread-25
org.apache.hadoop.hive.metastore.ObjectStore] Initialized ObjectStore