Cassandra 4.0 (Trunk) - "ant artifacts" does not create binary tarball
Hello, I'm trying to start with some first C* 4.0 experiments, thus tried to locally build and create binary tarball artifcats. While this has worked e.g. with 3.11, I can't create a binary tarball for 4.0 anymore. What I did locally: * Switched from branch cassandra-3.11 to trunk * ant realclean * ant artifacts I get the apache-cassandra-4.0-SNAPSHOT.jar created but no binary tarball. End of "ant artifacts" console output is: [javadoc] * the compaction strategy placement reflect most up-to-date disk boundaries, call {@link this#maybeReloadDiskBoundaries()} [javadoc] ^ [javadoc] Building index for all the packages and classes... [javadoc] Building index for all classes... [javadoc] Generating C:\workspaces\git\cassandra\build\javadoc\help-doc.html... [javadoc] 92 errors [javadoc] 100 warnings gen-doc: [exec] [exec] The 'sphinx-build' command was not found. Make sure you have Sphinx [exec] installed, then set the SPHINXBUILD environment variable to point [exec] to the full path of the 'sphinx-build' executable. Alternatively you [exec] may add the Sphinx directory to PATH. [exec] [exec] If you don't have Sphinx installed, grab it from [exec] http://sphinx-doc.org/ [exec] Result: 1 artifacts: BUILD SUCCESSFUL Total time: 3 minutes 14 seconds Thanks, Thomas The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. Dynatrace Austria GmbH (registration number FN 91482h) is a company registered in Linz whose registered office is at 4040 Linz, Austria, Freist?dterstra?e 313
Re: Cassandra 4.0 (Trunk) - "ant artifacts" does not create binary tarball
In trunk you need to provide JAVA_HOME to both java8 and java11, like this for example; $ JAVA8_HOME= JAVA_HOME= ant artifacts /Marcus On Mon, Nov 12, 2018 at 09:21:10AM +, Steinmaurer, Thomas wrote: > Hello, > > I'm trying to start with some first C* 4.0 experiments, thus tried to locally > build and create binary tarball artifcats. While this has worked e.g. with > 3.11, I can't create a binary tarball for 4.0 anymore. > > What I did locally: > * Switched from branch cassandra-3.11 to trunk > * ant realclean > * ant artifacts > > I get the apache-cassandra-4.0-SNAPSHOT.jar created but no binary tarball. > > End of "ant artifacts" console output is: > > [javadoc] * the compaction strategy placement reflect most up-to-date disk > boundaries, call {@link this#maybeReloadDiskBoundaries()} > [javadoc] > ^ > [javadoc] Building index for all the packages and classes... > [javadoc] Building index for all classes... > [javadoc] Generating > C:\workspaces\git\cassandra\build\javadoc\help-doc.html... > [javadoc] 92 errors > [javadoc] 100 warnings > > gen-doc: > [exec] > [exec] The 'sphinx-build' command was not found. Make sure you have > Sphinx > [exec] installed, then set the SPHINXBUILD environment variable to point > [exec] to the full path of the 'sphinx-build' executable. Alternatively > you > [exec] may add the Sphinx directory to PATH. > [exec] > [exec] If you don't have Sphinx installed, grab it from > [exec] http://sphinx-doc.org/ > [exec] Result: 1 > > artifacts: > > BUILD SUCCESSFUL > Total time: 3 minutes 14 seconds > > > Thanks, > Thomas > > The contents of this e-mail are intended for the named addressee only. It > contains information that may be confidential. Unless you are the named > addressee or an authorized designee, you may not copy or use it, or disclose > it to anyone else. If you received it in error please notify us immediately > and then destroy it. Dynatrace Austria GmbH (registration number FN 91482h) > is a company registered in Linz whose registered office is at 4040 Linz, > Austria, Freist?dterstra?e 313 - To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org For additional commands, e-mail: dev-h...@cassandra.apache.org
RE: Cassandra 4.0 (Trunk) - "ant artifacts" does not create binary tarball
Marcus, that did the trick. Thx a lot. T. > -Original Message- > From: Marcus Eriksson > Sent: Montag, 12. November 2018 10:31 > To: dev@cassandra.apache.org > Subject: Re: Cassandra 4.0 (Trunk) - "ant artifacts" does not create binary > tarball > > In trunk you need to provide JAVA_HOME to both java8 and java11, like this > for example; > > $ JAVA8_HOME= JAVA_HOME= ant artifacts > > /Marcus > > On Mon, Nov 12, 2018 at 09:21:10AM +, Steinmaurer, Thomas wrote: > > Hello, > > > > I'm trying to start with some first C* 4.0 experiments, thus tried to > > locally > build and create binary tarball artifcats. While this has worked e.g. with > 3.11, I > can't create a binary tarball for 4.0 anymore. > > > > What I did locally: > > * Switched from branch cassandra-3.11 to trunk > > * ant realclean > > * ant artifacts > > > > I get the apache-cassandra-4.0-SNAPSHOT.jar created but no binary tarball. > > > > End of "ant artifacts" console output is: > > > > [javadoc] * the compaction strategy placement reflect most up-to-date > disk boundaries, call {@link this#maybeReloadDiskBoundaries()} > > [javadoc] > >^ > > [javadoc] Building index for all the packages and classes... > > [javadoc] Building index for all classes... > > [javadoc] Generating C:\workspaces\git\cassandra\build\javadoc\help- > doc.html... > > [javadoc] 92 errors > > [javadoc] 100 warnings > > > > gen-doc: > > [exec] > > [exec] The 'sphinx-build' command was not found. Make sure you have > Sphinx > > [exec] installed, then set the SPHINXBUILD environment variable to > point > > [exec] to the full path of the 'sphinx-build' executable. > > Alternatively you > > [exec] may add the Sphinx directory to PATH. > > [exec] > > [exec] If you don't have Sphinx installed, grab it from > > [exec] > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsphinx- > doc.org%2F&data=01%7C01%7Cthomas.steinmaurer%40dynatrace.com > %7C03eca1f6cc28486eb1b708d648828988%7C70ebe3a35b30435d9d677716d7 > 4ca190%7C1&sdata=tQAjTlSRkHXB5m3760%2BmcduWkgBFKTdFBHCc7S > RNR%2FQ%3D&reserved=0 > > [exec] Result: 1 > > > > artifacts: > > > > BUILD SUCCESSFUL > > Total time: 3 minutes 14 seconds > > > > > > Thanks, > > Thomas > > > > The contents of this e-mail are intended for the named addressee only. It > contains information that may be confidential. Unless you are the named > addressee or an authorized designee, you may not copy or use it, or disclose > it to anyone else. If you received it in error please notify us immediately > and > then destroy it. Dynatrace Austria GmbH (registration number FN 91482h) is a > company registered in Linz whose registered office is at 4040 Linz, Austria, > Freist?dterstra?e 313 > > - > To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org > For additional commands, e-mail: dev-h...@cassandra.apache.org The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. Dynatrace Austria GmbH (registration number FN 91482h) is a company registered in Linz whose registered office is at 4040 Linz, Austria, Freistädterstraße 313
Cassandra 4.0 on Windows 10 crashing upon startup with Java 11
Hello, on Windows 10, Cassandra 4.0 (trunk Nov 12) is crashing upon startup with Java 11, SIGAR related. Startup with Java8 works fine. Is this a known issue? First part of the hs_err_pid file. # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x10014ed4, pid=14472, tid=13316 # # JRE version: OpenJDK Runtime Environment (11.0.1+13) (build 11.0.1+13) # Java VM: OpenJDK 64-Bit Server VM (11.0.1+13, mixed mode, tiered, compressed oops, concurrent mark sweep gc, windows-amd64) # Problematic frame: # C [sigar-amd64-winnt.dll+0x14ed4] # # No core dump will be written. Minidumps are not enabled by default on client versions of Windows # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # --- S U M M A R Y ... Host: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 4 cores, 15G, Windows 10 , 64 bit Build 14393 (10.0.14393.2189) Time: Mon Nov 12 10:49:20 2018 W. Europe Standard Time elapsed time: 9 seconds (0d 0h 0m 9s) --- T H R E A D --- Current thread (0x0239eed02ad0): JavaThread "main" [_thread_in_native, id=13316, stack(0x00a44790,0x00a44794)] Stack: [0x00a44790,0x00a44794], sp=0x00a44793e170, free space=248k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [sigar-amd64-winnt.dll+0x14ed4] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j org.hyperic.sigar.Sigar.getFileSystemListNative()[Lorg/hyperic/sigar/FileSystem;+0 j org.hyperic.sigar.Sigar.getFileSystemList()[Lorg/hyperic/sigar/FileSystem;+1 j org.hyperic.sigar.Sigar.getFileSystemMap()Lorg/hyperic/sigar/FileSystemMap;+19 j org.apache.cassandra.utils.SigarLibrary.()V+79 j org.apache.cassandra.utils.SigarLibrary.()V+4 v ~StubRoutines::call_stub j org.apache.cassandra.service.StartupChecks$7.execute()V+0 j org.apache.cassandra.service.StartupChecks.verify()V+30 j org.apache.cassandra.service.CassandraDaemon.setup()V+41 j org.apache.cassandra.service.CassandraDaemon.activate()V+70 j org.apache.cassandra.service.CassandraDaemon.main([Ljava/lang/String;)V+3 v ~StubRoutines::call_stub siginfo: EXCEPTION_ACCESS_VIOLATION (0xc005), reading address 0xff701d78 Register to memory mapping: RIP=0x10014ed4 sigar-amd64-winnt.dll RAX=0xff701c40 is an unknown value RBX={method} {0x0239ff927e00} 'getFileSystemListNative' '()[Lorg/hyperic/sigar/FileSystem;' in 'org/hyperic/sigar/Sigar' RCX=0x0239eed02e10 points into unknown readable memory RDX=0x00a44793e358 is pointing into the stack for thread: 0x0239eed02ad0 RSP=0x00a44793e170 is pointing into the stack for thread: 0x0239eed02ad0 RBP=0x00a44793e338 is pointing into the stack for thread: 0x0239eed02ad0 RSI=0x0239fb2b6400 is pointing into metadata RDI=0x0017e6e0 is an unknown value R8 =0x0032 is an unknown value R9 = [error occurred during error reporting (printing register info), id 0xc005, EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x7ff908551e26] The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. Dynatrace Austria GmbH (registration number FN 91482h) is a company registered in Linz whose registered office is at 4040 Linz, Austria, Freist?dterstra?e 313
Re: Cassandra 4.0 on Windows 10 crashing upon startup with Java 11
On 11/12/18 4:01 AM, Steinmaurer, Thomas wrote: > Hello, > > on Windows 10, Cassandra 4.0 (trunk Nov 12) is crashing upon startup with > Java 11, SIGAR related. Startup with Java8 works fine. Is this a known issue? > > First part of the hs_err_pid file. > > # > # A fatal error has been detected by the Java Runtime Environment: > # > # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x10014ed4, > pid=14472, tid=13316 > # > # JRE version: OpenJDK Runtime Environment (11.0.1+13) (build 11.0.1+13) > # Java VM: OpenJDK 64-Bit Server VM (11.0.1+13, mixed mode, tiered, > compressed oops, concurrent mark sweep gc, windows-amd64) > # Problematic frame: > # C [sigar-amd64-winnt.dll+0x14ed4] Looks a lot like: https://bugs.openjdk.java.net/browse/JDK-8191547 - closed as Not an Issue with upstream links to: https://github.com/hyperic/sigar/issues/77 https://comm.support.ca.com/kb/devtest-9x-server-component-fails-to-start-error-sigaramd64winntdll0x14ed4/kb41311 Michael - To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org For additional commands, e-mail: dev-h...@cassandra.apache.org