Re: Unsubscribe
Unsubscribe On Sun, 5 Sept 2021 at 04:09, Mitesh Gupta wrote: > > >
[jira] [Updated] (CASSANDRA-16917) Create property to hold local maven repository location
[ https://issues.apache.org/jira/browse/CASSANDRA-16917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumanth Pasupuleti updated CASSANDRA-16917: --- Fix Version/s: 4.0.x 3.11.x 3.0.x > Create property to hold local maven repository location > --- > > Key: CASSANDRA-16917 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16917 > Project: Cassandra > Issue Type: Improvement > Components: Build >Reporter: Sumanth Pasupuleti >Assignee: Sumanth Pasupuleti >Priority: Normal > Fix For: 3.0.x, 3.11.x, 4.0.x > > > In their current state, both build.xml and .build/build-resolver.xml refer to > the local maven repository by "${user.home}/.m2/repository" in multiple > places. > It would be nice instead to have a property store this location, and refer > the property vs the actual location itself. > If one needs to change this maven repository location for their environmental > purposes, this change makes it easy since it will need to be changed only at > one place (the value of the property) vs changing all the direct references > to the repository location. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-16917) Create property to hold local maven repository location
[ https://issues.apache.org/jira/browse/CASSANDRA-16917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumanth Pasupuleti updated CASSANDRA-16917: --- Component/s: Build > Create property to hold local maven repository location > --- > > Key: CASSANDRA-16917 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16917 > Project: Cassandra > Issue Type: Improvement > Components: Build >Reporter: Sumanth Pasupuleti >Assignee: Sumanth Pasupuleti >Priority: Normal > > In their current state, both build.xml and .build/build-resolver.xml refer to > the local maven repository by "${user.home}/.m2/repository" in multiple > places. > It would be nice instead to have a property store this location, and refer > the property vs the actual location itself. > If one needs to change this maven repository location for their environmental > purposes, this change makes it easy since it will need to be changed only at > one place (the value of the property) vs changing all the direct references > to the repository location. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-16917) Create property to hold local maven repository location
[ https://issues.apache.org/jira/browse/CASSANDRA-16917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17409985#comment-17409985 ] Sumanth Pasupuleti commented on CASSANDRA-16917: Patches [Trunk|https://github.com/apache/cassandra/compare/trunk...sumanth-pasupuleti:feature/trunk_property_for_local_repository] [4.0|https://github.com/apache/cassandra/compare/cassandra-4.0...sumanth-pasupuleti:feature/40_property_for_local_repository] [3.11|https://github.com/apache/cassandra/compare/cassandra-3.11...sumanth-pasupuleti:feature/311_property_for_local_repository] [3.0|https://github.com/apache/cassandra/compare/cassandra-3.11...sumanth-pasupuleti:feature/30_property_for_local_repository] > Create property to hold local maven repository location > --- > > Key: CASSANDRA-16917 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16917 > Project: Cassandra > Issue Type: Improvement >Reporter: Sumanth Pasupuleti >Assignee: Sumanth Pasupuleti >Priority: Normal > > In their current state, both build.xml and .build/build-resolver.xml refer to > the local maven repository by "${user.home}/.m2/repository" in multiple > places. > It would be nice instead to have a property store this location, and refer > the property vs the actual location itself. > If one needs to change this maven repository location for their environmental > purposes, this change makes it easy since it will need to be changed only at > one place (the value of the property) vs changing all the direct references > to the repository location. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Created] (CASSANDRA-16917) Create property to hold local maven repository location
Sumanth Pasupuleti created CASSANDRA-16917: -- Summary: Create property to hold local maven repository location Key: CASSANDRA-16917 URL: https://issues.apache.org/jira/browse/CASSANDRA-16917 Project: Cassandra Issue Type: Improvement Reporter: Sumanth Pasupuleti Assignee: Sumanth Pasupuleti In their current state, both build.xml and .build/build-resolver.xml refer to the local maven repository by "${user.home}/.m2/repository" in multiple places. It would be nice instead to have a property store this location, and refer the property vs the actual location itself. If one needs to change this maven repository location for their environmental purposes, this change makes it easy since it will need to be changed only at one place (the value of the property) vs changing all the direct references to the repository location. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15446) Per-thread stack size is too small on aarch64 CentOS
[ https://issues.apache.org/jira/browse/CASSANDRA-15446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17409973#comment-17409973 ] Brandon Williams commented on CASSANDRA-15446: -- I believe the ld method is slightly different from the others, in that it reports the system architecture, not the machine architecture. This is probably not as relevant for arm as it is for x86/amd64/i686, but worth noting since it gives the most correct answer for our purpose. > Per-thread stack size is too small on aarch64 CentOS > > > Key: CASSANDRA-15446 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15446 > Project: Cassandra > Issue Type: Bug > Components: Local/Config, Local/Startup and Shutdown >Reporter: Heming Fu >Assignee: Michael Semb Wever >Priority: Normal > Fix For: 4.0.x, 4.x > > > Hi all, > I found an issue when I tried to start cassandra on my aarch64 CentOS7.6, > however no errors on Ubuntu. Of course I could increase -Xss in jvm.options > to fix it, but this issue also caused Cassandra's docker images from docker > hub could not run containers on this OS. > The information of my current environment and root cause of this issue were > shown below. > *Error* > The stack size specified is too small, Specify at least 328k > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > *Version* > Cassandra 2.1.21 2.2.15 3.0.19 3.11.5 > *Environment* > $ lscpu > Architecture: aarch64 > Byte Order: Little Endian > $ uname -m > aarch64 > $ java -version > openjdk version "1.8.0_181" > OpenJDK Runtime Environment (build 1.8.0_181-b13) > OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode) > [root@localhost apache-cassandra-3.11.5]# cat /etc/os-release > $ cat /etc/os-release > NAME="CentOS Linux" > VERSION="7 (AltArch)" > ID="centos" > ID_LIKE="rhel fedora" > VERSION_ID="7" > PRETTY_NAME="CentOS Linux 7 (AltArch)" > ANSI_COLOR="0;31" > CPE_NAME="cpe:/o:centos:centos:7" > HOME_URL="https://www.centos.org/"; > BUG_REPORT_URL="https://bugs.centos.org/"; > *Root Cause* > Checked openjdk-1.8.0 source code, the min stack size is calculated by > StackYellowPage, StackRedPage, StackShadowPage, OS page size. Among those > parameters, *default OS page size of aarch64 CentOS 7.6 is 64K, however > aarch64 Ubuntu 18.04 and X86 CentOS are both 4K.* > This difference causes JVM on aarch64 Ubuntu 18.04 needs 164K per-thread > stack size, but 328K required on aarch64 CentOS 7.6. > The formula is > os::Linux::min_stack_allowed = MAX2(os::Linux::min_stack_allowed, > (size_t)(StackYellowPages+StackRedPages+StackShadowPages) * > Linux::page_size() + > (2*BytesPerWord COMPILER2_PRESENT(+1)) * Linux::vm_default_page_size()); > *Parameters on aarch64 CentOS7.6* > intx StackRedPages = 1 > intx StackShadowPages = 1 > intx StackYellowPages = 1 > pageSize 64K > BytesPerWord 8 > vm_default_page_size 8K > As a result, we have min_stack_allowed = (1 + 1 + 1) * 64K + (2 * 8 + 1) * 8K > = 328K > > I could see some similar issues asked for specified achitecture, but no root > cause analyzed. I hope this could help you decide proper stack size for all > common OS. > If you have any suggestion, pls let me know. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-16890) WEBSITE - Remove section with company logos from homepage
[ https://issues.apache.org/jira/browse/CASSANDRA-16890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17409967#comment-17409967 ] Michael Semb Wever commented on CASSANDRA-16890: [~mayurp7], can you email me on m...@apache.org, then i'll be able to send you the invite. > WEBSITE - Remove section with company logos from homepage > - > > Key: CASSANDRA-16890 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16890 > Project: Cassandra > Issue Type: Task > Components: Documentation/Website >Reporter: Erick Ramirez >Assignee: Paul Au >Priority: Normal > Fix For: 4.0.x > > > [~mck] advised that the company logos on the homepage are a breach of ASF > policy so will need to be removed. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15446) Per-thread stack size is too small on aarch64 CentOS
[ https://issues.apache.org/jira/browse/CASSANDRA-15446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17409966#comment-17409966 ] Michael Semb Wever commented on CASSANDRA-15446: I can think of the following {code} # require GNU coreutils arch uname -m # works inside chroot file -Lb /usr/bin/ld | cut -d, -f2 {code} > Per-thread stack size is too small on aarch64 CentOS > > > Key: CASSANDRA-15446 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15446 > Project: Cassandra > Issue Type: Bug > Components: Local/Config, Local/Startup and Shutdown >Reporter: Heming Fu >Assignee: Michael Semb Wever >Priority: Normal > Fix For: 4.0.x, 4.x > > > Hi all, > I found an issue when I tried to start cassandra on my aarch64 CentOS7.6, > however no errors on Ubuntu. Of course I could increase -Xss in jvm.options > to fix it, but this issue also caused Cassandra's docker images from docker > hub could not run containers on this OS. > The information of my current environment and root cause of this issue were > shown below. > *Error* > The stack size specified is too small, Specify at least 328k > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > *Version* > Cassandra 2.1.21 2.2.15 3.0.19 3.11.5 > *Environment* > $ lscpu > Architecture: aarch64 > Byte Order: Little Endian > $ uname -m > aarch64 > $ java -version > openjdk version "1.8.0_181" > OpenJDK Runtime Environment (build 1.8.0_181-b13) > OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode) > [root@localhost apache-cassandra-3.11.5]# cat /etc/os-release > $ cat /etc/os-release > NAME="CentOS Linux" > VERSION="7 (AltArch)" > ID="centos" > ID_LIKE="rhel fedora" > VERSION_ID="7" > PRETTY_NAME="CentOS Linux 7 (AltArch)" > ANSI_COLOR="0;31" > CPE_NAME="cpe:/o:centos:centos:7" > HOME_URL="https://www.centos.org/"; > BUG_REPORT_URL="https://bugs.centos.org/"; > *Root Cause* > Checked openjdk-1.8.0 source code, the min stack size is calculated by > StackYellowPage, StackRedPage, StackShadowPage, OS page size. Among those > parameters, *default OS page size of aarch64 CentOS 7.6 is 64K, however > aarch64 Ubuntu 18.04 and X86 CentOS are both 4K.* > This difference causes JVM on aarch64 Ubuntu 18.04 needs 164K per-thread > stack size, but 328K required on aarch64 CentOS 7.6. > The formula is > os::Linux::min_stack_allowed = MAX2(os::Linux::min_stack_allowed, > (size_t)(StackYellowPages+StackRedPages+StackShadowPages) * > Linux::page_size() + > (2*BytesPerWord COMPILER2_PRESENT(+1)) * Linux::vm_default_page_size()); > *Parameters on aarch64 CentOS7.6* > intx StackRedPages = 1 > intx StackShadowPages = 1 > intx StackYellowPages = 1 > pageSize 64K > BytesPerWord 8 > vm_default_page_size 8K > As a result, we have min_stack_allowed = (1 + 1 + 1) * 64K + (2 * 8 + 1) * 8K > = 328K > > I could see some similar issues asked for specified achitecture, but no root > cause analyzed. I hope this could help you decide proper stack size for all > common OS. > If you have any suggestion, pls let me know. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Comment Edited] (CASSANDRA-16890) WEBSITE - Remove section with company logos from homepage
[ https://issues.apache.org/jira/browse/CASSANDRA-16890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17409965#comment-17409965 ] Mayur Patil edited comment on CASSANDRA-16890 at 9/4/21, 1:26 PM: -- Hi, Can anyone please invite me to ASF slack channel as *docs contributor?* Thanks ! was (Author: mayurp7): Hi, Anyone please invite me to ASF slack channel as *docs contributor?* Thanks ! > WEBSITE - Remove section with company logos from homepage > - > > Key: CASSANDRA-16890 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16890 > Project: Cassandra > Issue Type: Task > Components: Documentation/Website >Reporter: Erick Ramirez >Assignee: Paul Au >Priority: Normal > Fix For: 4.0.x > > > [~mck] advised that the company logos on the homepage are a breach of ASF > policy so will need to be removed. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-16890) WEBSITE - Remove section with company logos from homepage
[ https://issues.apache.org/jira/browse/CASSANDRA-16890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17409965#comment-17409965 ] Mayur Patil commented on CASSANDRA-16890: - Hi, Anyone please invite me to ASF slack channel as *docs contributor?* Thanks ! > WEBSITE - Remove section with company logos from homepage > - > > Key: CASSANDRA-16890 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16890 > Project: Cassandra > Issue Type: Task > Components: Documentation/Website >Reporter: Erick Ramirez >Assignee: Paul Au >Priority: Normal > Fix For: 4.0.x > > > [~mck] advised that the company logos on the homepage are a breach of ASF > policy so will need to be removed. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15446) Per-thread stack size is too small on aarch64 CentOS
[ https://issues.apache.org/jira/browse/CASSANDRA-15446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17409956#comment-17409956 ] Brandon Williams commented on CASSANDRA-15446: -- We could add some shell logic to detect the arch and adjust the stack from there. > Per-thread stack size is too small on aarch64 CentOS > > > Key: CASSANDRA-15446 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15446 > Project: Cassandra > Issue Type: Bug > Components: Local/Config, Local/Startup and Shutdown >Reporter: Heming Fu >Assignee: Michael Semb Wever >Priority: Normal > Fix For: 4.0.x, 4.x > > > Hi all, > I found an issue when I tried to start cassandra on my aarch64 CentOS7.6, > however no errors on Ubuntu. Of course I could increase -Xss in jvm.options > to fix it, but this issue also caused Cassandra's docker images from docker > hub could not run containers on this OS. > The information of my current environment and root cause of this issue were > shown below. > *Error* > The stack size specified is too small, Specify at least 328k > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > *Version* > Cassandra 2.1.21 2.2.15 3.0.19 3.11.5 > *Environment* > $ lscpu > Architecture: aarch64 > Byte Order: Little Endian > $ uname -m > aarch64 > $ java -version > openjdk version "1.8.0_181" > OpenJDK Runtime Environment (build 1.8.0_181-b13) > OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode) > [root@localhost apache-cassandra-3.11.5]# cat /etc/os-release > $ cat /etc/os-release > NAME="CentOS Linux" > VERSION="7 (AltArch)" > ID="centos" > ID_LIKE="rhel fedora" > VERSION_ID="7" > PRETTY_NAME="CentOS Linux 7 (AltArch)" > ANSI_COLOR="0;31" > CPE_NAME="cpe:/o:centos:centos:7" > HOME_URL="https://www.centos.org/"; > BUG_REPORT_URL="https://bugs.centos.org/"; > *Root Cause* > Checked openjdk-1.8.0 source code, the min stack size is calculated by > StackYellowPage, StackRedPage, StackShadowPage, OS page size. Among those > parameters, *default OS page size of aarch64 CentOS 7.6 is 64K, however > aarch64 Ubuntu 18.04 and X86 CentOS are both 4K.* > This difference causes JVM on aarch64 Ubuntu 18.04 needs 164K per-thread > stack size, but 328K required on aarch64 CentOS 7.6. > The formula is > os::Linux::min_stack_allowed = MAX2(os::Linux::min_stack_allowed, > (size_t)(StackYellowPages+StackRedPages+StackShadowPages) * > Linux::page_size() + > (2*BytesPerWord COMPILER2_PRESENT(+1)) * Linux::vm_default_page_size()); > *Parameters on aarch64 CentOS7.6* > intx StackRedPages = 1 > intx StackShadowPages = 1 > intx StackYellowPages = 1 > pageSize 64K > BytesPerWord 8 > vm_default_page_size 8K > As a result, we have min_stack_allowed = (1 + 1 + 1) * 64K + (2 * 8 + 1) * 8K > = 328K > > I could see some similar issues asked for specified achitecture, but no root > cause analyzed. I hope this could help you decide proper stack size for all > common OS. > If you have any suggestion, pls let me know. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-15446) Per-thread stack size is too small on aarch64 CentOS
[ https://issues.apache.org/jira/browse/CASSANDRA-15446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-15446: --- Reviewers: David Capwell, Michael Semb Wever Status: Review In Progress (was: Patch Available) > Per-thread stack size is too small on aarch64 CentOS > > > Key: CASSANDRA-15446 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15446 > Project: Cassandra > Issue Type: Bug > Components: Local/Config, Local/Startup and Shutdown >Reporter: Heming Fu >Assignee: Michael Semb Wever >Priority: Normal > Fix For: 4.0.x, 4.x > > > Hi all, > I found an issue when I tried to start cassandra on my aarch64 CentOS7.6, > however no errors on Ubuntu. Of course I could increase -Xss in jvm.options > to fix it, but this issue also caused Cassandra's docker images from docker > hub could not run containers on this OS. > The information of my current environment and root cause of this issue were > shown below. > *Error* > The stack size specified is too small, Specify at least 328k > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > *Version* > Cassandra 2.1.21 2.2.15 3.0.19 3.11.5 > *Environment* > $ lscpu > Architecture: aarch64 > Byte Order: Little Endian > $ uname -m > aarch64 > $ java -version > openjdk version "1.8.0_181" > OpenJDK Runtime Environment (build 1.8.0_181-b13) > OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode) > [root@localhost apache-cassandra-3.11.5]# cat /etc/os-release > $ cat /etc/os-release > NAME="CentOS Linux" > VERSION="7 (AltArch)" > ID="centos" > ID_LIKE="rhel fedora" > VERSION_ID="7" > PRETTY_NAME="CentOS Linux 7 (AltArch)" > ANSI_COLOR="0;31" > CPE_NAME="cpe:/o:centos:centos:7" > HOME_URL="https://www.centos.org/"; > BUG_REPORT_URL="https://bugs.centos.org/"; > *Root Cause* > Checked openjdk-1.8.0 source code, the min stack size is calculated by > StackYellowPage, StackRedPage, StackShadowPage, OS page size. Among those > parameters, *default OS page size of aarch64 CentOS 7.6 is 64K, however > aarch64 Ubuntu 18.04 and X86 CentOS are both 4K.* > This difference causes JVM on aarch64 Ubuntu 18.04 needs 164K per-thread > stack size, but 328K required on aarch64 CentOS 7.6. > The formula is > os::Linux::min_stack_allowed = MAX2(os::Linux::min_stack_allowed, > (size_t)(StackYellowPages+StackRedPages+StackShadowPages) * > Linux::page_size() + > (2*BytesPerWord COMPILER2_PRESENT(+1)) * Linux::vm_default_page_size()); > *Parameters on aarch64 CentOS7.6* > intx StackRedPages = 1 > intx StackShadowPages = 1 > intx StackYellowPages = 1 > pageSize 64K > BytesPerWord 8 > vm_default_page_size 8K > As a result, we have min_stack_allowed = (1 + 1 + 1) * 64K + (2 * 8 + 1) * 8K > = 328K > > I could see some similar issues asked for specified achitecture, but no root > cause analyzed. I hope this could help you decide proper stack size for all > common OS. > If you have any suggestion, pls let me know. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-15446) Per-thread stack size is too small on aarch64 CentOS
[ https://issues.apache.org/jira/browse/CASSANDRA-15446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-15446: --- Fix Version/s: (was: 3.11.x) > Per-thread stack size is too small on aarch64 CentOS > > > Key: CASSANDRA-15446 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15446 > Project: Cassandra > Issue Type: Bug > Components: Local/Config, Local/Startup and Shutdown >Reporter: Heming Fu >Assignee: Michael Semb Wever >Priority: Normal > Fix For: 4.0.x, 4.x > > > Hi all, > I found an issue when I tried to start cassandra on my aarch64 CentOS7.6, > however no errors on Ubuntu. Of course I could increase -Xss in jvm.options > to fix it, but this issue also caused Cassandra's docker images from docker > hub could not run containers on this OS. > The information of my current environment and root cause of this issue were > shown below. > *Error* > The stack size specified is too small, Specify at least 328k > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > *Version* > Cassandra 2.1.21 2.2.15 3.0.19 3.11.5 > *Environment* > $ lscpu > Architecture: aarch64 > Byte Order: Little Endian > $ uname -m > aarch64 > $ java -version > openjdk version "1.8.0_181" > OpenJDK Runtime Environment (build 1.8.0_181-b13) > OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode) > [root@localhost apache-cassandra-3.11.5]# cat /etc/os-release > $ cat /etc/os-release > NAME="CentOS Linux" > VERSION="7 (AltArch)" > ID="centos" > ID_LIKE="rhel fedora" > VERSION_ID="7" > PRETTY_NAME="CentOS Linux 7 (AltArch)" > ANSI_COLOR="0;31" > CPE_NAME="cpe:/o:centos:centos:7" > HOME_URL="https://www.centos.org/"; > BUG_REPORT_URL="https://bugs.centos.org/"; > *Root Cause* > Checked openjdk-1.8.0 source code, the min stack size is calculated by > StackYellowPage, StackRedPage, StackShadowPage, OS page size. Among those > parameters, *default OS page size of aarch64 CentOS 7.6 is 64K, however > aarch64 Ubuntu 18.04 and X86 CentOS are both 4K.* > This difference causes JVM on aarch64 Ubuntu 18.04 needs 164K per-thread > stack size, but 328K required on aarch64 CentOS 7.6. > The formula is > os::Linux::min_stack_allowed = MAX2(os::Linux::min_stack_allowed, > (size_t)(StackYellowPages+StackRedPages+StackShadowPages) * > Linux::page_size() + > (2*BytesPerWord COMPILER2_PRESENT(+1)) * Linux::vm_default_page_size()); > *Parameters on aarch64 CentOS7.6* > intx StackRedPages = 1 > intx StackShadowPages = 1 > intx StackYellowPages = 1 > pageSize 64K > BytesPerWord 8 > vm_default_page_size 8K > As a result, we have min_stack_allowed = (1 + 1 + 1) * 64K + (2 * 8 + 1) * 8K > = 328K > > I could see some similar issues asked for specified achitecture, but no root > cause analyzed. I hope this could help you decide proper stack size for all > common OS. > If you have any suggestion, pls let me know. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15446) Per-thread stack size is too small on aarch64 CentOS
[ https://issues.apache.org/jira/browse/CASSANDRA-15446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17409908#comment-17409908 ] Michael Semb Wever commented on CASSANDRA-15446: bq. i see no harm in making the change in 3.11 I'm back-tracking on that statement, because this change will double memory per thread. > Per-thread stack size is too small on aarch64 CentOS > > > Key: CASSANDRA-15446 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15446 > Project: Cassandra > Issue Type: Bug > Components: Local/Config, Local/Startup and Shutdown >Reporter: Heming Fu >Assignee: Michael Semb Wever >Priority: Normal > Fix For: 4.0.x, 4.x > > > Hi all, > I found an issue when I tried to start cassandra on my aarch64 CentOS7.6, > however no errors on Ubuntu. Of course I could increase -Xss in jvm.options > to fix it, but this issue also caused Cassandra's docker images from docker > hub could not run containers on this OS. > The information of my current environment and root cause of this issue were > shown below. > *Error* > The stack size specified is too small, Specify at least 328k > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > *Version* > Cassandra 2.1.21 2.2.15 3.0.19 3.11.5 > *Environment* > $ lscpu > Architecture: aarch64 > Byte Order: Little Endian > $ uname -m > aarch64 > $ java -version > openjdk version "1.8.0_181" > OpenJDK Runtime Environment (build 1.8.0_181-b13) > OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode) > [root@localhost apache-cassandra-3.11.5]# cat /etc/os-release > $ cat /etc/os-release > NAME="CentOS Linux" > VERSION="7 (AltArch)" > ID="centos" > ID_LIKE="rhel fedora" > VERSION_ID="7" > PRETTY_NAME="CentOS Linux 7 (AltArch)" > ANSI_COLOR="0;31" > CPE_NAME="cpe:/o:centos:centos:7" > HOME_URL="https://www.centos.org/"; > BUG_REPORT_URL="https://bugs.centos.org/"; > *Root Cause* > Checked openjdk-1.8.0 source code, the min stack size is calculated by > StackYellowPage, StackRedPage, StackShadowPage, OS page size. Among those > parameters, *default OS page size of aarch64 CentOS 7.6 is 64K, however > aarch64 Ubuntu 18.04 and X86 CentOS are both 4K.* > This difference causes JVM on aarch64 Ubuntu 18.04 needs 164K per-thread > stack size, but 328K required on aarch64 CentOS 7.6. > The formula is > os::Linux::min_stack_allowed = MAX2(os::Linux::min_stack_allowed, > (size_t)(StackYellowPages+StackRedPages+StackShadowPages) * > Linux::page_size() + > (2*BytesPerWord COMPILER2_PRESENT(+1)) * Linux::vm_default_page_size()); > *Parameters on aarch64 CentOS7.6* > intx StackRedPages = 1 > intx StackShadowPages = 1 > intx StackYellowPages = 1 > pageSize 64K > BytesPerWord 8 > vm_default_page_size 8K > As a result, we have min_stack_allowed = (1 + 1 + 1) * 64K + (2 * 8 + 1) * 8K > = 328K > > I could see some similar issues asked for specified achitecture, but no root > cause analyzed. I hope this could help you decide proper stack size for all > common OS. > If you have any suggestion, pls let me know. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-16766) Development docs are not upto to date
[ https://issues.apache.org/jira/browse/CASSANDRA-16766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17409907#comment-17409907 ] Michael Semb Wever commented on CASSANDRA-16766: Note to include [this change|https://github.com/apache/cassandra/compare/trunk...thelastpickle:mck/15446/3.11#diff-22c03bd3c580d96da64cc1eabbc8cbe97b59a3e04f917353931123ca9f6245af]. > Development docs are not upto to date > - > > Key: CASSANDRA-16766 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16766 > Project: Cassandra > Issue Type: Improvement > Components: Documentation/Website >Reporter: Jogesh Anand >Priority: Normal > Labels: low-hanging-fruit > > The latest developers guide for unit testing isn't accurate > [link|https://cassandra.apache.org/doc/latest/development/testing.html] > For e.g > {code:java} > ant test -Dtest.name= > {code} > isn't valid. It's now > {code:java} > ant testsome -Dtest.name= > {code} > Similarly, we also have `ant long-testsome` & `ant burn-testsome` for e.g. I > would be nice to have these documented as well for developers or users. > AC: > * The website accurately represents all testing scenarios present in > build.xml or otherwise. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-16891) WEBSITE - Update supported versions, mark 2.2 as EOL
[ https://issues.apache.org/jira/browse/CASSANDRA-16891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-16891: --- Fix Version/s: (was: 4.0.x) 4.1 4.0.1 Source Control Link: 1aa8ddc26aecf2a6b9497e854d42f4249781b676 Resolution: Fixed Status: Resolved (was: Ready to Commit) Committed as [1aa8ddc26aecf2a6b9497e854d42f4249781b676|https://github.com/apache/cassandra-website/commit/1aa8ddc26aecf2a6b9497e854d42f4249781b676]. > WEBSITE - Update supported versions, mark 2.2 as EOL > > > Key: CASSANDRA-16891 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16891 > Project: Cassandra > Issue Type: Task > Components: Legacy/Documentation and Website >Reporter: Erick Ramirez >Assignee: Paul Au >Priority: Normal > Fix For: 4.0.1, 4.1 > > Attachments: CASSANDRA-16891-download-page.png > > > The [Download|https://cassandra.apache.org/_/download.html] page incorrectly > lists Cassandra 2.2 as: > {quote}Apache Cassandra 2.2 > Released on 2020-11-04, and supported until 4.1 release (April 2022) with > critical fixes only > {quote} > At this point, only Cassandra 3.0 is supported until the 4.1 release. > > !CASSANDRA-16891-download-page.png|width=300! -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Comment Edited] (CASSANDRA-16889) WEBSITE - August 2021 updates #2
[ https://issues.apache.org/jira/browse/CASSANDRA-16889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17409901#comment-17409901 ] Michael Semb Wever edited comment on CASSANDRA-16889 at 9/4/21, 8:35 AM: - Live with [1aa8ddc26aecf2a6b9497e854d42f4249781b676|https://github.com/apache/cassandra-website/commit/1aa8ddc26aecf2a6b9497e854d42f4249781b676]. was (Author: michaelsembwever): Live with [55229332c68bd8590ebbe6b3cc95fd7f1139dcfc|https://github.com/apache/cassandra-website/commit/55229332c68bd8590ebbe6b3cc95fd7f1139dcfc]. > WEBSITE - August 2021 updates #2 > > > Key: CASSANDRA-16889 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16889 > Project: Cassandra > Issue Type: Task > Components: Documentation/Website >Reporter: Diogenese Topper >Assignee: Paul Au >Priority: Normal > Labels: pull-request-available > Fix For: 4.0.1, 4.1 > > Attachments: Apache Cassandra Antora Site Updates.zip, > case-studies.adoc > > > Updates to be made to the website that include: > * Add blog post: Cassandra-on-Kubernetes-A-Beginners-Guide to pages/blog > * Added Cassandra-on-Kubernetes-A-Beginners-Guide card to blog index > * Changed Urban Airship to Airship on the case studies page > * Changed the contributor meetings learn more link on the community page > * Replace images/companies backblaze.png with the new logo attached with the > same name > * Removed Comcast logo from main page index > * Removed Comcast from case studies page > * Removed Yelp from Apache Cassandra 4.0 is Here blog -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-16889) WEBSITE - August 2021 updates #2
[ https://issues.apache.org/jira/browse/CASSANDRA-16889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-16889: --- Source Control Link: https://github.com/apache/cassandra-website/commit/1aa8ddc26aecf2a6b9497e854d42f4249781b676 (was: https://github.com/apache/cassandra-website/commit/55229332c68bd8590ebbe6b3cc95fd7f1139dcfc) > WEBSITE - August 2021 updates #2 > > > Key: CASSANDRA-16889 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16889 > Project: Cassandra > Issue Type: Task > Components: Documentation/Website >Reporter: Diogenese Topper >Assignee: Paul Au >Priority: Normal > Labels: pull-request-available > Fix For: 4.0.1, 4.1 > > Attachments: Apache Cassandra Antora Site Updates.zip, > case-studies.adoc > > > Updates to be made to the website that include: > * Add blog post: Cassandra-on-Kubernetes-A-Beginners-Guide to pages/blog > * Added Cassandra-on-Kubernetes-A-Beginners-Guide card to blog index > * Changed Urban Airship to Airship on the case studies page > * Changed the contributor meetings learn more link on the community page > * Replace images/companies backblaze.png with the new logo attached with the > same name > * Removed Comcast logo from main page index > * Removed Comcast from case studies page > * Removed Yelp from Apache Cassandra 4.0 is Here blog -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-16889) WEBSITE - August 2021 updates #2
[ https://issues.apache.org/jira/browse/CASSANDRA-16889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-16889: --- Fix Version/s: (was: 4.0.x) 4.1 4.0.1 Source Control Link: https://github.com/apache/cassandra-website/commit/55229332c68bd8590ebbe6b3cc95fd7f1139dcfc Resolution: Fixed Status: Resolved (was: Ready to Commit) Live with [55229332c68bd8590ebbe6b3cc95fd7f1139dcfc|https://github.com/apache/cassandra-website/commit/55229332c68bd8590ebbe6b3cc95fd7f1139dcfc]. > WEBSITE - August 2021 updates #2 > > > Key: CASSANDRA-16889 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16889 > Project: Cassandra > Issue Type: Task > Components: Documentation/Website >Reporter: Diogenese Topper >Assignee: Paul Au >Priority: Normal > Labels: pull-request-available > Fix For: 4.0.1, 4.1 > > Attachments: Apache Cassandra Antora Site Updates.zip, > case-studies.adoc > > > Updates to be made to the website that include: > * Add blog post: Cassandra-on-Kubernetes-A-Beginners-Guide to pages/blog > * Added Cassandra-on-Kubernetes-A-Beginners-Guide card to blog index > * Changed Urban Airship to Airship on the case studies page > * Changed the contributor meetings learn more link on the community page > * Replace images/companies backblaze.png with the new logo attached with the > same name > * Removed Comcast logo from main page index > * Removed Comcast from case studies page > * Removed Yelp from Apache Cassandra 4.0 is Here blog -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-16889) WEBSITE - August 2021 updates #2
[ https://issues.apache.org/jira/browse/CASSANDRA-16889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-16889: --- Status: Ready to Commit (was: Review In Progress) > WEBSITE - August 2021 updates #2 > > > Key: CASSANDRA-16889 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16889 > Project: Cassandra > Issue Type: Task > Components: Documentation/Website >Reporter: Diogenese Topper >Assignee: Paul Au >Priority: Normal > Labels: pull-request-available > Fix For: 4.0.x > > Attachments: Apache Cassandra Antora Site Updates.zip, > case-studies.adoc > > > Updates to be made to the website that include: > * Add blog post: Cassandra-on-Kubernetes-A-Beginners-Guide to pages/blog > * Added Cassandra-on-Kubernetes-A-Beginners-Guide card to blog index > * Changed Urban Airship to Airship on the case studies page > * Changed the contributor meetings learn more link on the community page > * Replace images/companies backblaze.png with the new logo attached with the > same name > * Removed Comcast logo from main page index > * Removed Comcast from case studies page > * Removed Yelp from Apache Cassandra 4.0 is Here blog -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-16889) WEBSITE - August 2021 updates #2
[ https://issues.apache.org/jira/browse/CASSANDRA-16889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-16889: --- Test and Documentation Plan: Verify updates to static pages. staging. was:Verify updates to static pages Status: Patch Available (was: Open) > WEBSITE - August 2021 updates #2 > > > Key: CASSANDRA-16889 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16889 > Project: Cassandra > Issue Type: Task > Components: Documentation/Website >Reporter: Diogenese Topper >Assignee: Paul Au >Priority: Normal > Labels: pull-request-available > Fix For: 4.0.x > > Attachments: Apache Cassandra Antora Site Updates.zip, > case-studies.adoc > > > Updates to be made to the website that include: > * Add blog post: Cassandra-on-Kubernetes-A-Beginners-Guide to pages/blog > * Added Cassandra-on-Kubernetes-A-Beginners-Guide card to blog index > * Changed Urban Airship to Airship on the case studies page > * Changed the contributor meetings learn more link on the community page > * Replace images/companies backblaze.png with the new logo attached with the > same name > * Removed Comcast logo from main page index > * Removed Comcast from case studies page > * Removed Yelp from Apache Cassandra 4.0 is Here blog -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-16889) WEBSITE - August 2021 updates #2
[ https://issues.apache.org/jira/browse/CASSANDRA-16889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-16889: --- Status: Review In Progress (was: Patch Available) > WEBSITE - August 2021 updates #2 > > > Key: CASSANDRA-16889 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16889 > Project: Cassandra > Issue Type: Task > Components: Documentation/Website >Reporter: Diogenese Topper >Assignee: Paul Au >Priority: Normal > Labels: pull-request-available > Fix For: 4.0.x > > Attachments: Apache Cassandra Antora Site Updates.zip, > case-studies.adoc > > > Updates to be made to the website that include: > * Add blog post: Cassandra-on-Kubernetes-A-Beginners-Guide to pages/blog > * Added Cassandra-on-Kubernetes-A-Beginners-Guide card to blog index > * Changed Urban Airship to Airship on the case studies page > * Changed the contributor meetings learn more link on the community page > * Replace images/companies backblaze.png with the new logo attached with the > same name > * Removed Comcast logo from main page index > * Removed Comcast from case studies page > * Removed Yelp from Apache Cassandra 4.0 is Here blog -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra-website] branch asf-site updated (5dc53ee -> 5522933)
This is an automated email from the ASF dual-hosted git repository. mck pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/cassandra-website.git. from 5dc53ee ninja-fix: hack in /Cassandra/ to /doc/ redirect add 1aa8ddc latest staging generation for final reviews on CASSANDRA-16066 and CASSANDRA-16762 add 5522933 remove old index.html No new revisions were added by this update. Summary of changes: content/_/_images/companies/backblaze.png | Bin 15498 -> 14511 bytes content/_/apachecon_cfp.html | 48 +- content/_/blog.html| 72 +- content/_/blog/Apache-Cassandra-4.0-Overview.html | 54 +- content/_/blog/Apache-Cassandra-4.0-is-Here.html | 54 +- .../Apache-Cassandra-Changelog-1-October-2020.html | 52 +- ...Apache-Cassandra-Changelog-2-December-2020.html | 52 +- .../Apache-Cassandra-Changelog-3-January-2021.html | 52 +- ...Apache-Cassandra-Changelog-4-February-2021.html | 52 +- .../Apache-Cassandra-Changelog-5-March-2021.html | 52 +- .../Apache-Cassandra-Changelog-6-April-2021.html | 52 +- .../Apache-Cassandra-Changelog-7-May-2021.html | 54 +- .../Apache-Cassandra-Changelog-8-June-2021.html| 56 +- .../Apache-Cassandra-Changelog-9-August-2021.html | 52 +- .../_/blog/Apache-Cassandra-Usage-Report-2020.html | 50 +- .../blog/Audit-Logging-in-Apache-Cassandra-4.html | 50 +- .../Cassandra-and-Kubernetes-SIG-Update-2.html | 50 +- ...andra-and-Kubernetes-SIG-Update-and-Survey.html | 50 +- ...Cassandra-on-Kubernetes-A-Beginners-Guide.html} | 154 ++-- ...ty-with-5x-Faster-Streaming-in-Cassandra-4.html | 50 +- ...ra's-Internals-with-Property-based-Testing.html | 50 +- ...-Zero-Copy-Streaming-in-Apache-Cassandra-4.html | 50 +- ...che-Cassandras-Front-Door-and-Backpressure.html | 50 +- ...assandra-4-Beta-Battle-Tested-From-Day-One.html | 52 +- .../_/blog/Introducing-Transient-Replication.html | 50 +- content/_/blog/Join-Cassandra-GSoC-2021.html | 52 +- ...ced-for-April-28-Cassandra-4.0-World-Party.html | 50 +- ...nced-for-April-28-Cassandra-40-World-Party.html | 50 +- content/_/blog/Testing-Apache-Cassandra-4.html | 50 +- content/_/blog/Upgrade-Advisory.html | 50 +- content/_/blog/World-Party.html| 50 +- content/_/bugs.html| 48 +- content/_/case-studies.html| 126 ++-- content/_/case-studies/backblaze.html | 48 +- content/_/cassandra-basics.html| 48 +- content/_/community.html | 52 +- content/_/contactus.html | 48 +- content/_/development/ci.html | 48 +- content/_/development/code_style.html | 48 +- content/_/development/dependencies.html| 48 +- content/_/development/documentation.html | 52 +- content/_/development/gettingstarted.html | 48 +- content/_/development/how_to_commit.html | 48 +- content/_/development/how_to_review.html | 48 +- content/_/development/ide.html | 48 +- content/_/development/index.html | 52 +- content/_/development/patches.html | 48 +- content/_/development/release_process.html | 48 +- content/_/development/testing.html | 48 +- content/_/docdev/index.html| 48 +- content/_/download.html| 58 +- content/_/ecosystem.html | 48 +- content/_/glossary.html| 48 +- content/_/index.html | 65 +- content/_/native_protocol.html | 48 +- content/_/quickstart.html | 48 +- content/_/resources.html | 48 +- content/_/third-party.html | 48 +- content/index.html | 357 - content/search-index.js| 2 +- content/sitemap-Cassandra.xml | 840 ++--- content/sitemap-_.xml | 116 +-- 62 files changed, 1990 insertions(+), 2398 deletions(-) copy content/_/blog/{Apache-Cassandra-Changelog-3-January-2021.html => Cassandra-on-Kubernetes-A-Beginners-Guide.html} (53%) delete mode 100644 content/index.html - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org