Adding comment from Matt Brown about a fix tried by him in a side branch:
To work around it I made fix to HBaseClient.java to mimic that of DTM HBaseTxnClient.java. Change looks like this
void setupLog4j() { //String confFile = System.getenv("MY_SQROOT") // + "/conf/log4j.hdfs.config"; System.setProperty("trafodion.hdfs.log", System.getenv("MY_SQROOT") + "/logs/trafodion.hdfs.log"); String confFile = System.getenv("MY_SQROOT") + "/conf/log4j.hdfs.config"; PropertyConfigurator.configure(confFile); }
And, similar to DTM’s conf/log4j.dtm.config I changed the conf/log4j.hdfs.config file as follows:
log4j.appender.hbaseclient.file=${trafodion.hdfs.log}
Adding comment from Matt Brown about a fix tried by him in a side branch:
To work around it I made fix to HBaseClient.java to mimic that of DTM HBaseTxnClient. java. Change looks like this
void setupLog4j() { getenv( "MY_SQROOT" ) log4j.hdfs. config" ;
System. setProperty( "trafodion. hdfs.log" , System. getenv( "MY_SQROOT" ) + "/logs/ trafodion. hdfs.log" ); getenv( "MY_SQROOT" ) log4j.hdfs. config" ;
PropertyConfig urator. configure( confFile) ;
//String confFile = System.
// + "/conf/
String confFile = System.
+ "/conf/
}
And, similar to DTM’s conf/log4j. dtm.config I changed the conf/log4j. hdfs.config file as follows:
log4j.appender. hbaseclient. file=${ trafodion. hdfs.log}