mon log reporting filenotfound for /logs/hdfs.java.log
Bug #1391918 reported by
Guy Groulx
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
Fix Released
|
Medium
|
Matt Brown |
Bug Description
Just noticed on our system that $MY_SQROOT/
11/12/2014-
java.io.
I believe the problem is in the $MY_SQROOT/
log4j.appender.
Changed in trafodion: | |
assignee: | nobody → Selvaganesan Govindarajan (selva-ganesan) |
Changed in trafodion: | |
milestone: | none → r1.0 |
Changed in trafodion: | |
assignee: | Selvaganesan Govindarajan (selva-ganesan) → Anuradha (anuradha-hegde) |
Changed in trafodion: | |
status: | New → In Progress |
assignee: | Anuradha (anuradha-hegde) → Matt Brown (mattbrown-2) |
Changed in trafodion: | |
milestone: | r1.0 → r1.1 |
status: | In Progress → Fix Committed |
Changed in trafodion: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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}