I have installed Hadoop for one 'x' user on my Ubuntu machine. How can i access hadoop from other user 'Y'?

When i try to run "Haddop" in user "Y" i get error as - No such Command.Is there any way by which the same installation can be used which has been done for user "X" ?

Answers


For user Y to have the same access as user x you will need all the Hadoop path variables set in user Y's .bashrc. Depending on how you installed Hadoop you will need to also add user Y to the hadoop user group that X is in. You may also need to create a user directory on HDFS. Also make sure ssh is running for user Y. You could use the namenode you formatted for user x, but you will need to make sure Y has access.

Once you have checked all of the above try typing

xx@yyyy$ bin/hadoop

You should see the documentation for the Hadoop command


Need Your Help

GDI+ exception when saving image in PNG format

c# asp.net-mvc image iis gdi+

An ASP.NET application on my server starts throwing GDI+ exception after running for several days. After I restart the server, all works fine for a couple of days and then suddenly this exception o...

Desing pattern for looping with context dependant output

java design-patterns

I have a problem and I would like to know if there is a known pattern to apply. I was thinking about the visitor but I am not sure. The problem is the following: let's say I have a queue of boxes t...