chown: invalid user: `hduser:hadoop'
3 Answer(s)
DeZyre Support
hi Edgar,
Please let us know whether you are carrying these commands on Ubuntu or on Cloudera and whats the hadoop user which was created and the group he was added to:
Looking at the error, the user "hduser" is not existing on the system.
Aug 09 2014 07:31 AM
Please let us know whether you are carrying these commands on Ubuntu or on Cloudera and whats the hadoop user which was created and the group he was added to:
Looking at the error, the user "hduser" is not existing on the system.
Sarath
Edgar,
On your local system looks like you donot have the hduser user created.
As a typical setup process it is a good process to create a hadoop group and a hduser user added to that group.
You can do that with the root/super user account with the following commands.
$ sudo adduser --ingroup hadoop hduser
(This assumes you have the hadoop group setup. If that is not setup you can create a group with
$ sudo addgroup hadoop
Sarath.
Aug 09 2014 10:42 AM
On your local system looks like you donot have the hduser user created.
As a typical setup process it is a good process to create a hadoop group and a hduser user added to that group.
You can do that with the root/super user account with the following commands.
$ sudo adduser --ingroup hadoop hduser
(This assumes you have the hadoop group setup. If that is not setup you can create a group with
$ sudo addgroup hadoop
Sarath.