Skip to main content
Purnima
Silver ⭐️
Silver ⭐️
July 22, 2018

Hive file:/path/to/hiveddl.sql does not exist.

  • October 5, 2026 at 9:08 AM
  • 1 reply
  • 3193 views
  • Translate All

Environment: HDP on AWS EC2 instances.

Problem: When trying to execute a hive ddl script, we get the error file does not exist. Upon checking the file exists and also has the read write privileges.

Root Cause: The directory where the script exists does not have read write permission to the user.

Solution: Open the directory permission to include the necessary read, write permission to the user.

Following is a screenshot that shows the problem and solution used to fix it.

82384-directorypermissionhive.png

1 reply

Purnima
Silver ⭐️
PurnimaAuthor
Silver ⭐️
July 22, 2018

This could be the potential solution for this "hive script does not exist" question as well:

https://community.hortonworks.com/questions/25588/hive-script-error-script-does-not-exists-error.html

Translate