You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@knox.apache.org by "Ravikumar, Praveen Krishnamoorthy" <rp...@amazon.com> on 2019/07/03 19:10:06 UTC

Getting HTTP Error 404 on Accessing Container logs in YARN

Greetings,

I’m currently working to enable EMR UI’s (YARN/SparkHistory) using apache knox. As of now, I’m able to install knox and access these UI’s through browser. But when I was trying the access the logs under YARNUI -> Applications -> Logs, I’m getting HTTP 404 error. I have attached the topology XML and the screenshots with this mail.

Could anyone please help me resolve this issue ?

Images of the steps below,


  1.  Log Link

[cid:image001.png@01D531B1.6638AB60]


  1.  Error

[cid:image002.png@01D531B1.6638AB60]


  1.  Gateway log :



[cid:image003.png@01D531B1.6638AB60]





Thanks,

Praveen.

Re: Getting HTTP Error 404 on Accessing Container logs in YARN

Posted by Raja Marimuthu <ra...@northbaysolutions.com>.
Praveen,

This could be the root cuase :

  *   Yarn node manager link with port 8042 is directly exposed, so it doesn’t. go thru knox gateway.
  *   I believe that Knox doesn’t support Yarn Node Manager yet.

Until otherwise we get better solution from knox community,I would open up port 8042  .

Thanks
Raja





From: "Ravikumar, Praveen Krishnamoorthy" <rp...@amazon.com>
Reply-To: "user@knox.apache.org" <us...@knox.apache.org>
Date: Wednesday, July 3, 2019 at 3:10 PM
To: "dev@knox.apache.org" <de...@knox.apache.org>, "user@knox.apache.org" <us...@knox.apache.org>
Subject: Getting HTTP Error 404 on Accessing Container logs in YARN

Greetings,

I’m currently working to enable EMR UI’s (YARN/SparkHistory) using apache knox. As of now, I’m able to install knox and access these UI’s through browser. But when I was trying the access the logs under YARNUI -> Applications -> Logs, I’m getting HTTP 404 error. I have attached the topology XML and the screenshots with this mail.

Could anyone please help me resolve this issue ?

Images of the steps below,


  1.  Log Link

[cid:image001.png@01D531B1.6638AB60]


  1.  Error

[cid:image002.png@01D531B1.6638AB60]


  1.  Gateway log :



[cid:image003.png@01D531B1.6638AB60]





Thanks,

Praveen.