1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-10-31 18:30:33 +03:00

nonglobaled procmgr dbstorage and fix package install, missing bracket

This commit is contained in:
david hill
2017-09-12 15:28:20 -05:00
parent f6f15028a8
commit beb126d8bf
3 changed files with 29 additions and 6 deletions

View File

@@ -58,7 +58,6 @@ bool HDFS = false;
string localHostName;
string PMwithUM = "n";
string MySQLRep = "n";
string DBRootStorageType = "internal";
// pushing the ACTIVE_ALARMS_FILE to all nodes every 10 seconds.
const int ACTIVE_ALARMS_PUSHING_INTERVAL = 10;
@@ -170,7 +169,7 @@ int main(int argc, char **argv)
if ( DBRootStorageType == "hdfs" )
HDFS = true;
log.writeLog(__LINE__, "DBRootStorageType = " + DBRootStorageType, LOG_TYPE_DEBUG);
log.writeLog(__LINE__, "Main: DBRootStorageType = " + DBRootStorageType, LOG_TYPE_DEBUG);
//PMwithUM config
try {
@@ -1016,6 +1015,15 @@ void pingDeviceThread()
extDeviceInfoList.insert(extDeviceList::value_type(name, 0));
}
//storage config
string DBRootStorageType;
try {
oam.getSystemConfig( "DBRootStorageType", DBRootStorageType);
}
catch(...) {}
log.writeLog(__LINE__, "pingDeviceThread: DBRootStorageType = " + DBRootStorageType, LOG_TYPE_DEBUG);
int rtnCode = 0;
Configuration configData;
SystemStatus systemstatus;