Comment 1 for bug 1391918

Revision history for this message
Arvind Narain (arvind-narain) wrote :

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}