Member since
04-22-2016
931
Posts
46
Kudos Received
26
Solutions
05-22-2019
08:41 PM
@Sami Ahmad When you have set up your ambari.repo correctly on Linux you need to do the following # yum repolist
# yum install -y ambari-server
# yum install -y mysql-connector-java
# ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java That should pick the correct version of MySQL driver for your ambari if you indeed to run on MySQL or MariaDB # yum install -y mariadb-server To get the mysql-connect version here are the steps # zipgrep 'Bundle-Version' mysql-connector-java.jar output META-INF/MANIFEST.MF:Bundle-Version: 5.1.25 HTH
... View more
03-06-2019
11:15 PM
Welcome to Phoenix... where the cardinal rule is if you are going to use Phoenix, then for that table, don't look at it or use it directly from the HBase API. What you are seeing is pretty normal. I don't see your DDL, but I'll give you an example to compare against. Check out the DDL at https://github.com/apache/phoenix/blob/master/examples/WEB_STAT.sql and focus on the CORE column which is a BIGINT and the ACTIVE_VISITOR column which is INTEGER. Here's the data that gets loaded into it; https://github.com/apache/phoenix/blob/master/examples/WEB_STAT.csv. Here's what it looks like via Phoenix... Here's what it looks like through HBase shell (using the API)... Notice the CORE and ACTIVE_VISITOR values looking a lot like your example? Yep, welcome to Phoenix. Remember, use Phoenix only for Phoenix tables and you'll be all right. 🙂 Good luck and happy Hadooping/HBasing!
... View more
02-26-2019
01:01 AM
@Sami Ahmad You are adding "hadoop classpath" however you will also need to add "hbase classpath" something like following: # javap -cp `hadoop classpath`:`hbase classpath`:.: TestHbaseTable.java .
... View more