Advertisement
Guest User

Untitled

a guest
Oct 12th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. <$HIVE_HOME/conf/hive-site.xml grep -A1 jdo
  2.  
  3. <name>javax.jdo.option.ConnectionURL</name>
  4. <value>jdbc:mysql://127.0.0.1/metastore?createDatabaseIfNotExist=true</value>
  5. --
  6. <name>javax.jdo.option.ConnectionDriverName</name>
  7. <value>com.mysql.jdbc.Driver</value>
  8. --
  9. <name>javax.jdo.option.ConnectionUserName</name>
  10. <value>hive</value>
  11. --
  12. <name>javax.jdo.option.ConnectionPassword</name>
  13. <value>cloudera</value>
  14.  
  15. select *
  16.  
  17. from metastore.DBS as d
  18.  
  19. join metastore.TBLS as t
  20.  
  21. on t.DB_ID =
  22. d.DB_ID
  23.  
  24. where t.TBL_NAME like '% ... put somthing here ... %'
  25.  
  26. order by d.NAME
  27. ,t.TBL_NAME
  28. ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement