0

Is there anyway to get the Node ID in a cluster at runtime so that We can use that node ID to concatenate with any column and Process it?

I am trying to create unique identifier which will consist of <timeStamp> + <Node ID>+ <any col data>.

Ankit90
  • 51
  • 5
  • Possible duplicate of [How to get ID of a map task in Spark?](https://stackoverflow.com/questions/31631791/how-to-get-id-of-a-map-task-in-spark) – Alper t. Turker May 29 '18 at 14:30
  • Requirement is to get the Node ID only. I think getting task ID is the granular level ID for the NODE where one node can have multiple Task. Any help is really appreciated . – Ankit90 May 30 '18 at 05:11

0 Answers0