Cannot find hadoop installation: $HADOOP_HOME or $HADOOP_PREFIX must be set or hadoop must be in the
启用hive时报以下错误:Cannotfindhadoopinstallation:$HADOOP_HOMEor$HADOOP_PREFIXmustbesetorhadoopmustbeinthepath解决方法:[work@hadoop1~]$cd~/hive/conf/[work@hadoop1~]$cphive-env.sh.templatehive-env.sh在hive-env.sh文件