Re: using MapReduce java.sql.SQLException: No suitable driver found for jdbc:phoenix occured.

2016-09-18 Thread Dong-iL, Kim
Hi. I created a fat jar with client.jar. there is thePhoenixDriver class in that fat jar. and class.forName call has no error. Can I have other check list? Regards. > On Sep 15, 2016, at 8:59 AM, Josh Elser wrote: > > phoenix-4.8.0-HBase-1.1-client.jar is the jar which

Re: using MapReduce java.sql.SQLException: No suitable driver found for jdbc:phoenix occured.

2016-09-14 Thread Josh Elser
phoenix-4.8.0-HBase-1.1-client.jar is the jar which should be used. The phoenix-4.8.0-HBase-1.1-hive.jar is to be used with the Hive integration. dalin.qin wrote: [root@namenode phoenix]# findjar . org.apache.phoenix.jdbc.PhoenixDriver Starting search for JAR files from directory . Looking for

Re: using MapReduce java.sql.SQLException: No suitable driver found for jdbc:phoenix occured.

2016-09-13 Thread dalin.qin
[root@namenode phoenix]# findjar . org.apache.phoenix.jdbc.PhoenixDriver Starting search for JAR files from directory . Looking for the class org.apache.phoenix.jdbc.PhoenixDriver This might take a while... ./phoenix-4.8.0-HBase-1.1-client.jar ./phoenix-4.8.0-HBase-1.1-server.jar

Re: using MapReduce java.sql.SQLException: No suitable driver found for jdbc:phoenix occured.

2016-09-13 Thread Josh Elser
Hi, The trailing semi-colon on the URL seems odd, but I do not think it would cause issues in parsing when inspecting the logic in PhoenixEmbeddedDriver#acceptsURL(String). Does the Class.forName(..) call succeed? You have Phoenix properly on the classpath for your mappers? Dong-iL, Kim

using MapReduce java.sql.SQLException: No suitable driver found for jdbc:phoenix occured.

2016-09-13 Thread Dong-iL, Kim
Hi. I've tested the map reduce code on homepage. It coudln’t find the jdbc driver as below. I've insert this code "Class.forName("org.apache.phoenix.jdbc.PhoenixDriver”);" in mred main method but there is no effect. What shall I do? Regards. Error: java.lang.RuntimeException: