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 <ama...@apache.com>
Authored: Wed Sep 14 18:10:30 2016 +0000
Committer: Amanda Moran <ama...@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}')
 

Reply via email to