Posts

Showing posts from February, 2013

Unable To Connect Your Phone In VirtualBox Through USB Cable??

Recently I came to know about the Premium Suite For Samsung Galaxy Note . And being a proud owner of this great device it was quite obvious that I wanted to take the pleasure of this. So, I thought of upgrading my phone through Samsung Kies . But I have been working of Linux since last couple of years, so got kinda stuck as Kies doesn't come for Linux. So, I installed Oracle VirtualBox on my Ubuntu Box and installed Windows 8 in it. After that I quickly installed Kies in it. But, to my surprise I was not able to connect my phone. After some diagnosis I found the error message shown below : Failed to access the USB subsystem. VirtualBox is not currently allowed to access USB devices. You can change this by adding your user to the 'vboxusers' group. Please see the user manual for a more detailed explanation. And the detail message was : NS_ERROR_FAILURE (0x00004005) Component:  Host Interface:  IHost {dab4a2b8-c735-4f08-94fc-9bec84182e2f} Callee:  IMachine {5eaa

HOW TO BENCHMARK HBASE USING YCSB

YCSB   (Yahoo Cloud Serving Benchmark) is a popular tool for evaluating the performance of different key-value and cloud serving stores. You can use it to test the read/write performance of your Hbase cluster and trust me it's very effective. In this post i'll show you how to build and use YCSB for your particular version of Hbase. So, this is just about setting up and using YCSB and not about YCSB itself. For detailed info on YCSB you can go to the below specified links : 1-  Github-YCSB page :  https://github.com/brianfrankcooper/YCSB 2-  The paper from ACM Symposium on Cloud Computing, "Benchmarking Cloud Serving Systems with YCSB" :  http://research.yahoo.com/files/ycsb.pdf So, let us get started... Step1-  Clone the YCSB git repository : apache@hadoop:~$ git clone http://github.com/brianfrankcooper/YCSB.git This will create a directory caleed YCSB inside your current directory. (It might take some time depending on your internet connection speed. So

How to install Java 6 on Ubuntu

In one of the previous post of mine I have shown you how to install Sun(Oracle) Java on Ubuntu through its repository. This will, by default, install Java-7 on your machine as Ubuntu 12.04(and onwards) have Java-7 in their repository. But, sometimes you may come across a situation wherein you need some specific version of Java. For example, it is advisable to use Java-6 while trying to configure or use Apache Hadoop . In such a scenario you need to download the appropriate version of Java and install it manually. It is again a straightforward process. Just follow the steps below : Note : Java-6 has been taken here, as an example, on a machine running Ubuntu 12.10 Step 1 : Download the required version of Java from the official download page . It will download   jdk-6u38-linux-x64.bin inside your Downloads directory. Step 2 : Go to the directory where jdk was downloaded(Download here) and make it an executable file using this command : apache@hadoop:~/Downloads$ sudo chmod +x j