problem with connect presto to hive-hadoop3 - hadoop

I have hadoop 3.1.2 and hive 3.1.2 on a cluster and I want to connect to hive with presto-server-0.265.1.
I have just one catalog file in /opt/presto/etc/catalog as hive.properties here is:
connector.name=hive-hadoop2
hive.metastore.uri=thrift://192.168.49.13:9083
The presto service run but it can not connect to hive because I use hadoop3 and when I change hive.properties,presto service can not run.
how can I connect to hadoop3?
Update:
it wasn't about hadoop. hive metastore was not installed correctly so presto had problem to connect hive metastore

Related

Hive Service Stops after few minutes automatically

I have setup hadoop and hive on aws ec2 server with 14.04 ubuntu, when i run a background process for hive after hadoop services the hive server stops working after some time, still facing the issue below is the given command
hive --service hiveserver2 &

Connect to apche spark hive remotely through jdbc client like Squirrel SQL

I have a running spark cluster installed with hive.I am able to run SQL queries through org.apache.spark.sql.hive.HiveContext locally via beeline.Hive thriftserver is running.
But I want to know how to connect to this hive metastore from a remote computer through jdbc without having installed hive all over again in this remote system.
Please suggest what exact driver would be needed and any jdbc client application like Squirrel SQL Client.
The following jars, will help(for cdh distribution)
commons-configuration-1.6.jar
commons-logging-1.1.1.jar
commons-logging-1.1.3.jar
commons-logging-1.1.jar
commons-logging-1.2.jar
hadoop-common-2.6.0-cdh5.4.4-tests.jar
hadoop-common-2.6.0-cdh5.4.4.jar
hadoop-core-2.6.0-mr1-cdh5.4.4.jar
hive-exec-1.1.0-cdh5.4.4.jar
hive-jdbc-1.1.0-cdh5.4.4-standalone.jar
hive-jdbc-1.1.0-cdh5.4.4.jar
hive-service-1.1.0-cdh5.4.4.jar
libfb303-0.9.0.jar
libthrift-0.9.0.jar
log4j-1.2.16.jar
slf4j-api-1.7.5.jar
slf4j-log4j12-1.7.5.jar

Impala not working on Hbase Table

Hi I have a Hbase table and I can query the same with Hive.
When I try to access the same from impala (either from HUE or shell) I get the following error :
Query: select * from clickview
ERROR: RuntimeException: couldn't retrieve HBase table (clickviewtab) info:
Enable/Disable failed
CDH version - cdh5.4.2
Impala Version - 2.2.0
Hbase version - 1.0.0-cdh5.4.2
All Hbase , impala and hive are part of the CDH 5.4.2 release and been installed as package.
You have to enable the capability for Impala to query HBase Tables in the Impala Configuration.
In Cloudera Magaer, go to the configuration options, search for hbase and then clic the radio button on HBase Service to enable it.

How to configure hue for apache hadoop, apache hbase, apache hive

I have a cluster of two machines and using apache hbase and apache hadoop. I have to use hue so that I can interect with hbase or hdfs through GUI. I have installed it successfully on my machine(ubuntu 14.04) but it is showing nothing about hdfs or tables etc. and gives error like
1.oozie server is not running
2.could not connect to local:9090
HBase thrift server cannot be contacted
How to do setting og hue so that it should connect to my running cluster.

phoenix hbase not connecting remotely

I have two cloudera VM and on both i've configured phoenix and it is working fine as long as it is localhost.
When i'm trying to connect hbase from one VM from phoenix of another VM, i'm using this command
$ ./sqlline.sh xxx.xx.xx.xx:2181
The connection is successful, but phoenix is still referencing the local HBASE and not the remote HBASE. Can anyone tell me where is the problem?

Resources