Bug 246081 - [NEW PORT] databases/cassandra4: Highly scalable distributed database
Summary: [NEW PORT] databases/cassandra4: Highly scalable distributed database
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-01 10:23 UTC by Angelo Polo
Modified: 2020-05-02 19:48 UTC (History)
1 user (show)

See Also:


Attachments
New port shar archive (45.59 KB, text/plain)
2020-05-01 10:23 UTC, Angelo Polo
no flags Details
Shar with updated master site (45.59 KB, text/plain)
2020-05-01 21:19 UTC, Angelo Polo
no flags Details
Moves doc-gen logging to work dir (45.64 KB, text/plain)
2020-05-02 11:45 UTC, Angelo Polo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Angelo Polo 2020-05-01 10:23:34 UTC
Created attachment 213981 [details]
New port shar archive

New port for Apache Cassandra 4.0-alpha4

Apache Cassandra is a free and open-source distributed database.
It is a Java-based, highly scalable, eventually consistent, wide
column store.

The bundled maven archive apache-cassandra-4.0-alpha4-repo.tar.gz that will need to be hosted on LOCAL is available here for manual download:
https://drive.google.com/uc?export=download&confirm=J1uG&id=1zJhYAlFCKIOMx0faJTtNnLGK_tRNLxOE
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2020-05-01 19:13:08 UTC
I put the repo file on LOCAL/pi:repo, but I guess it takes a certain time until it's available via the distcache.
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2020-05-01 19:22:42 UTC
Ah, the distfile is already available.
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2020-05-01 19:59:54 UTC
Testbuild in poudriere:

=>> Checking for filesystem violations... done
=>> Error: Filesystem touched during build:
extra: var/log/cassandra

Any ideas ?
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2020-05-01 20:22:59 UTC
(In reply to Kurt Jaeger from comment #3)

> Any ideas ?

They ran some app-specific command and it wrote some log there.
The location of the log needs to be changed for the duration of the build.
Comment 5 Angelo Polo 2020-05-01 21:18:24 UTC
(In reply to Kurt Jaeger from comment #3)
I'm pretty sure it's being done by the tool generating the docs - am looking into it.
Comment 6 Angelo Polo 2020-05-01 21:19:16 UTC
Created attachment 214008 [details]
Shar with updated master site
Comment 7 Angelo Polo 2020-05-02 11:45:31 UTC
Created attachment 214026 [details]
Moves doc-gen logging to work dir

Fixed the attempted creation of /var/log/cassandra. I've redirected the output of one of the tools used during document generation to a work subdirectory.
Comment 8 Kurt Jaeger freebsd_committer freebsd_triage 2020-05-02 19:48:41 UTC
Committed, thanks!
Comment 9 commit-hook freebsd_committer freebsd_triage 2020-05-02 19:48:47 UTC
A commit references this bug:

Author: pi
Date: Sat May  2 19:48:36 UTC 2020
New revision: 533701
URL: https://svnweb.freebsd.org/changeset/ports/533701

Log:
  New port: databases/cassandra4: Highly scalable distributed database

  Apache Cassandra is a free and open-source distributed database.
  It is a Java-based, highly scalable, eventually consistent, wide
  column store. Cassandra database clusters are masterless with no
  single point of failure. Replication can be configured across
  multiple data centers.

  Originally influenced by Dynamo and BigTable, Cassandra was initially
  developed at and open sourced by Facebook before becoming a top-level
  Apache project.

  The CQL query language offers SQL-like data access and management.
  Drivers are available for a number of languages.

  This is an ALPHA version! It is not intended for production use.

  WWW: https://cassandra.apache.org/

  PR:		246081
  Submitted by:	Angelo Polo <language.devel@gmail.com>
  Reviewed by:	yuri

Changes:
  head/databases/Makefile
  head/databases/cassandra3/Makefile
  head/databases/cassandra4/
  head/databases/cassandra4/Makefile
  head/databases/cassandra4/distinfo
  head/databases/cassandra4/files/cassandra.in
  head/databases/cassandra4/files/patch-bin_cassandra
  head/databases/cassandra4/files/patch-bin_cassandra.in.sh
  head/databases/cassandra4/files/patch-build.xml
  head/databases/cassandra4/files/patch-conf_cassandra-env.sh
  head/databases/cassandra4/files/patch-conf_cassandra.yaml
  head/databases/cassandra4/files/patch-doc_Makefile
  head/databases/cassandra4/files/patch-doc_gen-nodetool-docs.py
  head/databases/cassandra4/files/patch-src_java_org_apache_cassandra_config_Config.java
  head/databases/cassandra4/files/patch-src_java_org_apache_cassandra_service_NativeTransportService.java
  head/databases/cassandra4/files/patch-src_java_org_apache_cassandra_service_StartupChecks.java
  head/databases/cassandra4/files/patch-src_java_org_apache_cassandra_tools_nodetool_Status.java
  head/databases/cassandra4/files/patch-src_java_org_apache_cassandra_utils_FastByteOperations.java
  head/databases/cassandra4/files/patch-src_java_org_apache_cassandra_utils_NativeLibrary.java
  head/databases/cassandra4/files/patch-tools_bin_cassandra.in.sh
  head/databases/cassandra4/pkg-descr
  head/databases/cassandra4/pkg-plist