SQOOP AND FLUME IS not working for me

Hi All,

For me Flume and Sqoop is not working
Sqoop error:
Exception in thread “main” java.lang.RuntimeException: Could not create temporary directory: /tmp/sqoop-amritmadhav/compile/4c1671c4810c87d5675b0f1a4a95d5bc; check for a directory permissions issue on /tmp.

Flume Error:
[amritmadhav@gw01 ~]$ flume -ng version
bash: flume: command not found…

Please resolve the issue and help me to proceed further

Thanks…