public class StreamGraphUserHashHasher extends Object implements StreamGraphHasher
构造器和说明 |
---|
StreamGraphUserHashHasher() |
限定符和类型 | 方法和说明 |
---|---|
Map<Integer,byte[]> |
traverseStreamGraphAndGenerateHashes(StreamGraph streamGraph)
Returns a map with a hash for each
StreamNode of the StreamGraph . |
public Map<Integer,byte[]> traverseStreamGraphAndGenerateHashes(StreamGraph streamGraph)
StreamGraphHasher
StreamNode
of the StreamGraph
. The hash is used as the JobVertexID
in order to
identify nodes across job submissions if they didn't change.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.