Skip to content

Commit

Permalink
inserted extra logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sonalgoyal committed Mar 31, 2024
1 parent c169fb4 commit 347fe09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions common/core/src/main/java/zingg/common/core/block/Block.java
Expand Up @@ -218,10 +218,10 @@ public void estimateElimCount(Canopy<R> c, long elimCount) {
*/
public Tree<Canopy<R>> getBlockingTree(Tree<Canopy<R>> tree, Canopy<R>parent,
Canopy<R>node, List<FieldDefinition> fieldsOfInterest) throws Exception, ZinggClientException {
if (LOG.isDebugEnabled()) {
/*if (LOG.isDebugEnabled()) {
LOG.debug("Tree so far ");
LOG.debug(tree);
}
}*/
long size = node.getTrainingSize();
if (LOG.isDebugEnabled()) {
LOG.debug("Size, maxSize " + size + ", " + maxSize);
Expand All @@ -230,6 +230,7 @@ public Tree<Canopy<R>> getBlockingTree(Tree<Canopy<R>> tree, Canopy<R>parent,
LOG.debug("Size is bigger ");
Canopy<R>best = getBestNode(tree, parent, node, fieldsOfInterest);
if (best != null) {
LOG.warn(" HashFunction is " + best + " and node is " + node);
if (LOG.isDebugEnabled()) {
LOG.debug(" HashFunction is " + best + " and node is " + node);
}
Expand Down
Expand Up @@ -111,7 +111,7 @@ public Tree<Canopy<R>> readBlockingTree(IArguments args) throws Exception, Zingg
//byte [] byteArrayBack = (byte[]) tree.df().head().get(0);
byte[] byteArrayBack = getTreeFromDF(tree);
Tree<Canopy<R>> blockingTree = null;
LOG.warn("byte array back is " + byteArrayBack);
//LOG.warn("byte array back is " + byteArrayBack);
blockingTree = (Tree<Canopy<R>>) Util.revertObjectFromByteArray(byteArrayBack);
return blockingTree;
}
Expand Down

0 comments on commit 347fe09

Please sign in to comment.