https://github.com/apache/storm/blob/14fbc4859752ae95791d8d5c6d65b9c620d80dab/storm-core/src/clj/org/apache/storm/util.clj#L216

https://github.com/apache/storm/blob/14fbc4859752ae95791d8d5c6d65b9c620d80dab/storm-core/src/jvm/org/apache/storm/Config.java#L227

On Wed, Jan 27, 2016 at 11:45 PM, Jaydeep Karia (BLOOMBERG/ 731 LEX) <
[email protected]> wrote:

> How is the workerLogLink (that attaches it to the port# in the UI, to
> allow viewing of logs by clicking on port) calculated?
>
> It seems the object returned from this part of code
> https://github.com/apache/storm/blob/14fbc4859752ae95791d8d5c6d65b9c620d80dab/storm-core/src/clj/org/apache/storm/ui/core.clj#L763
> is used by the MoustacheTemplate to generate the Executor stats table.
>
> How is the host determined? The problem we are having is the hostname used
> here is not the FQDN and so the links generated won't work. Is there a way
> to fix this issue?
>
> example object:
>
>    1. executorStats: Array[10]
>       1. 0: Object
>          1. acked: 0
>          2. completeLatency: "0.000"
>          3. emitted: 734980
>          4. encodedId: "%5B9-9%5D"
>          5. failed: 0
>          6. host: "linxdev27"
>          7. id: "[9-9]"
>          8. port: 6702
>          9. transferred: 733840
>          10. uptime: "22h 45m 22s"
>          11. workerLogLink: "
>          
> http://linxdev27:9002/log?file=exclamation-topology-1-1453827406-worker-6702.log
>          "
>          12. ....
>
> the hostname linxdev27 is not the fqdn so the dns lookup fails I think.
>
> Thanks,
> Jaydeep
>



-- 
Regards,
Abhishek Agarwal
  • WorkerLogLink issue Jaydeep Karia (BLOOMBERG/ 731 LEX)
    • Re: WorkerLogLink issue Abhishek Agarwal

Reply via email to