You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@livy.apache.org by Arnav Balyan <ar...@gmail.com> on 2025/12/16 11:30:47 UTC

[DISCUSS] Updating old Spark/Scala references on the Livy website

Hi team,
I just wanted to start a discussion about refreshing the Livy website. It
seems the current “Get Started” and “Examples” pages still reference Spark
1.6 and Scala 2.11, which are long out of date.
There are also few examples that are no longer compatible with Spark 3. In
particular, the PySpark example uses Python 2 only syntax (xrange, old
print), which will fail on newer Spark installations.
I propose we update these sections of the website:
1. Remove Spark 1.6 and Scala 2.11 dependencies.
2. Examples - Update code examples for newer versions.
3. Getting Started Page - Removing obsolete references.

If there’s agreement, happy to open a PR and update the content.

Thanks and Regards,
Arnav

Re: [DISCUSS] Updating old Spark/Scala references on the Livy website

Posted by Arnav Balyan <ar...@gmail.com>.
Hi Larry,

Thanks! I'll proceed with the updates and share the PRs shortly.

Warm Regards,
Arnav

On Tue, Dec 16, 2025 at 7:43 PM larry mccay <lm...@apache.org> wrote:

> Hi Arnav -
>
> You are absolutely right!
>
> I would suggest removing things that are no longer supported and adding the
> most relevant things to either replace or complement things that are still
> valid.
> Yes, please go ahead with the PRs. I will keep an eye out for them!
>
> thanks,
>
> --larry
>
> On Tue, Dec 16, 2025 at 6:31 AM Arnav Balyan <ar...@gmail.com>
> wrote:
>
> > Hi team,
> > I just wanted to start a discussion about refreshing the Livy website. It
> > seems the current “Get Started” and “Examples” pages still reference
> Spark
> > 1.6 and Scala 2.11, which are long out of date.
> > There are also few examples that are no longer compatible with Spark 3.
> In
> > particular, the PySpark example uses Python 2 only syntax (xrange, old
> > print), which will fail on newer Spark installations.
> > I propose we update these sections of the website:
> > 1. Remove Spark 1.6 and Scala 2.11 dependencies.
> > 2. Examples - Update code examples for newer versions.
> > 3. Getting Started Page - Removing obsolete references.
> >
> > If there’s agreement, happy to open a PR and update the content.
> >
> > Thanks and Regards,
> > Arnav
> >
>

Re: [DISCUSS] Updating old Spark/Scala references on the Livy website

Posted by Arnav Balyan <ar...@gmail.com>.
Hi Larry,

Thanks! I'll proceed with the updates and share the PRs shortly.

Warm Regards,
Arnav

On Tue, Dec 16, 2025 at 7:43 PM larry mccay <lm...@apache.org> wrote:

> Hi Arnav -
>
> You are absolutely right!
>
> I would suggest removing things that are no longer supported and adding the
> most relevant things to either replace or complement things that are still
> valid.
> Yes, please go ahead with the PRs. I will keep an eye out for them!
>
> thanks,
>
> --larry
>
> On Tue, Dec 16, 2025 at 6:31 AM Arnav Balyan <ar...@gmail.com>
> wrote:
>
> > Hi team,
> > I just wanted to start a discussion about refreshing the Livy website. It
> > seems the current “Get Started” and “Examples” pages still reference
> Spark
> > 1.6 and Scala 2.11, which are long out of date.
> > There are also few examples that are no longer compatible with Spark 3.
> In
> > particular, the PySpark example uses Python 2 only syntax (xrange, old
> > print), which will fail on newer Spark installations.
> > I propose we update these sections of the website:
> > 1. Remove Spark 1.6 and Scala 2.11 dependencies.
> > 2. Examples - Update code examples for newer versions.
> > 3. Getting Started Page - Removing obsolete references.
> >
> > If there’s agreement, happy to open a PR and update the content.
> >
> > Thanks and Regards,
> > Arnav
> >
>

Re: [DISCUSS] Updating old Spark/Scala references on the Livy website

Posted by larry mccay <lm...@apache.org>.
Hi Arnav -

You are absolutely right!

I would suggest removing things that are no longer supported and adding the
most relevant things to either replace or complement things that are still
valid.
Yes, please go ahead with the PRs. I will keep an eye out for them!

thanks,

--larry

On Tue, Dec 16, 2025 at 6:31 AM Arnav Balyan <ar...@gmail.com> wrote:

> Hi team,
> I just wanted to start a discussion about refreshing the Livy website. It
> seems the current “Get Started” and “Examples” pages still reference Spark
> 1.6 and Scala 2.11, which are long out of date.
> There are also few examples that are no longer compatible with Spark 3. In
> particular, the PySpark example uses Python 2 only syntax (xrange, old
> print), which will fail on newer Spark installations.
> I propose we update these sections of the website:
> 1. Remove Spark 1.6 and Scala 2.11 dependencies.
> 2. Examples - Update code examples for newer versions.
> 3. Getting Started Page - Removing obsolete references.
>
> If there’s agreement, happy to open a PR and update the content.
>
> Thanks and Regards,
> Arnav
>