我正在尝试按照此网站的说明安装impala:https://cwiki.apache.org/confluence/display/IMPALA/Building+Impala
但是这个错误正在出现,我无法继续,任何人都可以帮助我吗?
Obs:任何人都知道是否可以从ambari或hue安装?
提前谢谢
var WorkWithResponse = function(response){
console.log(response)
}
var res=null;
var TestResponse = function(x, callback){
switch(x){
case "Delay":
console.log("Start Delay");
//This is the AngularJS $timeout service,
//replace with your own Meteor timeout method
$timeout(function(){
console.log('Delay over')
res="Response Here";
callback(res);
},5000)
console.log("test Delay");
break;
}
return res;
}
TestResponse("Delay",WorkWithResponse)
答案 0 :(得分:1)
错误是错误访问节点属性的结果。
逻辑case platform
使用不正确。例如,属性文件中的上述属性是错误的: -
if python['install_method'] == 'package'
case platform
when "smartos"
default['python']['prefix_dir'] = '/opt/local'
else
default['python']['prefix_dir'] = '/usr'
end
else
default['python']['prefix_dir'] = '/usr/local'
end
而且,它应该如下所示platform
是一个节点属性: -
if python['install_method'] == 'package'
case node['platform']
when "smartos"
default['python']['prefix_dir'] = '/opt/local'
else
default['python']['prefix_dir'] = '/usr'
end
else
default['python']['prefix_dir'] = '/usr/local'
end