Introduction Components |
Multisearch LogThese are the log files from 2 - 6 June 2008. For additional log files, please return to the main log page. Friday, 6 June Snowy still doesn't think I have a home directory. So, I started working on the code for selecting the servers provided by Chris's lists. Snowy came back up around 4pm, and I have the basic code for the dynamic and static hosts figured out. Thursday, 5 June Unfortunately, now Pileus is taking a long time to respond and load. I'm not sure if this is a Tomcat problem or if it is something else... Maybe 333 backends was too much for it? I can't really tell. It might also just be more than one instance of Tomcat is running. I'm looking up the commands for that now. ps aux | grep cat kill [#pid#] or kill -9 [#pid#] It turns out Pileus DID have two instances of Tomcat running, but getting it down to one didn't speed it up much. I've dropped a note to Greg about it. I tried to load some backends onto Nimbus, and, sure enough, it's full! So I went over to load them into Snowy. I was working and it froze up, and I got this error when I tried to log in later: Could not chdir to home directory /home/mccormic: No such file or directory I dropped Greg a note about this. Since it was 9pm and I had busted Pileus, filled Nimbus, and broken Snowy, I thought it might be time to head home... Wednesday, 4 June I'm a little worried about space. I'm not sure Pileus is happy with all the space I'm using on it. I'm hoping new Snowy – now that Java is installed – will be the major backend support because it is huge. Tuesday, 3 June Two versions of Lucene were being used in the servlet. Since Tomcat needs to put all jar files in $CATALINA_HOME/common/lib, and Axis (which is what OGSA-DAI is built off of) needs jar files in $CATALINA_HOME/webapps/axis/WEB-INF/lib, the two versions of Lucene did not agree. All jars in $CATALINA_HOME/common/lib are also in the CLASSPATH, so the new code changes to ARSCLuceneSearchActivity.java would compile properly. However, the backends are Axis services and use the code provided in $CATALINA_HOME/webapps/axis/WEB-INF/lib, so the .jar file had to be dropped in both places. Two versions of ARSC's code also existed in the servlet. There are two jar files provided by Multisearch – ARSC.jar (renamed LuceneAccessor.jar) and LuceneService.jar. Again, both of these are in two places Tomcat: $CATALINA_HOME/common/lib The CLASSPATH points to Tomcat, but the actual services use Axis. After compiling and recompiling the code, I realized that the older .jar files were being used by Axis (which showed up in the log files). To check for multiple jar entires, the find command was very helpful. find . - name “*lucene*jar” Jarring files needs to be in the correct subdirectory. If its part of a package, the subdirectories need to be involved. jar cvf Name.jar -C foo/ . This command does not include “foo” in the jar, making it hard to find the package when called. Lucene's Field is deprecated, and “contents” not “content”. The symantics of Lucene 2.2.0 were had to find because there is a newer form of Lucene, but having “content” instead of “contents” is a major issue that will not return results. Front-end and Backend both had to match. When I checked the log files initially, the changes to Pileus were not showing up. This is because I hadn't updated Nimbus (the front-end). I'm not sure how much impact this had, but it helped the log files. You cannot send value=”” over the wire in XML. There is a variable index=”” in the XML for searching with Lucene, since it requires an index. The new indices don't have the extra path (and it would be a waste of time to add it), so I wanted to send a blank index over. The XML doesn't let you do this—it will set the index to null or pull a space out of the node. Solution: index=”DEFAULT” added. When this is taken up on a backend, it sets the extra subdirectory for the index to “”, which has worked on the one I'm using. Monday, 2 June
I'm pursing all of these options, but it looks like I'll have to use Tintin (Old Snowy) or Pileus and just change the Lucene .jar files to see what happens. |
Arctic Region Supercomputing Center © Arctic Region Supercomputing Center 2006-2008. This page was last updated on 9 June 2008. |