Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Adding Hive Partitions Programatically.


Copy link to this message
-
Adding Hive Partitions Programatically.
How can you add a partition to a table programmatically? I have a mapreducejob that needs to perform a "ALTER TABLE x ADD PARTITION IF NOT EXIST (foo=3D bar) LOCATION '<Mapreduce output>' after it completes. Is there an example of this anwhere?
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB