YangJie
YangJie
Merged into master. Thanks @panbingkun @cloud-fan and @yaooqinn
> ``` > sbin/start-connect-server.sh --conf spark.log.structuredLogging.enabled=false > ``` I used the command `dev/make-distribution.sh --tgz -Phive` to package the latest code. And without this pr, I manually run `sbin/start-connect-server.sh --conf spark.log.structuredLogging.enabled=false`,...
> > ``` > > sbin/start-connect-server.sh --conf spark.log.structuredLogging.enabled=false > > ``` > > I used the command `dev/make-distribution.sh --tgz -Phive` to package the latest code. > > And without this...
https://github.com/apache/spark/pull/47500#issuecomment-2311482962 https://github.com/apache/spark/pull/47500#issuecomment-2311595579 The difference between these two log is that the log of @pan3793 has one additional line of `Using Spark's default log4j profile: org/apache/spark/log4j2-defaults.properties`, and then it uses `structuredLogging`...
> I still can't reproduce this one latest master branch. I will try on a different laptop and get back here today. > > Update: I tried on another laptop...
These days I have some other things to do. I will investigate why some environments load `org/apache/spark/log4j2-defaults.properties` at the weekend, if there is no further conclusion before that.
In the scenario described by the current PR, I believe the issue is real: 1. The initialization of the `org.apache.spark.internal.config` object precedes the actual effectiveness of the `--conf spark.log.structuredLogging.enabled=false` option...
> @LuciferYang Thanks for digging out this issue. > > > change ... from val to lazy val. This can avoid the aforementioned unexpected early initialization. > > IMO we...
Does any classic database, data warehouse, or competitor product have this function?
https://github.com/openjdk/jdk/blob/dfacda488bfbe2e11e8d607a6d08527710286982/src/java.base/share/classes/java/util/Arrays.java#L2146-L2173 ``` /** * Searches the specified array for the specified object using the binary * search algorithm. The array must be sorted into ascending order * according to the...