Skip to content

Commit b1537be

Browse files
wForgetpan3793
authored andcommitted
[KYUUBI #6422] Merge standard error to output
# 🔍 Description ## Issue References 🔗 This pull request fixes # ## Describe Your Solution 🔧 Merge standard error to output. ## Types of changes 🔖 - [ ] Bugfix (non-breaking change which fixes an issue) - [X] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 #### Behavior Without This Pull Request ⚰️ #### Behavior With This Pull Request 🎉 #### Related Unit Tests --- # Checklist 📝 - [X] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6422 from wForget/redirect. Closes #6422 277d688 [wforget] Merge standard error to output Authored-by: wforget <[email protected]> Signed-off-by: Cheng Pan <[email protected]> (cherry picked from commit c1b55d8) Signed-off-by: Cheng Pan <[email protected]>
1 parent 6d66043 commit b1537be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kyuubi-server/src/main/scala/org/apache/kyuubi/engine/ProcBuilder.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ trait ProcBuilder {
149149
val envs = pb.environment()
150150
envs.putAll(env.asJava)
151151
pb.directory(workingDir.toFile)
152-
pb.redirectError(engineLog)
152+
pb.redirectErrorStream(true)
153153
pb.redirectOutput(engineLog)
154154
extraEngineLog.foreach(_.addExtraLog(engineLog.toPath))
155155
pb

0 commit comments

Comments
 (0)