-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow additional JAVA_OPTS #19
Comments
Having a similar issue, what options did you have to use to make this possible? |
I created a startJVM function based on the _jdbc_connect_jpype function and call it in my script:
|
Another (workaround) option is to call |
I tried adding the krb5 properties to the jpype JVM but I still get the error Could not open client transport with JDBC Uri: jdbc:hive2://host:port/db;principal=: GSS initiate failed. Any ideas on the issue?
|
+1 we need to pass in logging configuration as a JVM system property, would be great to have a config parameter for it. |
Allowing additional JAVA_OPTS would only work for JPype and not for Jython. Supplying system variables ( |
hi. Just in case anybody else falls into this page through google like I did, this is how I made it work in Python 2.7, using Hadoop with kerberos and HA. This code works after the user has done kinit.
|
worked for me with same url used by beeline cli and python 3.5. |
I worked on the connect() method with Jpype to facilitate authentication with Kerberos |
I have confirmed jadebeapi works with Hive. However, due to Kerberos authentication, I had to start the JVM separately to provide additional options. I suggest adding an additional parameter to__jdbc_connect_jpype/connect_ to allow for a list of JAVA_OPTS.
The text was updated successfully, but these errors were encountered: