Xiangdong Huang created IOTDB-1202:
--------------------------------------
Summary: reduce the size of session/jdbc library
Key: IOTDB-1202
URL: https://issues.apache.org/jira/browse/IOTDB-1202
Project: Apache IoTDB
Issue Type: Task
Reporter: Xiangdong Huang
we notice that the session and jdbc lirary is large (more than 7MB), as it
packs too many unused classes into the jar.
It is time to reduce the size.
1. Thrift module
generated thrift sources are very large. And the client (jdbc and the session)
only use the rpc.thrift.
So, we can seperate the original thrift module into 3 parts: rpc, sync, and the
cluster.
The client module depends on the rpc only;
The server module depends on the rpc and the sync;
The cluster module depends on the 3 parts;
2. TsFile module
As the client module just needs some classes like TSDataype, so we do not need
to depend on the transitive dependency of the tsfile module.
So, I exclude all transitive dependency of the tsfile module.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)