• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

sqoop2 - sqoop.propertie

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic