zeppelin icon indicating copy to clipboard operation
zeppelin copied to clipboard

[ZEPPELIN-6028] Enhance default value assignment for ZEPPELIN_IDENT_STRING

Open pan3793 opened this issue 2 years ago • 1 comments

What is this PR for?

In some cases, $USER is not available, this PR follows Hadoop[1] to enhance the USER evaluation.

For example, there is no $USER when login to docker

$ docker run -t -i ubuntu:latest
root@1dbeaefd6cd4:/# echo $USER

root@1dbeaefd6cd4:/# exit

[1] https://github.com/apache/hadoop/blob/rel/release-3.4.0/hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh#L893-L896

What type of PR is it?

Improvement

What is the Jira issue?

ZEPPELIN-6028

How should this be tested?

Review.

Screenshots (if appropriate)

Questions:

  • Does the license files need to update? No.
  • Is there breaking changes for older versions? No.
  • Does this needs documentation? No.

pan3793 avatar Jul 01 '24 07:07 pan3793

cc @zjffdu @huage1994 @Reamer

pan3793 avatar Jul 01 '24 11:07 pan3793

kindly ping @zjffdu

pan3793 avatar Jul 03 '24 13:07 pan3793