Comments (5)
You may be able to configure this with hive.server2.idle.session.timeout
and hive.server2.session.check.interval
. See this answer: https://stackoverflow.com/a/33994479, and these docs: https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.server2.session.check.interval
from gohive.
Closing this for now, let me know if it didn't help.
from gohive.
Closing this for now, let me know if it didn't help.
thx, i plan to query a sql every 5 minutes and let him continue.
unable to modify hive's configuration for other reasons
from gohive.
You can set custom values from the connection, these values need not apply to the server. See this test for example, so you could do:
configuration := map[string]string{
"hive.server2.idle.session.timeout": "3000",
}
configuration := NewConnectConfiguration()
...
configuration.HiveConfiguration = hiveConfiguration
connection, errConn := gohive.Connect("hs2.example.com", port, getAuth(), configuration)
So the configuration would only apply to your client.
from gohive.
您可以从连接中设置自定义值,这些值不需要应用于服务器。例如看这个测试,所以你可以这样做:
configuration := map[string]string{ "hive.server2.idle.session.timeout": "3000", } configuration := NewConnectConfiguration() ... configuration.HiveConfiguration = hiveConfiguration connection, errConn := gohive.Connect("hs2.example.com", port, getAuth(), configuration)
因此,该配置仅适用于您的客户端。
I got it, thank you very much for your guidance
from gohive.
Related Issues (20)
- LDAP authentication with HTTPS Does Not Work HOT 8
- Exec PENDING_STATE HOT 2
- go build error HOT 1
- some problems to access to hiveserver2 without kinit HOT 2
- Cursor.totalRows is 0
- panic: runtime error: invalid memory address or nil pointer dereference HOT 1
- How to solve "Incorrect FrameSize"? HOT 6
- could we generate cpp bindings
- Incorrect frame size HOT 6
- ConnectZookeeper panic HOT 1
- use in hive 1.1.0 fetch data uncompleted HOT 1
- hive-site.xml location HOT 1
- panic: runtime error: invalid memory address or nil pointer dereference HOT 1
- Assignment Mismatch | Thrift HOT 5
- pollUntilData func panic HOT 1
- how to specify mote than one host HOT 1
- I want to connect to the Hive database with KerberOS authentication enabled on Windows. How to install GSSAPI C library on Windows? HOT 1
- HTTP(S) plain/ldap authentication connection does not support cookies and issue with the cookie handling HOT 1
- Query never sent to server if it contains set statements HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gohive.