I want to create hive external table for Unix file directory

2016-11-19T03:47:26

I want to create hive external table for Unix file directory, not for HDFS. Mean I want to give external path of a Unix directory so that my hive external table could point a unix file. Is it possible in hive?.

Copyright License:
Author:「Bipin Kumar」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.
Link to:https://stackoverflow.com/questions/40684930/i-want-to-create-hive-external-table-for-unix-file-directory

About “I want to create hive external table for Unix file directory” questions

I want to create hive external table for Unix file directory, not for HDFS. Mean I want to give external path of a Unix directory so that my hive external table could point a unix file. Is it possi...
I have been going through some HIVE books and tutorials. One of the book - Hadoop in Practice says When you create an external (unmanaged) table, Hive keeps the data in the directory specifie...
I want to create an external Hive table from a text file containing epoch in HDFS. Let's say the file is located at the /user/me/test.txt. Here's the file content: 1354183921 1354183922 I have Hi...
I have a JSON file and I want to create Hive external table over it but with more descriptive field names.Basically, I want to map the less descriptive field names present in json file to more
Referred this url : Hive - External table creation Created Hive external table with location keyword and value is pointing to my local disk. create external table exemp(id int,name string,age int...
Is it possible to use file in LOCATION for external table in HIVE? CREATE EXTERNAL TABLE table1 ( line string ) LOCATION '/hdp_in/fd/file.txt.gz'; cause I get an error: FAILED: Execution Error,
I am trying to create a Hive external table that points to an S3 output file. The file name should reflect the current date (it is always a new file). I tried this: CREATE EXTERNAL TABLE s3_expor...
Can someone point in the doc to create external table on qubole base on avro files? CREATE TABLE my_table_name ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.avro.AvroSerDe' STORED AS INPUTFO...
I have a set of CSV files in a HDFS path and I created an external Hive table, let's say table_A, from these files. Since some of the entries are redundant, I tried creating another Hive table base...
I have already an internal table in hive. Now I want to create an external table with partitions based on date to it. But it throws error, when I try to create it. Sample code: create external ta...

Copyright License:Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.