@yadir Aguilar
This is a permission issue. You need to give permissions on the folder to admin user or create directory as hdfs user
su hdfs
hdfs dfs -mkdir /user/d
(or)
su hdfs
hdfs dfs -chown admin:admin /user/d
.
If you are using a kerberized environment, you should do a kinit with hdfs keytab and then run the above commands
kinit -kt /etc/security/keytabs/hdfs.headless.keytab {user-principal}
.
Please "Accept" the answer if this helps.