I have been trying to install hadoop-2.6.0 in my Ubuntu 16.04 machine.
I have been logged into the hduser
from another user krishna
by:
sudo su hduser
and the hduser
then gets into its use.
After that i entered the command:
vi ~/.bashrc
This opens the file in read-only mode but I am not getting the write access so that I can append a set of statements into it.
To troubleshoot you should first run the command:
It will display:
The first column (
-rw-r--r--
) lists permissions, the third one (hduset
) the file owner. If the owner is nothduser
butroot
, you'd need to run:If there was a
hduser
listed as the owner, but permissions would not containw
, you'd need to run: