Re: [Building] Building with JDK11

2022-07-18 Thread Sean Owen
Why do you need Java 11 bytecode though? Java 8 bytecode runs fine on Java 11. The settings in the build are really there for testing, not because it's required to use Java 11. On Mon, Jul 18, 2022 at 10:29 PM Gera Shegalov wrote: > Bytecode version is controlled by javac "-target" option for

Re: [Building] Building with JDK11

2022-07-18 Thread Gera Shegalov
Bytecode version is controlled by javac "-target" option for Java, and by scalac "-target:" for Scala JDK can cross-compile between known versions. Spark uses 1.8 as source and target by default controlled by the Maven property java.version

Re: [Building] Building with JDK11

2022-07-18 Thread Szymon Kuryło
Ok, so I used a docker image `adoptopenjdk/openjdk11:latest` as a builder, and still got version 52 classes. pon., 18 lip 2022 o 09:51 Stephen Coy napisał(a): > Hi Sergey, > > I’m willing to be corrected, but I think the use of a JAVA_HOME > environment variable was something that was started

Re: very simple UI on webpage to display x/y plots+histogram of data stored in hive

2022-07-18 Thread ayan guha
If possible, start with a Jupyter or databricks notebook On Tue, 19 Jul 2022 at 7:35 am, Joris Billen wrote: > Thank you - looks like it COULD do it. > Have to try if I can have a simple UI, user selects one out of 100 > options, and receives the correct x/y plot and correct histogram of data >

Re: very simple UI on webpage to display x/y plots+histogram of data stored in hive

2022-07-18 Thread Joris Billen
Thank you - looks like it COULD do it. Have to try if I can have a simple UI, user selects one out of 100 options, and receives the correct x/y plot and correct histogram of data stored in hive and retrieved with spark into pandas… Many thanks for your suggestion! On 18 Jul 2022, at 15:08,

Re: very simple UI on webpage to display x/y plots+histogram of data stored in hive

2022-07-18 Thread Sean Owen
Sure, look at any python-based plotting package. plot.ly does this nicely. You pull your data via Spark to a pandas DF and do whatever you want. On Mon, Jul 18, 2022 at 1:42 PM Joris Billen wrote: > Hi, > I am making a very short demo and would like to make the most rudimentary > UI (withouth

very simple UI on webpage to display x/y plots+histogram of data stored in hive

2022-07-18 Thread Joris Billen
Hi, I am making a very short demo and would like to make the most rudimentary UI (withouth knowing anything about front end) that would show a x/y plot of data stored in HIVE (that I typically query with spark) together with a histogram (something one would typically created in a jupyter

Re: Issue while building spark project

2022-07-18 Thread Sean Owen
Increase the stack size for the JVM when Maven / SBT run. The build sets this but you may still need something like "-Xss4m" in your MAVEN_OPTS On Mon, Jul 18, 2022 at 11:18 AM rajat kumar wrote: > Hello , > > Can anyone pls help me in below error. It is a maven project. It is coming > while

Issue while building spark project

2022-07-18 Thread rajat kumar
Hello , Can anyone pls help me in below error. It is a maven project. It is coming while building it [ERROR] error: java.lang.StackOverflowError [INFO] at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4885)

Re: [Building] Building with JDK11

2022-07-18 Thread Stephen Coy
Hi Sergey, I’m willing to be corrected, but I think the use of a JAVA_HOME environment variable was something that was started by and continues to be perpetuated by Apache Tomcat. … or maybe Apache Ant, but modern versions of Ant do not need it either. It is not needed for modern releases of

Re: [Building] Building with JDK11

2022-07-18 Thread Sergey B.
Hi Steve, Can you shed some light why do they need $JAVA_HOME at all if everything is already in place? Regards, - Sergey On Mon, Jul 18, 2022 at 4:31 AM Stephen Coy wrote: > Hi Szymon, > > There seems to be a common misconception that setting JAVA_HOME will set > the version of Java that is