hadoop - Hive External table in MySQL -
currently, i’m executing following steps(hadoop 1.1.2, hive 0.11 , sqoop-1.4.3.bin__hadoop-1.0.0) :
- import data mysql hive using sqoop
- execute query in hive , store output in hive table
- export output mysql using sqoop
i wondering if possible combine steps 2 & 3 – output of hive query written directly mysql database.
- i read external tables couldn’t find example location clause points jdbc:myql://localhost:3306//. possible?
- this thread talks jdbc storage handler couldn't find hive example same(i guess unimplemented!)
the link provided, seems bug unresolved. problem understand that, want select query in hive , output of query needs written in mysql. correct me if wrong ?
if case can use sqoop export this.
please check answer of mine: https://stackoverflow.com/a/17753176/1970125
hope help.
Comments
Post a Comment