Category Archives: Software

How to choose spark settings?

Spark comes with a plethora of settings. Good luck trying to make sense of them and setting their values. There is ton of documentation but not one good page describing in step by step form how to choose the values … Continue reading

Posted in Software | Leave a comment

10 reasons why outages occur

Most often outages happen because of config changes in dependencies used by your application. To give an example, lets say you are running hadoop jobs on a cluster and relying on HADOOP_USER_NAME to set the privileges under which your job … Continue reading

Posted in Software | Leave a comment

Making GQL queries in new appengine dashboard

select the icon at the left then select datastore from the dropdown you should now be able to run GQL queries like before

Posted in Software | Leave a comment

Failed to load class org.slf4j.impl.StaticLoggerBinder

Ran into this issue today while trying to run a program from IntelliJ and using SLF4J for logging. pom.xml looked like below: I was not creating any fat jar. The problem was that IntelliJ was not able to import the … Continue reading

Posted in Software | Leave a comment

IntelliJ IDEA: Cannot resolve symbol

Step 1. Check that your Settings (accessed from File -> Settings) match following screenshots or equivalent: Step 2: Close IntelliJ Step 3: Delete all .idea directory and .iml files in your repo: rm $(find . -name *.iml) rm -r $(find … Continue reading

Posted in Software | Leave a comment

Eddy Cue And Craig Federighi Open Up About Learning From Apple’s Failures

http://www.fastcompany.com/3062596/tim-cooks-apple/eddie-cue-and-craig-federighi-open-up-about-learning-from-apples-failures We had long discussions at the ET [executive team] level about the importance of Maps, where we thought Maps was going in the future, and could we treat it as a third-party app? I mean, we don’t do every … Continue reading

Posted in Software | Leave a comment

Typical example of Java documentation page

https://dropwizard.github.io/dropwizard/0.7.1/docs/manual/example.html it goes on to describe the dropwizard-example module but on the whole page there is no link from where one can actually download the module

Posted in Software | Leave a comment

HotSpot Dynamic Attach Mechanism

http://openjdk.java.net/groups/hotspot/docs/Serviceability.html#battach HotSpot Dynamic Attach Mechanism This is a Sun extension that allows a tool to ‘attach’ to another process running Java code and launch a JVM TI agent or a java.lang.instrument agent in that process. This also allows the system … Continue reading

Posted in Software | Leave a comment

Jmap

<pre> </pre>

Posted in Software | Leave a comment

Debugging java out of memory exception

Read http://stackoverflow.com/a/35963059/147530 to understand the nuances esp. if you are getting this error: Real world example: Needed to debug a service that would cause an OOM exception after running for a while. Wrote following script to periodically make requests to the … Continue reading

Posted in programming, Software | Tagged , | Leave a comment