在hive下执行select 报错:

hive下执行select 报错 could only be replicated to 0 nodes, instead of 1

之前没有没有对hive设置运行模式

   hive分为本地与集群两种

   我们可以通过mapred.job.tracker 来指明

   设置方式:

   hive > SET mapred.job.tracker=local

   由于本hive是使用的本地的,所以执行上面的一句,问题就解决了!



转载于:https://blog.51cto.com/junsy/1404243

相关文章: