• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sqoop2 - sqoop.propertie

 
Jp bordi
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello

i work on sqoop2, it try to deploy service
./sqoop.sh server start


but i need exemple of content sqoop.properties with mysql

i have exemple with postgress and derby, but not with mysql
For the url and driver it is easy

But provider et hanlder seem to by a problem

it try lot of test, but i must check the source code of sqoop for find the handler and provider

like
org.apache.sqoop.repository.jdbc.handler=org.apache.sqoop.repository.jdbcMysq.jdbcMysqlRepositoryHandler

i get always class not found on org.apache.sqoop.repository.jdbc.handler property

# JDBC repository provider configuration

# sqoop implementation
org.apache.sqoop.repository.provider=org.apache.sqoop.repository.JdbcRepositoryProvider
org.apache.sqoop.repository.jdbc.handler=org.apache.sqoop.repository.derby.DerbyRepositoryHandler

#derby
org.apache.sqoop.repository.jdbc.url=jdbc:derby:/var/lib/sqoop2/repository/db;create=true
org.apache.sqoop.repository.jdbc.driver=org.apache.derby.jdbc.EmbeddedDriver
org.apache.sqoop.repository.jdbc.user=sa
org.apache.sqoop.repository.jdbc.password=bidon

if somebody have a configuration exemple of sqoop.properties with mysql, i woud save lot of time if get it.

KR
JP
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic