Hi,I am trying to import tables from Mysql to Hive, I used this command.sqoop 
import --connect jdbc:mysql://localhost:3306/Demo --username sqoop1 --password 
SQOOP1 -table newone --hive-table newhive --create-hive-table --hive-import 
--target-dir /user/hive/warehouse/newit shows this error
ERROR tool.ImportTool: Encountered IOException running import job: 
java.io.IOException: Cannot run program "hive": error=2, No such file or 
directory

Why is it so,Please Suggest and help
RegardsYogesh Kumar
                                          

Reply via email to