Hi all,I am trying to add virtual graphs from Hive, I was wondering if someone already tried it?
We probably need the following four jars to be added in the dbms folder to make it work?<dependency><groupId>org.apache.hive</groupId><artifactId>hive-exec</artifactId><version>1.2.1</version></dependency><dependency><groupId>org.apache.hive</groupId><artifactId>hive-jdbc</artifactId><version>1.2.1</version></dependency><dependency><groupId>org.apache.hadoop</groupId><artifactId>hadoop-hdfs</artifactId><version>${hadoop.version}</version></dependency><dependency><groupId>org.apache.hadoop</groupId><artifactId>hadoop-common</artifactId><version>${hadoop.version}</version></dependency>I am not sure if it is jdbc compatibility issue or dependency. (should I merge the four jars into one?)
Any hints?
--Thank you,--C
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
---
You received this message because you are subscribed to the Google Groups "Stardog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stardog+u...@clarkparsia.com.
Hello Evren and Zachary,A quick update on Virtual Graphs with Phoenix+ Hbase.First I did the experiment with MySQL JDBC connector just to make sure that the mysql.properties and mappings.ttl are correct and one it was working on mysql, I switched to try on Phoenix.I am relying on HDP 2.3.2, it has a Phoenix installed phoenix-4.4.0.2.3.2.0-2950-client.jar that I am using in all the my tests.I used the same Phoenix version.jar to run to test first without Stardog but with a simple program inspired by here: http://appcrawler.com/wordpress/2014/11/04/hbase-phoenix-jdbc-example/Then I am running my simple program : java -cp myPhoenix.client-0.0.1-SNAPSHOT.jar:phoenix-4.4.0.2.3.2.0-2950-client.jar semanticstore.myphoenix.client.HbaseClientIt works fine, I can create a DB, Insert rows and list what I added through select * from etc...
On Stardog:
I copied the :phoenix-4.4.0.2.3.2.0-2950-client.jar in STARDOG_HOME\server\dbms ( I am using developer version 4.0-2)the command to add the virtual graph is:stardog-admin.bat virtual add --format r2rml phoenix.properties simple.ttljdbc.url=jdbc\:phoenix\:192.168.153.130:2181:/hbase-unsecurejdbc.username=jdbc.password=jdbc.driver=org.apache.phoenix.jdbc.PhoenixDriverI am having the following error:ERROR 2006 (INT08): Incompatible jars detected between client and server. Ensure that phoenix.jar is put on the classpath of HBase in every region server: triedto access method com.google.common.base.Stopwatch.<init>()V from class org.apache.hadoop.hbase.zookeeper.MetaTableLocatorI am not sure what is happening since it is working outside Stardog with the same phoenix-4.4.0.2.3.2.0-2950-client.jar dependency.
I feel we are not so far, but not sure what is still missing on Stardog part.
Any hints?
--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
Hello Evren and Zachary,A quick update on Virtual Graphs with Phoenix+ Hbase.First I did the experiment with MySQL JDBC connector just to make sure that the mysql.properties and mappings.ttl are correct and one it was working on mysql, I switched to try on Phoenix.I am relying on HDP 2.3.2, it has a Phoenix installed phoenix-4.4.0.2.3.2.0-2950-client.jar that I am using in all the my tests.I used the same Phoenix version.jar to run to test first without Stardog but with a simple program inspired by here: http://appcrawler.com/wordpress/2014/11/04/hbase-phoenix-jdbc-example/Then I am running my simple program : java -cp myPhoenix.client-0.0.1-SNAPSHOT.jar:phoenix-4.4.0.2.3.2.0-2950-client.jar semanticstore.myphoenix.client.HbaseClientIt works fine, I can create a DB, Insert rows and list what I added through select * from etc...
On Stardog:
I copied the :phoenix-4.4.0.2.3.2.0-2950-client.jar in STARDOG_HOME\server\dbms ( I am using developer version 4.0-2)the command to add the virtual graph is:stardog-admin.bat virtual add --format r2rml phoenix.properties simple.ttljdbc.url=jdbc\:phoenix\:192.168.153.130:2181:/hbase-unsecurejdbc.username=jdbc.password=jdbc.driver=org.apache.phoenix.jdbc.PhoenixDriverI am having the following error:ERROR 2006 (INT08): Incompatible jars detected between client and server. Ensure that phoenix.jar is put on the classpath of HBase in every region server: triedto access method com.google.common.base.Stopwatch.<init>()V from class org.apache.hadoop.hbase.zookeeper.MetaTableLocatorI am not sure what is happening since it is working outside Stardog with the same phoenix-4.4.0.2.3.2.0-2950-client.jar dependency.
I feel we are not so far, but not sure what is still missing on Stardog part.
Any hints?My best guess would be that the Phoenix client jar is somehow interacting with zookeeper. Stardog ships with zookeeper to support clustering and that might be causing problems. I'm not sure what you can do about it though.
Hello Zachary,
You are absolutely right !Phoenix interacts directly with Zookeeper. And just check Stardog it has a zookeeper.jarthe jdbc url is pointing to the the zookeeper host and port: jdbc.url=jdbc\:phoenix\:192.168.153.130:2181:/hbase-unsecureI tried the following:- deleting the Zookeeper.jar from Stardog_Home/server/pack- Deleted the same class files between phoenix-client.jar and protobuf.jarBut didn't work so put them back.
I took a closer look to the logs (in the attachments)
Line 121: Caused by: java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class org.apache.hadoop.hbase.zookeeper.MeaTableLocatorI googled this and got the jira, but not sure how to solve it: https://issues.apache.org/jira/browse/HBASE-14126Another interesting line in the logs are lines 6-7: [SPEC-Server-1-1] ERROR org.apache.hadoop.util.Shell - Failed to locate the winutils binary in the hadoop binary pathjava.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.Why the hadoop binaries are needed ?On the same pc running stardog I can execute java -cp myPhoenix.client-0.0.1-SNAPSHOT.jar;phoenix-4.4.0.2.3.2.0-2950-client.jar semanticstore.myphoenix.client.HbaseClient.
It works fine, in myPhoenix-client.jar I have only the HBaseClient Class, no other classes are in the jar.I am not sure what to try next :/
<Stardog-Phoenix-JDBC.txt>
Hello Zachary,
You are absolutely right !Phoenix interacts directly with Zookeeper. And just check Stardog it has a zookeeper.jarthe jdbc url is pointing to the the zookeeper host and port: jdbc.url=jdbc\:phoenix\:192.168.153.130:2181:/hbase-unsecureI tried the following:- deleting the Zookeeper.jar from Stardog_Home/server/pack- Deleted the same class files between phoenix-client.jar and protobuf.jarBut didn't work so put them back.
I took a closer look to the logs (in the attachments)
Line 121: Caused by: java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class org.apache.hadoop.hbase.zookeeper.MeaTableLocatorI googled this and got the jira, but not sure how to solve it: https://issues.apache.org/jira/browse/HBASE-14126
<timeseries.properties>
You received this message because you are subscribed to a topic in the Google Groups "Stardog" group.
To unsubscribe from this topic, visit https://groups.google.com/a/clarkparsia.com/d/topic/stardog/HCx1LyWxTK0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to stardog+u...@clarkparsia.com.
com.complexible.stardog.plan.eval.operator.OperatorException: Dangling meta character '*' near index 0 * ^
Any hints?
Thanks,
Charbel