winutils.exe chmod command doesn't set permission winutils.exe chmod command doesn't set permission hadoop hadoop

winutils.exe chmod command doesn't set permission


I am quite late here still posting it so it might help someone in future.

  1. While setting the permission, make sure you are using correct path for winutils.exe (try to use complete path). For me winutils.exe was in C drive:

    C:\path\to\winutils.exe chmod -R 777 C:\tmp\hive

Run the below command to check the permission and it should look like below image ([setting and checking the permission : click to see the image]): https://i.stack.imgur.com/vE9vl.png

  1. If this is your corporate system the you must be on the same network using VPN or Forti Client or any other tool your organisation has been using


https://support.microsoft.com/en-us/kb/2771040

Looks like domain access issues, please ensure you can access domain and take a try again.

After ensure domain access, below error disappear

Caused by: java.lang.RuntimeException: The root scratch dir: /tmp/hive on HDFS should be writable. Current permissions are: rw-rw-rw-


I'm late here and I just encountered this issue. Writing this so it will help somebody.

If you are using your office laptop, make sure you are connected to office network and retry. The domain Member of Domain settings point to your office network. That must solve the issue.

  1. Log on Windows 10 using local Administrator account
  2. Hold Windowslogo and press E to open File Explorer3.On the right side of the File Explorer right click on This PC and choose Properties Click Advanced System Settings
  3. Choose Computer Name tab and select change to see the value configured.