I can reproduce it with this: LC_ALL=en_US.ASCII mvn -Pspark-2.4 -Pthriftserver test -pl :livy-repl_2.11 -Dsuites=*.Python2*
Seems that Livy's fake python shell expects UTF-8 when running on Python 2. This is not a new bug, so while we should fix it, not sure we need to fix it in this release. On Thu, Mar 28, 2019 at 11:24 AM sebb <seb...@gmail.com> wrote: > On Thu, 28 Mar 2019 at 17:02, Marcelo Vanzin <van...@cloudera.com.invalid> > wrote: > > > Are you using a different encoding that UTF-8 in your environment? > > > > The source file contains unicode escapes, so that shouldn't be the > problem. > > It may be the test is expecting the output of child processes (in this > case > > the python interpreter) to be UTF-8. > > > > > If that is the case, then the test case ought to be fixed... > > > > On Wed, Mar 27, 2019 at 10:25 PM Felix Cheung <felixche...@apache.org> > > wrote: > > > > > This test is consistently failing when I build, any idea what’s wrong > in > > my > > > setup? > > > > > > - should print unicode correctly *** FAILED *** (101 milliseconds) > > > ExecuteSuccess(JObject(List((text/plain,JString(☺))))) did not equal > > > ExecuteSuccess(JObject(List((text/plain,JString(☺))))) > > > (PythonInterpreterSpec.scala:272) > > > > > > > > > On Tue, Mar 26, 2019 at 1:36 PM Marcelo Vanzin > > <van...@cloudera.com.invalid > > > > > > > wrote: > > > > > > > The Livy PPMC has voted to release Livy 0.6.0 RC2 as the next Livy > > > release. > > > > > > > > Livy enables programmatic, fault-tolerant, multi-tenant submission of > > > > Spark jobs from web/mobile apps (no Spark client needed). So, > multiple > > > > users can interact with your Spark cluster concurrently and reliably. > > > > > > > > Vote thread: > > > > > > > > > > > > > > https://lists.apache.org/thread.html/24c6c184f33c611aa83ec5d1c9948c96610b36df503b5e7f100ff4a2@%3Cdev.livy.apache.org%3E > > > > > > > > (Note I messed up the subject on the first e-mail, that thread is for > > > > the RC2 vote.) > > > > > > > > Result thread: > > > > > > > > > > > > > > https://lists.apache.org/thread.html/70c715f6394f06f0a49f76671b0f57cd1cdca35f7862a9ad2cf87fd7@%3Cdev.livy.apache.org%3E > > > > > > > > The RC is based on tag v0.6.0-incubating-rc2: > > > > https://github.com/apache/incubator-livy/commit/28be98cabc > > > > > > > > The release files can be found here: > > > > > > > > > > https://dist.apache.org/repos/dist/dev/incubator/livy/0.6.0-incubating-rc2/ > > > > > > > > The staged maven artifacts can be found here: > > > > > https://repository.apache.org/content/repositories/orgapachelivy-1008 > > > > > > > > The list of resolved JIRAs in this release can be found here: > > > > https://issues.apache.org/jira/projects/LIVY/versions/12342736 > > > > > > > > Vote will be open for at least 72 hours. Thanks! > > > > > > > > -- > > > > Marcelo > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org > > > > For additional commands, e-mail: general-h...@incubator.apache.org > > > > > > > > > > > > > > > > > -- > > Marcelo > > > -- Marcelo