Saturday, December 14, 2013

Solved!: Someone liked my facebook page but I can't see him/her in the "likes" list

Problem: Someone liked my facebook page but I can't see him/her in the "likes" list. What is happening?

This happened to me many times and I went crazy. I even thought a friend was lying to me when she kept saying she "liked" my page, but I couldn't see her on the list when I clicked "See all likes".
She : "I unliked and liked again. Check now."
Me (after checking the likes list and not finding her there) : "Nice try! :/ I'm not forcing you to. If you dont like my page, dont "like" it. Simple. "
Then she sent me a screenshot that clearly showed that she had indeed liked my fb page.

If you are facing the same problem, here is what's happening. If the person who liked your page has not made his/her page likes public in their privacy settings, you won't be able to see him/her on your page "likes" list. i.e, If they have set their privacy level high for their page likes visibility, they will not show up on your list of people who have liked your facebook page.

This is rather stupid because, people might misunderstand each other, business page admins cannot send discounts to all their page followers, people can easily join a page and secretly monitor the activities without being noticed, etc etc.

What's your take on this problem? Leave a comment below.
Oh, and if my post helped you, please like my page ;)
www.facebook.com/aswinmusic
I'm a singer/song-writer and you can listen to/download/share my songs for free by liking my page. Thanks :)

Friday, December 13, 2013

Hadoop Error - WordCount : Unsupported major.minor version 51.0

Check out the error below. If you are getting a similar error while running a Java jar file on hadoop sandbox, the probable cause is that you compiled your code with a version of Java that's newer than the one running in the hadoop machine. So, recompile your code with a compatible jdk version and try again.

Comment below if this fixed your problem. Also let me know if it didn't or if you found a different solution. Thanks.

Failing Oozie Launcher, Main class [WordCount], exception invoking main(), WordCount : Unsupported major.minor version 51.0
java.lang.UnsupportedClassVersionError: WordCount : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.apache.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:1659)
at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:1624)
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:1718)
at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:224)
at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:429)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:162)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1491)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:157)

Oozie Launcher failed, finishing Hadoop job gracefully