trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ama...@apache.org
Subject [4/5] incubator-trafodion git commit: Cores issues not fixed yet in Trafodion core code
Date Mon, 19 Sep 2016 19:22:50 GMT
Cores issues not fixed yet in Trafodion core code

Installer must change back to max 15 CPU


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/5c1676b3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/5c1676b3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/5c1676b3

Branch: refs/heads/master
Commit: 5c1676b31d7807966a447dfb359d3bb54283e528
Parents: ecde2b7
Author: Amanda Moran <amanda@apache.com>
Authored: Wed Sep 14 18:10:30 2016 +0000
Committer: Amanda Moran <amanda@apache.com>
Committed: Wed Sep 14 18:10:30 2016 +0000

----------------------------------------------------------------------
 install/installer/traf_sqconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/5c1676b3/install/installer/traf_sqconfig
----------------------------------------------------------------------
diff --git a/install/installer/traf_sqconfig b/install/installer/traf_sqconfig
index d90ac90..2065d49 100755
--- a/install/installer/traf_sqconfig
+++ b/install/installer/traf_sqconfig
@@ -44,8 +44,8 @@ rm $sqconfig &> /dev/null
 cores=$(lscpu | grep "CPU(s) list" | awk '{print $4}' | sed -e "s@,@-@" )
 maxCores=`echo $cores | sed 's/.*\-//'`
 
-if [[ "$maxCores" -gt "255" ]]; then
-   cores="0-255"
+if [[ "$maxCores" -gt "15" ]]; then
+   cores="0-15"
 fi
 processors=$(lscpu | grep "Socket(s)" | awk '{print $2}')
 


Mime
View raw message