Skip to content

[ZEPPELIN-4859]. Use PooledObject for the connection from interpreter process to zeppelin server#3788

Closed
zjffdu wants to merge 1 commit intoapache:masterfrom
zjffdu:ZEPPELIN-4859
Closed

[ZEPPELIN-4859]. Use PooledObject for the connection from interpreter process to zeppelin server#3788
zjffdu wants to merge 1 commit intoapache:masterfrom
zjffdu:ZEPPELIN-4859

Conversation

@zjffdu
Copy link
Contributor

@zjffdu zjffdu commented Jun 7, 2020

What is this PR for?

This is a improvement and refactoring PR which just use PooledObject for the connection from interpreter process to zeppelin server. Otherwise, once the connection is lost, interpreter process can never connect to zeppelin sever again. In this PR, I create class PooledRemoteClient which represent the pooled connection objects and this class will manage the life cycle of the connection between thrift client to thrift server.

What type of PR is it?

[ Improvement | Refactoring]

Todos

  • - Task

What is the Jira issue?

How should this be tested?

  • CI pass

Screenshots (if appropriate)

Questions:

  • Does the licenses files need update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No

@zjffdu zjffdu force-pushed the ZEPPELIN-4859 branch 4 times, most recently from 64054d5 to 00129c2 Compare June 7, 2020 14:44
@asfgit asfgit closed this in 7eb125d Jun 9, 2020
asfgit pushed a commit that referenced this pull request Jun 9, 2020
… process to zeppelin server

### What is this PR for?

This is a improvement and refactoring PR which just use PooledObject for the connection from interpreter process to zeppelin server. Otherwise, once the connection is lost, interpreter process can never connect to zeppelin sever again. In this PR, I create class `PooledRemoteClient` which represent the pooled connection objects and this class will manage the life cycle of the connection between thrift client to thrift server.

### What type of PR is it?
[ Improvement |  Refactoring]

### Todos
* [ ] - Task

### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-4859

### How should this be tested?
* CI pass

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Jeff Zhang <zjffdu@apache.org>

Closes #3788 from zjffdu/ZEPPELIN-4859 and squashes the following commits:

1c965ce [Jeff Zhang] [ZEPPELIN-4859]. Use PooledObject for the connection from interpreter process to zeppelin server

(cherry picked from commit 7eb125d)
Signed-off-by: Jeff Zhang <zjffdu@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant