Showing posts with label java. Show all posts
Showing posts with label java. Show all posts

Saturday, July 18, 2009

On-Demand Webinar: Scaling Hadoop for MapReduce Applications

Google's map reduce mechanism has had a considerable effect on computing.

https://dct.sun.com/dct/forms/reg_us_2005_941_0.jsp?

Hadoop, an framework in java for carrying out distributed processing is gaining importance. The framework is specially designed for data intensive applications.
Hadoop is inspired by Google's Map Reduce

Organizations like Facebook, A9, Powerset, NYTimes use Hadoop for distributed computing.

Hadoop is created by Doug Cutting, . He also contributed to Nutch, an open-source search technology.

Friday, July 10, 2009

A smart tutorial by Smart on Lucene

Found this quick introduction to Lucene by Smart.

http://www.informit.com/articles/article.aspx?p=461633

He explains the three basic steps involved in using the lucene library.

1. Creating an Index

2. Indexing an Object

3. Full-Text Searching

Wednesday, July 8, 2009

Changing default Java in Ubuntu

Just perform these steps to change the default Java in Ubuntu. I have been using the absolute path all these days...... but now I need not do that anymore :)
1. Check the current version of Java using the command

java -version

This may result in some output of the form.
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode)

2. Check the available Java installed in your system.

update-java-alternatives -l

java-6-sun 63 /usr/lib/jvm/java-6-sun
java-gcj 1042 /usr/lib/jvm/java-gcj


3. Now select the Java version you want as default.

update-alternatives --config java
There are 4 alternatives which provide `java'.

Selection Alternative
-----------------------------------------------
1 /usr/bin/gij-4.2
+ 2 /usr/lib/jvm/java-gcj/jre/bin/java
* 3 /usr/lib/jvm/java-6-sun/jre/bin/java
4 /usr/bin/gij-4.1

4. Enter you Java selection number.

Thats it! You are done.........
Now check the new default java using

java -version