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.

when start impala-server ,report error:impala-server.cc:401] Unsupported file system.

Highlighted

when start impala-server ,report error:impala-server.cc:401] Unsupported file system.

New Contributor

       I have installed impala1.2.3 on the cdh4.5. Hive  work fine .but when start impala-server,error ocuured(in /var/log/impala/impala-server.log),errors:

E0110 03:27:25.534513 9606 JniFrontend.java:494] FileSystem is file:///
E0110 03:27:25.543323 9606 impala-server.cc:401] Unsupported file system. Impala only supports DistributedFileSystem but the configured filesystem is: LocalFileSystem.fs.defaultFS(file:///) might be set incorrectly
E0110 03:27:25.543349 9606 impala-server.cc:403] Aborting Impala Server startup due to improper configuration

 

this is hive-site.xml:

<property>
<name>javax.jdo.option.ConnectionURL</name>
<value>jdbc:mysql://localhost:3306/metastore?createDatabaseIfNotExist=true</value>
<description>JDBC connect string for a JDBC metastore</description>
</property>

<property>
<name>javax.jdo.option.ConnectionDriverName</name>
<value>com.mysql.jdbc.Driver</value>
<description>Driver class name for a JDBC metastore</description>
</property>

<property>
<name>javax.jdo.option.ConnectionUserName</name>
<value>hive</value>
<description>username to use against metastore database</description>
</property>

<property>
<name>javax.jdo.option.ConnectionPassword</name>
<value>hive</value>
<description>password to use against metastore database</description>
</property>

<property>
<name>hive.metastore.warehouse.dir</name>
<value>/user/hive/warehouse</value>
<description>location of default database for the warehouse</description>
</property>
<property>
<name>hive.metastore.uris</name>
<value>thrift://192.168.1.108:9083</value>
</property>
<property>
<name>hive.metastore.client.socket.timeout</name>
<value>3600</value>
<description>MetaStore Client socket timeout in seconds</description>
</property>

 

 

this is hdfs-site.xml:

 

<property>
<name>dfs.name.dir</name>
<value>/var/lib/hadoop-hdfs/cache/hdfs/dfs/name</value>
</property>
<property>
<name>dfs.client.read.shortcircuit</name>
<value>true</value>
</property>
<property>
<name>dfs.domain.socket.path</name>
<value>/var/run/hadoop-hdfs/dn._PORT</value>
</property>
<property>
<name>dfs.client.file-block-storage-locations.timeout</name>
<value>3000</value>
</property>
<property>
<name>dfs.datanode.hdfs-blocks-metadata.enabled</name>
<value>true</value>
</property>

1 REPLY 1
Highlighted

Re: when start impala-server ,report error:impala-server.cc:401] Unsupported file system.

New Contributor

below is specific error:

Query: describe t_hive
ERROR: AnalysisException: Failed to load metadata for table: default.t_hive
CAUSED BY: TableLoadingException: TableLoadingException: Failed to load metadata for table: t_hive
CAUSED BY: IllegalArgumentException: Wrong FS: file:/user/hive/warehouse/t_hive, expected: hdfs://cluster1.domain:8020

Don't have an account?
Coming from Hortonworks? Activate your account here