Hi Sabiya,

> 1. Can we define our custom logical resources in YARN other than Memory &
> cpu core?  Is this flexibility there?

There is an ongoing effort to satisfy this very requirement - you can follow 
https://issues.apache.org/jira/browse/YARN-3926 
<https://issues.apache.org/jira/browse/YARN-3926>.

> 2. What is a role of HDFS in yarn, Can yarn work without HDFS?

YARN depends on a FileSystem (of which HDFS is an implementation) for two things
 (a) to find out where the application dependent artifacts (like jars, 
configurations, binaries etc) are present and downloadable to individual nodes 
from
 (b) to determine a location where it can upload application logs once an 
application finishes.

HTH
+Vinod

Reply via email to