Search code examples
hadoop-yarnapache-apex

Trying to run Apache Apex's Yahoo Finance example on YARN


I've downloaded Apache Apex 3.5.0 along with Malhar 3.5.0.

I've successfully started the apex client and submitted the Yahoo Finance demo example to our YARN cluster (running CDH 5.10). The cluster is running and configured properly (many Spark and MR jobs are running on it).

I see the application I submitted as RUNNING in YARN as well as in the Apex cli. However when I try to connect to the Application Master I get a 404.

org.apache.hadoop.yarn.webapp.WebAppException: /: controller for default not found

I also tried directly to connect to the appMasterTrackingUrl reported by get-app-info command, and I get the same error.

I tried a couple of apex examples, and I always get the same error.

Any idea why?


Solution

  • It is somewhat expected. Add "/ws/v2/stram/info" to the URL path