Margus,
Yes it is possible to create partition, for the location of data in HDFS from
hive based process entity, for the table.For this you have to define required
hive statement in your hive script.
No, process will not start if partition for table does not exists. But ensure
that in Falcon, table URI must be defined in Feed entity using HCatalog
partition URI or partition must be added through HCatalog.
Thanks---Peeyush
On Monday, 15 February 2016 1:10 PM, Margus Roo <[email protected]> wrote:
Hi
Maybe it is a dumb question but in case I have table with partition in
example date_feed and flume puts data in to the right directories.
Now I have feed_1 hive table (partition=date_feed) -> process -> feed_2
hive table.
First I'd like that process creates partition like: ALTER TABLE
tablename ADD PARTITION (date_feed="current date") LOCATION (right
location in HDFS)
Is is possible? I am a little confused. Does process starts if there is
no partition exists is hive table already?
--
Margus (margusja) Roo
http://margus.roo.ee
skype: margusja
+372 51 48 780