How can I find what UIDs and UID hashes are availa...
# troubleshooting
t
How can I find what UIDs and UID hashes are available in a savepoint (for use with the
SavepointReader
)?
flink 1
s
probably you could do something like this to list out all the uid hashes using savepoint API:
Copy code
val metadata = SavepointLoader.loadSavepointMetadata(
      "your_savepoint_path"
    )
    println(metadata.getOperatorStates)
    metadata.getOperatorStates.forEach(state => {
      println(state.getOperatorID )
    })
t
Thanks! I ended up using the way documented here https://ngela.tistory.com/49 , bypassing the state processor API completely.
πŸ‘ 1