The column PM_HIVE_PARAMS.domain_id is not the same as the column PM_HIVE_DATA.domain_id ...
It should be PM_HIVE_PARAMS.domain_name, so that it links to PM_HIVE_DATA.domain_name.
This bug creates a problem when using global parameters in the class ServiceHandler.java, where domainId is referenced to the DomainName.
(Or another solution is to change the reference of domainId to the real domain_id instead of the domain_name...)
{code}
public String execute() throws I2B2Exception{
...
while (it.hasNext()) {
...
domainId = cType.getDomainName();
}
...
try {
...
//Get any remaining params from the environment
for( it=pmDb.getEnvironmentData(domainId).iterator();it.hasNext();){
HiveParamData hivedata =(HiveParamData)it.next();
params.put(hivedata.getName(), hivedata.getValue());
}
...
}
...
}
Imported from Jira
- Key: CORE-369
- ID: 10002
- Type: Bug
- Priority: Minor
- Status: New
- Reporter: Former user
- Assignee (Jira): Mike Mendis
- Created: 11/8/2012 0:27
- Updated: 3/16/2020 14:20
- Project: CORE—i2b2 Core Software
- Fix versions: TBD
The column PM_HIVE_PARAMS.domain_id is not the same as the column PM_HIVE_DATA.domain_id ...
It should be PM_HIVE_PARAMS.domain_name, so that it links to PM_HIVE_DATA.domain_name.
This bug creates a problem when using global parameters in the class ServiceHandler.java, where domainId is referenced to the DomainName.
(Or another solution is to change the reference of domainId to the real domain_id instead of the domain_name...)
{code}
public String execute() throws I2B2Exception{
...
while (it.hasNext()) {
...
domainId = cType.getDomainName();
}
...
try {
...
//Get any remaining params from the environment
for( it=pmDb.getEnvironmentData(domainId).iterator();it.hasNext();){
HiveParamData hivedata =(HiveParamData)it.next();
params.put(hivedata.getName(), hivedata.getValue());
}
...
}
...
}
Imported from Jira