Author: akbarsahmed

Effective Meetings

Leave a comment
Uncategorized

Effective meetings are an important element in running a high-performance organization. Meetings provide a high-fidelity and efficient means to quickly communicate, collaborate, and coordinate. However, too often meeting lack the structure to necessary to drive the desired outcomes. Meeting Invite The following provides a high-level outline of the primary sections to include in meeting invites. Agenda [required]: Have an agenda for the meeting that defines what topic(s) are to be discussed. Briefing Document [optional]: 1 […]

What you need to know about the new web architecture.

Leave a comment
Web Development

This article is a bit dated given that it was written in 2014. The traditional 3-tier architecture is dead, or at least its dying quickly. In a traditional 3-tier web architecture the tiers were defined as: Client: HTML, CSS and JavaScript Server: A server-side framework in Java, Python, Ruby, PHP, Node.js/JavaScript, etc. Database: A relational database including stored procedures inside the database Each tier had a specific job to do: – Client: render the UI […]

How to create webm videos on Windows (convert mp4 to webm)

Leave a comment
Uncategorized

Overview WebM is a free and open video format designed for HTML5. WebM is an open source project sponsored by Google. You can learn more at the WebM website. Install Miro Video Converter Open http://www.mirovideoconverter.com. Click Download. When the download is finished double-click MiroVideoConverter_Setup.msi. Click Next. Select Custom Installation. Uncheck Install the AVG toolbar and set AVG Secure Search as my default search provider. Uncheck Set AVG Secure Search as my homepage and newly opened […]

Debug a Play Framework 2.0 application with Eclipse

comment 1
Play Framework

Introduction Debugging a Play Framework 2.0 application with Eclipse is exceptionally easy to setup. Importantly, using the debugger is integral to developing high quality, complex applications as it provides an easy way to step into your code. YouTube Version I have created a YouTube video that shows the steps below. You can watch the YouTube video at: How to attach the Eclipse debugger to a Play Framework 2.0 application (YouTube) Note: Change the playback quality […]

Revert an uncommitted file in Git

comment 1
Uncategorized

I’m a relatively recent convert from Subversion to Git, so getting to know the git equivalent of an svn command is challenging. Reverting a file in git actually uses the checkout command. For example, if you want to revert your uncommitted changes for a file named package/File.java, then you would use the following command: git checkout package/File.java

Hadoop Distributions

Leave a comment
Hadoop

The following is a repost of my answer to a question on LinkedIn, but I thought it may prove useful to people evaluating Hadoop distributions. The following is a substantially over simplified set of choices (in alphabetical order): Amazon: Apache Hadoop provided as a web service. Good solution if your data is collected on Amazon…saves you the trouble of uploading gigs and gigs of data. Apache: Apache Hadoop is the core code based upon which […]

Understing the Hadoop High Availability (HA) Options

Leave a comment
Hadoop

Once you start to use Hadoop in your day-to-day business operations, you’ll quickly find that uptime is an important consideration. No one wants to explain to the CEO why a report is not delivered. While most of Hadoop’s architecture is designed to work in the face of node failure (such as the DataNodes), other components such as the NameNode must be configured with an HA option. The following is a quick and dirty list of […]

Convert CDH4 from YARN (MRv2) to MRv1

comments 2
Uncategorized

Introduction I had configured only YARN in my original post on how to Install Cloudera Hadoop (CDH4) with YARN (MRv2) in Pseudo mode on Ubuntu 12.04 LTS. Importantly, YARN is not ready for production yet, so we’ll go ahead and install MRv1 to get some production development done. Stop the YARN Daemons We first have to stop all daemons associated with YARN only packages. sudo service hadoop-yarn-resourcemanager stop sudo service hadoop-yarn-nodemanager stop sudo service hadoop-mapreduce-historyserver […]

HBase Command Line Tutorial

comments 8
Hadoop / HBase

Introduction Start the HBase Shell All subsequent commands in this post assume that you are in the HBase shell, which is started via the command listed below. hbase shell You should see output similar to: 12/08/12 12:30:52 WARN conf.Configuration: hadoop.native.lib is deprecated. Instead, use io.native.lib.available HBase Shell; enter 'help<RETURN>' for list of supported commands. Type "exit<RETURN>" to leave the HBase Shell Version 0.92.1-cdh4.0.1, rUnknown, Thu Jun 28 18:13:01 PDT 2012 Create a Table We will […]

Debugging HBase: org.apache.hadoop.hbase.master.AssignmentManager: Unable to find a viable location to assign region -ROOT

comments 2
Hadoop

Introduction I ran into an annoying error in HBase due to the localhost loopback. The solution was simple, but took some trial and error. Error I was following the HBase logs with the following command: tail -1000f /var/log/hbase/hbase-hbase-master-freshstart.log The following error kept poping up in the log file. org.apache.hadoop.hbase.master.AssignmentManager: Unable to find a viable location to assign region -ROOT Solution sudo vi /etc/hosts I changed: 127.0.0.1       localhost 127.0.1.1       freshstart to: #127.0.0.1      localhost #127.0.1.1      freshstart 192.168.2.15   freshstart 127.0.0.1      localhost 192.168.2.15 is my […]