You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by db...@apache.org on 2015/12/04 18:20:16 UTC
[1/2] incubator-trafodion git commit: [[ TRAFODION 1184 ]] Checking
for Cloudera Role Groups
Repository: incubator-trafodion
Updated Branches:
refs/heads/master 2f53adfc8 -> 8c9faab90
[[ TRAFODION 1184 ]] Checking for Cloudera Role Groups
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/acad1512
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/acad1512
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/acad1512
Branch: refs/heads/master
Commit: acad1512af1f8ea7cafb704038dda6efda71bcc8
Parents: ebe876d
Author: Amanda Moran <am...@apache.com>
Authored: Thu Dec 3 19:50:37 2015 +0000
Committer: Amanda Moran <am...@apache.com>
Committed: Thu Dec 3 19:50:37 2015 +0000
----------------------------------------------------------------------
install/installer/traf_config_check | 14 ++++++++++++++
1 file changed, 14 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/acad1512/install/installer/traf_config_check
----------------------------------------------------------------------
diff --git a/install/installer/traf_config_check b/install/installer/traf_config_check
index c267fb8..5b9eb49 100755
--- a/install/installer/traf_config_check
+++ b/install/installer/traf_config_check
@@ -462,12 +462,26 @@ do
if [[ $HADOOP_TYPE == "cloudera" ]]; then
checkClouderaVersion
+ checkRoleGroups
fi
break;
fi
done
}
+function checkRoleGroups {
+
+ regionGroup1=$(curl -su $ADMIN:$PASSWORD http://$URL/api/v10/clusters/$CLUSTER_NAME/services/hbase/roleConfigGroups | grep displayName | grep "RegionServer Group 1" | wc -l)
+
+ if [[ $regionGroup1 -ge "1" ]]; then
+ errorFound=1
+ echo "Cloudera HBase Role Groups" >> $ERROR_LOG
+ echo "***ERROR: Cloudera has more than the default Region Group." >> $ERROR_LOG
+ echo "***ERROR: This must be fixed for install to continue" >> $ERROR_LOG
+ fi
+
+}
+
function checkClouderaVersion {
if [[ $CDH_5_3_HDP_2_2_SUPPORT == "N" ]]; then
[2/2] incubator-trafodion git commit: Merge [TRAFODION-1184] PR 206
Add check for Cloudera HBase role groups
Posted by db...@apache.org.
Merge [TRAFODION-1184] PR 206 Add check for Cloudera HBase role groups
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/8c9faab9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/8c9faab9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/8c9faab9
Branch: refs/heads/master
Commit: 8c9faab900361edada37ba642ee9ea3eef599ebf
Parents: 2f53adf acad151
Author: Dave Birdsall <db...@apache.org>
Authored: Fri Dec 4 17:19:38 2015 +0000
Committer: Dave Birdsall <db...@apache.org>
Committed: Fri Dec 4 17:19:38 2015 +0000
----------------------------------------------------------------------
install/installer/traf_config_check | 14 ++++++++++++++
1 file changed, 14 insertions(+)
----------------------------------------------------------------------