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

173 Views Asked by At

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?

2

There are 2 best solutions below

5
Vlad Rozov On BEST ANSWER

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

1
Sanjay On

When you connect to the App Master you need to provide the complete URL for a REST API to invoke. There is nothing to show/return for "/" so what you are seeing is expected. What are you trying to do connecting to the App Master?