hadoop - Does sqoop import/export create java classes? If it does so, what is the location of these classes? -
does sqoop import/export create java classes? if so, can see these generated classes. location of these class files?
does sqoop import/export create java classes?
yes
if so, can see these generated classes. location of these class files?
it automatically generates java file of same table name in current path of local system.
you can use --outdir
provide own path.
updated per comment
you can use codegen command this:
sqoop codegen \ --connect jdbc:mysql://localhost/databasename\ --username username\ --password password\ --table tablename
after command executed there path @ end can see java files.
Comments
Post a Comment