Member since
08-07-2018
12
Posts
1
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
7480 | 10-31-2018 05:42 PM | |
5915 | 08-24-2018 09:41 PM |
11-04-2023
03:48 AM
Hi, I am facing same issue even after changing the para - offsets.topic.replication.factor to 1 in kafka conf. Note that I have CDP 7.1.7 and total 8 brokers. I am able to import using import-hive.sh but not using hook. Any suggestion will be appreciates. Thanks, Syed.
... View more
09-11-2018
04:17 AM
Hello @Maxim Neaga! I'm glad that I could help you 🙂 Yeah, make totally sense your question. I'd say because you've 3 truststore's: - 1 x truststore's for the nifi nodes - 1 x For the Ranger x Nifi plugin - 1 x For Ranger Admin (which is the java default cacerts). Hope this helps!
... View more
08-24-2018
09:41 PM
It looks like I was missing Configuring SQL Standard-Based Authorization.
... View more
08-07-2018
11:33 PM
1 Kudo
@Maxim
Neaga
What error are you gettin while connecting to hive using beeling? Are you sure that the URL which you entered is correct... Becaue looks like you are trying to connect to MySQL database instead of hiveServer2. Following is what i tried: # useradd test
# usermod -G hadoop test
# su - hdfs -c "hdfs dfs -mkdir /user/test"
# su - hdfs -c "hdfs dfs -chown -R test:hadoop /user/test"
. The connect to Beeline using test user: # su - test
$ beeline
Beeline version 1.2.1000.2.6.5.0-292 by Apache Hive
beeline> !connect jdbc:hive2://newhwx1.example.com:2181,newhwx2.example.com:2181,newhwx3.example.com:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2
. Execute queries: beeline> !connect jdbc:hive2://newhwx1.example.com:2181,newhwx2.example.com:2181,newhwx3.example.com:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2
Connecting to jdbc:hive2://newhwx1.example.com:2181,newhwx2.example.com:2181,newhwx3.example.com:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2
Enter username for jdbc:hive2://newhwx1.example.com:2181,newhwx2.example.com:2181,newhwx3.example.com:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2:
Enter password for jdbc:hive2://newhwx1.example.com:2181,newhwx2.example.com:2181,newhwx3.example.com:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2:
Connected to: Apache Hive (version 1.2.1000.2.6.5.0-292)
Driver: Hive JDBC (version 1.2.1000.2.6.5.0-292)
Transaction isolation: TRANSACTION_REPEATABLE_READ
0: jdbc:hive2://newhwx1.example.com:2181,newh> show databases;
+----------------+--+
| database_name |
+----------------+--+
| default |
+----------------+--+
1 row selected (0.627 seconds) Here the URL needs to be correct. For example in above case i am connecting to HiveServer2 using the Zookeepre quorum which i found in the Ambari Hive Summary page. jdbc:hive2://newhwx1.example.com:2181,newhwx2.example.com:2181,newhwx3.example.com:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2 . Hive URL you can get from here in Ambari UI: .
... View more
08-07-2018
11:07 PM
@bleonhardi, How can I connect to Hive with a UNIX/HDFS user? Let's say I have a user named "newuser". I tried the following, but apparently I am doing something wrong. % su - newuser
% beeline
beeline> !connect -n newuser -p jdbc:mysql://my.host.com/hive
... View more