Support Questions
Find answers, ask questions, and share your expertise

How to get analogous file in the Hadoop configuration directory

How to get analogous file in the Hadoop configuration directory

I am trying to find configuration key yarn.application.classpath. I am not sure how do i search or open from command line in Centos. I have Hortonworks sandbox. Newbie to Hadoop :) .

4 REPLIES 4
Highlighted

Re: How to get analogous file in the Hadoop configuration directory

Hi @Firasath Ahmed - The property 'yarn.application.classpath' is defined in the config file - /etc/hadoop/conf/yarn-site.xml

https://hadoop.apache.org/docs/r2.4.1/hadoop-yarn/hadoop-yarn-common/yarn-default.xml

Highlighted

Re: How to get analogous file in the Hadoop configuration directory

when i try vi /etc/hadoop/conf/yarn-site.xml, i got message new directory created?

Highlighted

Re: How to get analogous file in the Hadoop configuration directory

Looks like you are not connected to the Sandbox VM. Can you try to login using below steps:

https://community.hortonworks.com/questions/20166/unable-to-login-on-sandbox.html

This is another article:

https://community.hortonworks.com/articles/6227/sandbox-1270018080-not-accessible.html

Highlighted

Re: How to get analogous file in the Hadoop configuration directory

None of those options work for me. Let me explain in detail. I have my HDP 2.5 running on Hyper V. All i am trying to do is find configuration key for yarn.application.classpath which is apparently located in the analogous file. Btw i come from windows/sql server background, consider i have no knowledge about Linux sytems. Can you please help me in getting the configuration key in the file? How do i search? Do i have to use Ambari to search a file or is there something else? Not able to connect to browser for Ambari.

Don't have an account?