HASTE-project / hom-2

HASTE-o-matic: Interactive, Stream-based Analysis of Large Datasets with Information Hierarchies
1 stars 1 forks source link

Serialized the analyzing tiers to persist state #32

Open Haoyuan-L opened 2 years ago

Haoyuan-L commented 2 years ago

Exist problems with gradle-tasks execution. The docker image and JAR file need to be updated.

Haoyuan-L commented 2 years ago

21

Haoyuan-L commented 2 years ago

Also solved issue #18 with regex

Haoyuan-L commented 2 years ago
  1. Ubuntu hirsute is no longer supported since January 20, 2022, replaced with jammy. Solved the error: repository does not have a Release file (non-zero code:100). See the official post: https://fridge.ubuntu.com/2022/01/21/ubuntu-21-04-hirsute-hippo-end-of-life-reached-on-january-20-2022/ and a question post: https://askubuntu.com/questions/1420130/cannot-do-apt-update-ip-address-not-found-no-release-file
  2. It seems openjdk-16-jre is not supported by jammy, install openjdk-16-jre instead.
Haoyuan-L commented 2 years ago

Passed the local test!

benblamey commented 2 years ago

Looks great will take a detailed look later!

benblamey commented 2 years ago

Sorry for the delay, will try to look at this today

Haoyuan-L commented 2 years ago

May need to configure the pod Manager to use a volume for storage

Haoyuan-L commented 2 years ago
image

Able to copy the configuration file from the pod, but the tiers didn't restore after rebooting the system.

benblamey commented 2 years ago

@Haoyuan-L Looks great! I'm trying to simplify it a bit... this is just a work in progress... https://github.com/HASTE-project/hom-2/commit/abc9709d89c9aba479f77ee1860a3fb2b838c774

Haoyuan-L commented 2 years ago

@Haoyuan-L Looks great! I'm trying to simplify it a bit... this is just a work in progress... abc9709

Great, thanks!

benblamey commented 2 years ago

Sorry @Haoyuan-L that was not all the changes

https://github.com/HASTE-project/hom-2/pull/36

benblamey commented 2 years ago

I think it is simpler to have one file. Lists should support serialization (this may need to setup somehow I can't remember exactly). Then we just serialize the list of tiers. We do this each time we change anything. We deserialize when starting the pod.