I am trying to install cloudera impala on my local computer (32-bit ubuntu) without the cloudera manager (they do not support 32-bit ubuntu, I also tried and failed).
I tried the following commands to load the impala from the repository.
$ sudo apt-get install impala-shell $ sudo apt-get install impala # Binaries for daemons $ sudo apt-get install impala-server # Service start/stop script $ sudo apt-get install impala-state-store # Service start/stop script
Everything is fine here. My impala / conf / hive-site.xml is as follows
<property> <name>hive.metastore.local</name> <value>false</value> </property> <property> <name>hive.metastore.uris</name> <value>thrift://localhost:9083</value> </property> <property> <name>hive.metastore.client.socket.timeout</name> <value>3600</value> <description>MetaStore Client socket timeout in seconds</description> </property>
My impala / conf / hdfs-site.xml looks like this.
<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>
Now I tried to connect to localhost on impala-shell. But, it gives me this error
Error connecting: <class 'thrift.transport.TTransport.TTransportException'>, Could not connect to localhost:21000
FYI, I use mysql for the metastor for my hive-hadoop cluster.
source share