dongjoon-hyun commented on code in PR #49949:
URL: https://github.com/apache/spark/pull/49949#discussion_r1955518224


##########
core/src/main/scala/org/apache/spark/util/Utils.scala:
##########
@@ -2448,7 +2449,7 @@ private[spark] object Utils
     } catch {
       // JEP 486: Permanently Disable the Security Manager
       case e: UnsupportedOperationException if 
e.getMessage().contains("getSubject") =>
-        "spark"
+        System.getProperty("user.name", "spark")

Review Comment:
   I can find `185` user id for Docker and K8s, but I'm not aware of `anoymous` 
in Spark code.
   ```
   $ git grep user.name | grep anonymous | grep -v event
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to