kyuubi icon indicating copy to clipboard operation
kyuubi copied to clipboard

[Bug #3302] execute scala code in Kyuubi

Open zhaohehuhu opened this issue 3 years ago • 7 comments

Why are the changes needed?

How was this patch tested?

  • [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • [ ] Add screenshots for manual tests if appropriate

  • [ ] Run test locally before make a pull request

zhaohehuhu avatar Aug 25 '22 09:08 zhaohehuhu

will check it at weekends

turboFei avatar Aug 25 '22 09:08 turboFei

will check it at weekends

Any idea for this one?

zhaohehuhu avatar Aug 30 '22 01:08 zhaohehuhu

I have discussed with @cxzl25 .

Seems there is no a appropriate way to prevent the repl class output conflicts.

Because the repl class outputdir is static for exectors.

turboFei avatar Aug 30 '22 02:08 turboFei

Also cc @yaooqinn

turboFei avatar Aug 30 '22 02:08 turboFei

I have discussed with @cxzl25 .

Seems there is no a appropriate way to prevent the repl class output conflicts.

Because the repl class outputdir is static for exectors.

I think so. It looks like we have to switch to connection level instead.

zhaohehuhu avatar Aug 30 '22 09:08 zhaohehuhu

seems there is no workaround for this... it's kind of a JVM restriction.

yaooqinn avatar Sep 08 '22 08:09 yaooqinn

we need a usage guide for scala operation and doc the limitations there, @luoyedeyi would you like to take this?

yaooqinn avatar Sep 08 '22 09:09 yaooqinn

we need a usage guide for scala operation and doc the limitations there, @luoyedeyi would you like to take this?

Yup, I will do that

zhaohehuhu avatar Oct 09 '22 03:10 zhaohehuhu

Fixed by #4150

cxzl25 avatar Jan 20 '23 05:01 cxzl25