Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2024 15:01:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 280333] devel/spark
Message-ID:  <bug-280333-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280333

            Bug ID: 280333
           Summary: devel/spark
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: vbasiccd@msn.com
                CC: freebsd@sysctl.cz
             Flags: maintainer-feedback?(freebsd@sysctl.cz)
                CC: freebsd@sysctl.cz

After building Apache Spark, the installation step of copying the Hive JAR
files fails.

```
=3D=3D=3D>  Installing for apache-spark-3.3.0
=3D=3D=3D>  Checking if apache-spark is already installed
=3D=3D=3D>   Registering installation for apache-spark-3.3.0
pkg-static: Unable to access file
/usr/ports/devel/spark/work/stage/usr/local/share/spark/jars/hive-beeline-2=
.3.10.jar:No
such file or directory
pkg-static: Unable to access file
/usr/ports/devel/spark/work/stage/usr/local/share/spark/jars/hive-cli-2.3.1=
0.jar:No
such file or directory
pkg-static: Unable to access file
/usr/ports/devel/spark/work/stage/usr/local/share/spark/jars/hive-common-2.=
3.10.jar:No
such file or directory
pkg-static: Unable to access file
/usr/ports/devel/spark/work/stage/usr/local/share/spark/jars/hive-exec-2.3.=
10-core.jar:No
such file or directory
pkg-static: Unable to access file
/usr/ports/devel/spark/work/stage/usr/local/share/spark/jars/hive-jdbc-2.3.=
10.jar:No
such file or directory
pkg-static: Unable to access file
/usr/ports/devel/spark/work/stage/usr/local/share/spark/jars/hive-llap-comm=
on-2.3.10.jar:No
such file or directory
pkg-static: Unable to access file
/usr/ports/devel/spark/work/stage/usr/local/share/spark/jars/hive-metastore=
-2.3.10.jar:No
such file or directory
pkg-static: Unable to access file
/usr/ports/devel/spark/work/stage/usr/local/share/spark/jars/hive-serde-2.3=
.10.jar:No
such file or directory
pkg-static: Unable to access file
/usr/ports/devel/spark/work/stage/usr/local/share/spark/jars/hive-shims-0.2=
3-2.3.10.jar:No
such file or directory
pkg-static: Unable to access file
/usr/ports/devel/spark/work/stage/usr/local/share/spark/jars/hive-shims-2.3=
.10.jar:No
such file or directory
pkg-static: Unable to access file
/usr/ports/devel/spark/work/stage/usr/local/share/spark/jars/hive-shims-com=
mon-2.3.10.jar:No
such file or directory
pkg-static: Unable to access file
/usr/ports/devel/spark/work/stage/usr/local/share/spark/jars/hive-shims-sch=
eduler-2.3.10.jar:No
such file or directory
pkg-static: Unable to access file
/usr/ports/devel/spark/work/stage/usr/local/share/spark/jars/hive-vector-co=
de-gen-2.3.10.jar:No
such file or directory
*** Error code 1
```

Notice the "2.3.10" version number in the file names.  Listing that "jars" =
work
directory reveals that those JAR files do exist, but with the "2.3.9" versi=
on
number.  So, it appears that the Hive JAR files require Python 3.9.  Any ot=
her
Python version (e.g. 3.10 in my case) causes this installation error.  Besi=
des
that, the building of Apache Spark did complete successfully.

```
ls /usr/ports/devel/spark/work/stage/usr/local/share/spark/jars

**SHORTENED FOR BREVITIY**

hadoop-yarn-server-web-proxy-3.3.4.jar
HikariCP-2.5.1.jar
hive-beeline-2.3.9.jar
hive-cli-2.3.9.jar
hive-common-2.3.9.jar
hive-exec-2.3.9-core.jar
hive-jdbc-2.3.9.jar
hive-llap-common-2.3.9.jar
hive-metastore-2.3.9.jar
hive-serde-2.3.9.jar
hive-service-rpc-3.1.2.jar
hive-shims-0.23-2.3.9.jar
hive-shims-2.3.9.jar
hive-shims-common-2.3.9.jar
hive-shims-scheduler-2.3.9.jar
hive-storage-api-2.7.2.jar
hive-vector-code-gen-2.3.9.jar
hk2-api-2.6.1.jar
```

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280333-7788>