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) :

  1. import data mysql hive using sqoop
  2. execute query in hive , store output in hive table
  3. export output mysql using sqoop

i wondering if possible combine steps 2 & 3 – output of hive query written directly mysql database.

  1. i read external tables couldn’t find example location clause points jdbc:myql://localhost:3306//. possible?
  2. 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

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -