pai icon indicating copy to clipboard operation
pai copied to clipboard

无法在HDFS的portal页面上传数据

Open hellocandy opened this issue 7 years ago • 4 comments

Organization Name: advantech

Short summary about the issue/question:在Azure上部署的openPAI,无法上传文件到HDFS。

Brief what process you are following: 在Azure上部署了一个openPAI的集群(master1个,worker2个)。用80端口访问,在页面中因为没有HDFS的链接,然后改用IP:5070打开HDFS的页面,创建目录可以成功,但是上传文件到HDFS的时候出错。用F12查看,发现上传文件这个操作会跳转到内网的IP,因而会上传失败。

How to reproduce it: 在Azure上部署的openPAI,用IP:5070打开HDFS的页面,创建一个目录,然后点上传数据的按钮上传文件,此时上传会失败。

OpenPAI Environment:

  • OpenPAI version: 0.8.2
  • Cloud provider or hardware configuration: OpenPAI Cluster(master1个,worker2个)
  • OS (e.g. from /etc/os-release): ubuntu16.04
  • Kernel (e.g. uname -a):
  • Others:

Anything else we need to know:

hellocandy avatar Dec 21 '18 08:12 hellocandy

Hi @hellocandy

You can access http://external-ip/webhdfs to upload files to HDFS.

Gerhut avatar Dec 24 '18 04:12 Gerhut

@hellocandy HDFS上传问题解决没?

NothingLZ avatar Jan 02 '19 03:01 NothingLZ

I assume the issue has been resolved according to https://github.com/Microsoft/pai/issues/1971. Feel free to reopen it if you run into more issues.

fanyangCS avatar Jan 04 '19 09:01 fanyangCS

用http://external-ip/webhdfs这种登陆方式,在上传文件的时候,也是会跳转到内网IP:

http://10.0.0.7:5075/webhdfs/v1/Container/xianfeng/pai_job.json?op=CREATE&namenoderpcaddress=10.0.0.5:9000&createflag=&createparent=true&overwrite=false

hellocandy avatar Jan 05 '19 06:01 hellocandy