Get the current TM hostname from the ExecutionContext

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Get the current TM hostname from the ExecutionContext

aalexandrov
Hi there,

I was trying to find away to get the metainformation about the TM executing
an operator from via the ExecutionContext object, but without success.

Is this possible at the moment? If not, any objections to add it (I would
prepare an issue with a patch).

Regards,
Alex
Reply | Threaded
Open this post in threaded view
|

Re: Get the current TM hostname from the ExecutionContext

Ufuk Celebi-2
Hey Alexander,

no, it's not possible at the moment. +1 for the idea. I also needed it once.

I think you will have to look at RuntimeEnvironment, Task, RuntimeContext.

– Ufuk
Reply | Threaded
Open this post in threaded view
|

Re: Get the current TM hostname from the ExecutionContext

Robert Metzger
+1 to add this.

On Fri, May 29, 2015 at 12:02 PM, Ufuk Celebi <[hidden email]> wrote:

> Hey Alexander,
>
> no, it's not possible at the moment. +1 for the idea. I also needed it
> once.
>
> I think you will have to look at RuntimeEnvironment, Task, RuntimeContext.
>
> – Ufuk
>