-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, invoking the CIMReader would unpersist all RDD[<CIM Class>] resulting from prior invocations. These RDD would also be hidden from searching spark.sparkContext.getPersistentRDDs() list for names by setting their name to null. Now, using option ch.ninecode.cim.append=true the contents of the new CIM files are appended to existing RDD[<CIM Class>] (with union). This allows two similar use-cases on hot clusters (where one or more CIM files have already been read in): - rdf:about modifications to a hot cluster, for example opening or closing Switch elements - the more general ChangeSet application to a hot cluster, allowing additions and deletions of elements as well as modifications Of course, if the appended elements change the topology, you should execute the CIMNetworkTopologyProcessor (again). Other processing steps may also need to be repeated, depending on the CIM file(s) contents. Reading cached contents (ch.ninecode.cim.cache option) takes precedence, so the cache should be deleted prior to using append mode.
- Loading branch information
Derrick Oswald
committed
Oct 8, 2020
1 parent
380a7a5
commit b1c8416
Showing
4 changed files
with
99 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters