dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[BUG] It's failed that uploading a file that doesnot exist in HDFS to HDFS.

Open taiyi-demon opened this issue 7 years ago • 5 comments

dolphinscheduler: v1.1.0 It's failed when I upload a jar file that does not exist in HDFS to HDFS by user dw_mr of dw tenant.

  • Firstly, I get an error message 'hdfs operation error' by browser debug mode.
  • Secondly, I hold an exception message 'NullPointerException' by checking the back-end api-server log.
  • Of course, HDFS directory does not have this jar file, either.

Could you please help me resolve this issue?

1 1 1 2 1 3 1 4

taiyi-demon avatar Sep 25 '19 07:09 taiyi-demon

which version do you use? version 1.1.0, HadoopUtils.java line number 322 : image

davidzollo avatar Sep 25 '19 10:09 davidzollo

which version do you use? version 1.1.0, HadoopUtils.java line number 322 : image

Yes, I use version 1.1.0. I got this package from latest release link 'https://github.com/apache/incubator-dolphinscheduler/releases'. The screen shoot of installation package as below: es_installation_package

Of course, I de-compiler the runtime-class by arthas jad command, then get different code of line 322 of HadoopUtils.java. Please look at: jad_source_code_op jad_source_code

As a result, I don't know what happened.

taiyi-demon avatar Sep 25 '19 12:09 taiyi-demon

There is no such problem with normal operation.

Is there any question now?

This problem generally does not exist with directories. I think you and directories exist. Is it that HDFS is not enabled in the middle, and then HDFS is started?

Or try creating a new tenant upload resource

正常操作是没有这个问题的 现在还有这个问题吗? 这个问题一般都是跟目录不存在,我看你跟目录是存在的是,是中间先是hdfs没有启用,之后启动hdfs的吗? 或者你试试创建一个新的租户上传资源

qiaozhanwei avatar Sep 26 '19 09:09 qiaozhanwei

There is no such problem with normal operation.

Is there any question now?

This problem generally does not exist with directories. I think you and directories exist. Is it that HDFS is not enabled in the middle, and then HDFS is started?

Or try creating a new tenant upload resource

正常操作是没有这个问题的 现在还有这个问题吗? 这个问题一般都是跟目录不存在,我看你跟目录是存在的是,是中间先是hdfs没有启用,之后启动hdfs的吗? 或者你试试创建一个新的租户上传资源

No, HDFS is always running. I'll give you feedback after I create a new tenant and test.

taiyi-demon avatar Sep 26 '19 09:09 taiyi-demon

There is no such problem with normal operation.

Is there any question now?

This problem generally does not exist with directories. I think you and directories exist. Is it that HDFS is not enabled in the middle, and then HDFS is started?

Or try creating a new tenant upload resource

正常操作是没有这个问题的 现在还有这个问题吗? 这个问题一般都是跟目录不存在,我看你跟目录是存在的是,是中间先是hdfs没有启用,之后启动hdfs的吗? 或者你试试创建一个新的租户上传资源

Hi, the question does not occur after re-creating a tenant. Thanks for you help!

taiyi-demon avatar Sep 28 '19 16:09 taiyi-demon