无法在启用了kerberos的3节点群集上启动NIFI

时间:2018-10-28 06:29:19

标签: kerberos apache-nifi hortonworks-data-platform

我正在尝试在三个节点群集(主节点,节点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);
    }
});

谁能建议我的配置出了什么问题?

1 个答案:

答案 0 :(得分:0)

您可能想在供应商论坛上提问或寻求他们的支持。