Member since
05-07-2018
331
Posts
45
Kudos Received
35
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
7041 | 09-12-2018 10:09 PM | |
2736 | 09-10-2018 02:07 PM | |
9326 | 09-08-2018 05:47 AM | |
3081 | 09-08-2018 12:05 AM | |
4103 | 08-15-2018 10:44 PM |
07-31-2018
07:00 PM
In this case, you'll have to use the following options: apt-get install -y mysql-connector-java_8.0.12-1ubuntu18.04_all.deb #or if you're using a minor version of Ubuntu apt-get install -y mysql-connector-java_8.0.12-1ubuntu16.04_all.deb If the issue persists, you can try to download it manually https://dev.mysql.com/downloads/connector/j/ Hope this helps!
... View more
07-31-2018
06:10 PM
Yeah! It is 🙂 Just don't forget to restart your ambari-server okay? ambari-server restart Hope this helps!
... View more
07-31-2018
05:55 PM
Hi @Deepak SANAGAPALLI! If you chose MYSQL as your flavour to HiveMetaStore yeah 🙂 Just one thing, make sure to do this at the ambari server host Hope this helps!
... View more
07-31-2018
05:34 PM
Hello @Deepak SANAGAPALLI. Take a look at this documentation https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.0.0/bk_ambari-installation/content/install-mysql.html Hope this helps
... View more
07-31-2018
04:32 PM
Hi @Atul Goel! Did you try the following command? [hive@node3 ~]$ beeline -u 'jdbc:hive2://node2:2181,node3:2181,node4:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2' --showNestedErrs --showWarnings --verbose -e "select 1 + 1;" 2> /tmp/beeline.out
[hive@node3 ~]$ cat /tmp/beeline.out
issuing: !connect jdbc:hive2://node2:2181,node3:2181,node4:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2 '' [passwd stripped]
Connecting to jdbc:hive2://node2:2181,node3:2181,node4: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
Executing command: select 1 + 1;
Getting log thread is interrupted, since query is done!
1 row selected (0.218 seconds)
Beeline version 1.2.1000.2.6.5.0-292 by Apache Hive
Closing: 0: jdbc:hive2://node2:2181,node3:2181,node4:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2 Hope this helps!
... View more
07-31-2018
03:46 PM
Hi @Gnanasoundari Soundarajan! Hm, yeah I can't note any errors on the controller log, just one thing, do you see any "Closing connection" or "Closed smtg" on the server log before the date in your logs above (2018-07-19 00:37)? And maybe we can check the zookeeper logs as well 🙂 Just asking but..is this happening only to the 2nd broker? Hope this helps
... View more
07-31-2018
05:12 AM
Hey @Gnanasoundari Soundarajan! Could you enable the DEBUG for Kafka? Also, do you have something else on the controller log or kafka.err?
... View more
07-31-2018
05:04 AM
Hello @Deepak SANAGAPALLI! Could you check your mysql connector? #[root@node1 ~]# ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar #I made my setup with this jdbc-driver
#Finding my jar
[root@node1 ~]# find / -name "mysql-connector-java.jar" -type f
/tmp/mysql-connector-java.jar
/usr/share/java/mysql-connector-java.jar
/var/lib/ambari-server/resources/mysql-connector-java.jar
[root@node1 ~]# ls -ltrah /var/lib/ambari-server/resources/mysql-connector-java.jar
-rw-r--r-- 1 root root 864K Jul 26 23:48 /var/lib/ambari-server/resources/mysql-connector-java.jar
[root@node1 ~]# ls -ltrah /usr/share/java/mysql-connector-java.jar
-rw-r--r-- 1 root root 864K Jul 26 22:52 /usr/share/java/mysql-connector-java.jar
Hope this helps!
... View more
07-29-2018
05:41 AM
Hi @Sundar Lakshmanan! I think I just answered an old question made by you, not sure if it's related to this one, but.. https://community.hortonworks.com/questions/207791/failed-with-exception-javaioioexceptionorgapacheha.html Could you confirm if you are only having decimal values in this column? Usually, cast fails against mismatched datatype. Hope this helps! 🙂
... View more
07-29-2018
04:50 AM
Hey @Sundar Lakshmanan! Could you share with us the following output? describe formatted <table_name>; Usually, this happens to mismatched types or some data overflowing the datatype. Are you able to do a simple query? select * from <table_name> limit 10; Hope this helps!
... View more