Support Questions
Find answers, ask questions, and share your expertise

sqoop kerberos proxy user

Explorer

Hi all,

We are using azkaban as job scheduler and trying to run a sqoop job by passing mapreduce.job.credentials.binary. Given token blongs to a user called testi and azkaban is running as azkaban user with proxy user privileges. Below is sqoop command

sqoop import -D mapreduce.job.credentials.binary=${HADOOP_TOKEN_FILE_LOCATION} --verbose --driver com.mysql.jdbc.Driver --connect "jdbc:mysql://ahdp22/temp?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false" --username temp --password temp --table people --fetch-size 10000 --target-dir /user/testi/people_avro --as-avrodatafile --compression-codec snappy -m 1

but it does not work. It still trying to run as azkaban. Do you have any idea?