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 >> Getting table path within storage handler


Copy link to this message
-
Getting table path within storage handler
What is considered the "right way" to get the table path is a HIVE storage
handler? The MetaHook interface gives you a Table object which has a
getSd() method, but its not clear that this method is invoked outside of
lifecycle events (I assume it is not). It seems that if you write a
StorageHandler that uses HDFS for storage, this would be a desirable fact
to access within configureInputJobProperties() and
configureOutputJobProperties(). Is it stored as a property within the
jobProperties map already? Is it a constant that can be accessed anywhere
in the Configuration or some other place?
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