我们必须安装apache钻1.10,并实施了“普通身份验证”。经过应用验证机制,无法通过REST来创建存储插件API.But,它正在我们面前应用认证。 这里我们正努力创造通过REST API调用存储插件..阿帕奇钻REST API认证
Please help me how can we execute REST by using some user credential.
http://172.18.128.12:8047/storage/hdfs_test.json
{
"name": "hdfs_test",
"config":
{
"type" : "file",
"enabled" : true,
"connection" : "hdfs://<IP>:8020/",
"workspaces" : {
"root" : {
"location" : "/tmp",
"writable" : true,
"defaultInputFormat" : null
}
},
"formats" : {
"json" : {
"type" : "json"
}
}
}
}
below is the error
Invalid username/password credentials.
请帮助我们,如果有人已经面临这个问题。 在此先感谢。
修复第一段。 – phd