我正在尝试在三个节点群集(主节点,节点1,节点2)上启动Nifi服务,主节点上已安装了主Nifi节点,而节点1具有Nifi证书颁发机构。
我无法启动nifi,以下是我的主节点上ambari-agent的日志
var upload = (auth, google, fileName, readStream, res, lastChunk) => {
console.log(`uploading ${fileName}`);
const drive = google.drive({ version: 'v3', auth });
var fileMetadata = {
'name': fileName
};
var media = {
mimeType: 'application/octet-stream',
body: readStream
};
drive.files.create({
resource: fileMetadata,
media: media,
fields: 'id',
headers: {
'uploadType': 'multipart'
}
}, {
onUploadProgress: function (e) {
if (e.bytesRead > 786432){
// want to stop uploading
//readStream.close() <- this doesn't stop the upload
}
console.log(`Uploaded ${fileName}:`, e.bytesRead.toString());
}
}, function (err, file) {
if (err) {
console.error(err);
} else {
if (lastChunk)
res.render('upload-success.hbs');
console.log('File Id: ', file.id);
}
});
谁能建议我的配置出了什么问题?
答案 0 :(得分:0)
您可能想在供应商论坛上提问或寻求他们的支持。