- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Beeline -f command failed - No such file or directory
- Labels:
-
Apache Hive
-
Apache Oozie
Created ‎06-27-2017 12:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have a hql file on HDFS Location.
And we want to run a beeline command which would run a hql file.
Below is our beeline -f command -
beeline -u "jdbc:hive2://<server>/;principal=hive/<Principle Value>" -f "hdfs://<Service Account>/EA/shared/bmt/scripts/hql/insert_ud_privacy_exclusion_bmt_wrk1.hql"
Error -
hdfs:/<Service Account>/EA/shared/bmt/scripts/hql/insert_ud_privacy_exclusion_bmt_wrk1.hql (No such file or directory)
Why beeline does not recognize hql file which is there on HDFS?
Is it that hql file needs to be on local UNIX box for beeline to run the file?
Created ‎06-27-2017 12:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Bhushan Rokade Yes beeline expects the HQL file to be local file system.
