Skip to content

Instantly share code, notes, and snippets.

@rjurney

rjurney/jruby.rb

Created Jun 26, 2014
Embed
What would you like to do?
Phoenix JDBC connection never returns...
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Statement;
import com.salesforce.phoenix.jdbc.PhoenixDriver
Java::com.salesforce.phoenix.jdbc.PhoenixDriver
DriverManager.registerDriver("com.salesforce.phoenix.jdbc.PhoenixDriver")
conn = DriverManager.get_connection("jdbc:phoenix:hiveapp1,hiveapp2:2181")
log4j:WARN No appenders could be found for logger (org.apache.hadoop.conf.Configuration).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
2014-06-25 20:21:44.226 java[32286:1903] Unable to load realm info from SCDynamicStore
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment