sqoop temp directory has to be set via HADOOP_OPTS environment variable and not via command line arguments since it is accessed as a system property and not a hadoop configuration property which is where sqoop options end up.