All the question that scared me now i am trying to scare them .. so that they cant scare others :)
Sunday, June 24, 2012
Convert PHP code to c++ code
Wednesday, June 20, 2012
CloudFront: HOW TO CONFIGURE HABSE IN PSEUDO DISTRIBUTED MODE ...
Tuesday, June 19, 2012
E:Encountered a section with no Package: header,,E:Problem with MergeList /var/lib/apt/lists /us.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.
E:Encountered a section with no Package: header,,E:Problem with MergeList /var/lib/apt/lists /us.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages,
E:The package lists or status file could not be parsed or opened.
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
CloudFront: HOW TO MOVE DATA INTO AN HBASE TABLE USING FLUME-N...
Monday, June 18, 2012
Want to experiment with android tablet
Install android apps from google play using pc.
Just login to chrome with your google id and login with same id inyour tablet or android phone, and go to google play using your pc' as it will be easy for you to install apps using a pc, saerch applications and install so whenever your android tablet or phone will be connected to internet your choosen apps will automatically be downloaded and synchronised to your android device.
You just need to login with same google account in your pc as well as your android device.
Friday, June 15, 2012
CloudFront: Tips for Hadoop newbies (Part I).
CloudFront: How to install maven3 on ubuntu 11.10
CloudFront: Error while executing MapReduce WordCount program ...
CloudFront: HOW TO CHANGE THE DEFAULT KEY-VALUE SEPARATOR OF A...
CloudFront: HOW TO MOVE DATA INTO AN HBASE TABLE USING FLUME-N...
Thursday, June 14, 2012
CodePool: How to print A to Z in Java easily
CloudFront: Error while executing MapReduce WordCount program ...
CloudFront: Tips for Hadoop newbies (Part I).
Wednesday, June 13, 2012
Print a triangle using shell script
Print numbers in order :
#!/bin/bash
for i in $(seq 0 4)
do
for j in $(seq $i -1 0)
do
echo -n $j
done
echo
done
Will give you output as :
Tuesday, June 12, 2012
Java Forecast 4u: Why the methods of interfaces are public and abstr...
Java Forecast 4u: What is Lazy Loading ?
Java Forecast 4u: Input/Outpur( I/O) Stream
Java Forecast 4u: what is Configuration class in Hibernate?
java.util.concurrent.RejectedExecutionException
Configure eclipse for map reduce and writing sample word count program
http://www.youtube.com/watch?v=TavehEdfNDk
This will show how to configure eclipse for running Hadoop mapreduce program. configuration and a sample word count program which you can get from
http://wiki.apache.org/hadoop/WordCount
Download eclipse jar from here :
https://dl.dropbox.com/u/19454506/hadoop-eclipse-plugin-0.20.203.0.jar
this jar will work for newer version of hadoop too. copy this jar file to eclipse plugin directory and follow the video.
If above video is not playing please visit :http://www.youtube.com/watch?v=TavehEdfNDk
HBase components and Know what......
Monday, June 11, 2012
Thursday, June 7, 2012
Deep Copy and Shallow Copy in OOPS
This does a bit-wise copy of an object. So when is new object is created it will have exact copy of the object, this is where problem comes, suppose the object which is to be cloned has some variable as reference or a reference variable pointing to some other data or object, then in the new object clone will contain the reference to the old object data only,
***Soon i will add image to clarify this concept ***
Deep Copy:
It will be like duplicate of the object, in this copy the new object or variable of referenced data will be created.
***Soon i will add image to clarify this concept ***
Compile a .cs file which is located in different folder of the disk from another .cs program
ProcessStartInfo info = new ProcessStartInfo(@"C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe");
info.Arguments = @" /out:C:\ss\Class1.dll C:\ss\Class1.cs";
info.UseShellExecute = false;
Process.Start(info);
Wednesday, June 6, 2012
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask, java.io.IOException: Exception reading file:/
Error initializing attempt_201206070234_0004_m_000002_0:java.io.IOException: Exception reading file:/../Hadoop/hdfs/tmp/mapred/local/ttprivate/taskTracker/shashwat/jobcache/job_201206070234_0004/jobTokenat org.apache.hadoop.security.Credentials.readTokenStorageFile(Credentials.java:135)t org.apache.hadoop.mapred.TaskTracker.initializeJob(TaskTracker.java:1154) at orgat org.apache.hadoop.mapreduce.security.TokenCache.loadTokens(TokenCache.java:165)
Tuesday, June 5, 2012
FAILED: Error in metadata: javax.jdo.JDOFatalInternalException: Unexpected exception caught. NestedThrowables: java.lang.reflect.InvocationTargetException FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hive/common/LogUtils$LogInitializationException,
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hive/ql/CommandNeedRetryException
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hive/common/LogUtils$LogInitializationException
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.ql.CommandNeedRetryException
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.common.LogUtils$LogInitializationException
Solution :
Featured Posts
Installing And Exploring Auto Dark Mode Software
Windows Auto--Night--Mode: Simplify Your Theme Switching Windows Auto--Night--Mode is a free and lightweight tool that makes switching bet...
-
Print numbers in order : #!/bin/bash for i in $(seq 0 4) do for j in $(seq $i -1 0) do echo -n $j done echo done Will gi...
-
Either install Open JDK or do following Create an alias for JPS using following: alias jps='/usr/lib/jvm/jdk1.6.0_33/bin/jps...