When running a select query from the impala-shell, I'm getting the
following exception (hive queries work fine on this table):
ERROR: com.google.common.util.concurrent.UncheckedExecutionException:
java.lang.IllegalArgumentException: Wrong FS:
hdfs://hadoop0.local:8020/path/to/file/part-0000, expected:
hdfs://hadoop0.ourdomain.com:8020
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234)
at com.google.common.cache.LocalCache.get(LocalCache.java:3965)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3969)
at
com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4829)
at
com.cloudera.impala.catalog.HdfsTable.getBlockMetadata(HdfsTable.java:629)
at
com.cloudera.impala.planner.HdfsScanNode.getScanRangeLocations(HdfsScanNode.java:127)
at
com.cloudera.impala.service.Frontend.createExecRequest(Frontend.java:285)
at
com.cloudera.impala.service.JniFrontend.createExecRequest(JniFrontend.java:91)
Impala has been installed from Cloudera Manager Free Edition.
Here's some configuration:
cat
/var/run/cloudera-scm-agent/process/439-impala-IMPALAD/impala-conf/impalad_flags
-fe_port=21000
-be_port=22000
-enable_webserver=true
-webserver_port=25000
-state_store_subscriber_port=23000
-default_query_options
-log_filename=impalad
-ipaddress=xxx.xxx.xxx.xxx
-hostname=hadoop0.ourdomain.com
-state_store_host=hadoop0.ourdomain.com
-state_store_port=24000
-nn=hadoop0.ourdomain.com
-nn_port=8020
cat
/var/run/cloudera-scm-agent/process/439-impala-IMPALAD/hadoop-conf/core-site.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--Autogenerated by Cloudera CM on 2013-03-16T00:13:43.590Z-->
<configuration>
<property>
<name>fs.defaultFS</name>
<value>hdfs://hadoop0.ourdomain.com:8020</value>
</property>
<property>
<name>hadoop.security.authentication</name>
<value>simple</value>
</property>
<property>
<name>hadoop.rpc.protection</name>
<value>authentication</value>
</property>
<property>
<name>hadoop.security.auth_to_local</name>
<value>DEFAULT</value>
</property>
</configuration>