Sqoop Import error

sqoop import
–connect “jdbc:mysql://ip-172-31-13-154/retail_db”
–username=sqoopuser
–password=NHkkP876rp
–table departments
–as-textfile
–target-dir=/apps/hive/warehouse

When I submit the above command I am getting this error

Could not find any valid local directory for nmPrivate/container_e123_1517296050843_0076_01_000011.tokens

Could you give it a try without –target-dir=/apps/hive/warehouse