Support Questions

Find answers, ask questions, and share your expertise

Read/Write on HDP data platform on Windows 21012 R2

avatar
Contributor

I just setup Hortonworks Data Platform2.3.4 on Windows 2012 R2 server and was trying -ls command from Hadoop Command Line but it says "Permission denied: user=ritjain, access=READ_EXECUTE, inode="/user":hadoop:hdfs:drwx...". I understand about permission but not sure how to resolve the issue. Also When I started "Hadoop Name Node Status", browser does not show anything. Kindly suggest..

1 ACCEPTED SOLUTION

avatar
Contributor
@Ritesh jain

Try following the below steps for windows machine. If helped, please vote/accept answer

1. Switch to a command prompt as the hadoop user For example:

>runas /user:hadoop cmd

2. Navigate to the the hadoop directory. For example:

>cd C:\hdp\hadoop-2.7.1.2.3.4.0-3485\bin

3. From the hadoop directory, create a ritjain user. For example:

>hadoop dfs -mkdir /user/ritjain

4. Change ownership to the ritjain user and add the user to hdfs group.

>hadoop dfs chown -R ritjain:hdfs /user/ritjain

View solution in original post

11 REPLIES 11

avatar
Contributor

@Ritesh jain Yes, the -chown would add the user ritjain to hdfs group.

If the above suggestion helped you in resolving the issue, kindly vote the suggestion to close this loop.

avatar
Contributor

Can't vote - getting message - 😞

We're sorry, but this cannot be voted down by you until you have at least 25 reputation