Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1202

reduce the size of session/jdbc library

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hxd Xiangdong Huang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: