Check nvidia driver version ubuntu

Check nvidia driver version ubuntu

jagat@nanak-P570WM:~$ grep -i "x driver" /var/log/Xorg.0.log
[    23.014] (II) NVIDIA dlloader X Driver  331.38  Wed Jan  8 18:51:00 PST 2014


dpkg -l | grep nvidia

Packer vs Vagrant

Difference between Packer and Vagrant.

 Packer uses provisioners to set up a base image, while Vagrant uses provisioners to set up a dev environment on top of such an base image. For example, in a company, there are two different dev teams working on two different applications, and they are required to make their apps running in the same technology stack (let's say, Java7 + Tomcat7 + CentOS6). In this case, the company may ship a base image containing Java7+Tomcat7+CentOS6 using Packer, and the two dev teams can do some further customization using Vagrant provisioning capability for each dev environment.

Very simple and to the point
Answer by from

More detailed answer from maker of Packer and Vagrant.!msg/packer-tool/4lB4OqhILF8/NPoMYeew0sEJ

SASL authentication failed; cannot authenticate to server: no mechanism available)

Jan  7 15:51:06 C348020090B: to=<>, relay=DELETED delay=366, delays=365/0.02/0/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server DELETED: no mechanism available)


sudo yum install cyrus-sasl cyrus-sasl-md5 cyrus-sasl-plain cyrus-sasl-lib

fatal: open database /etc/postfix/saslpasswd.db: No such file or directory

fatal: open database /etc/postfix/saslpasswd.db: No such file or directory


Run the following command on place where you have your saskpassw file

postmap /etc/postfix/saslpassw

postmap creates the db for the saslpassw file

org.apache.hadoop.hbase.regionserver.LeaseException lease does not exists

It can be prevented by having 

hbase.rpc.timeout >

org.apache.hadoop.hbase.regionserver.LeaseException: org.apache.hadoop.hbase.regionserver.LeaseException: lease '-8899230701586772940' does not exist

Teradata meets Hadoop SQL-H

Teradata and Hadoop have been talking via Sqoop since long. In which Sqoop was used to import export data in and out of Hadoop and Teradata.

Teradata has new tool called SQL-H

SQL Hadoop which allows to connect directly to Hadoop from Teradata and perform operations.

The two links below explain all about them.

But before going to main link I will suggest you to have a quick read at Teradata architecture. ( only 2 mins read)

What is the function of

PE – Parsing Engine , parses the query entered by user
AMP –Do actiual disk operations
BYNET – Handles communication between AMP and PE

Now comes one additional component EAH
EAH is the External Access Handler , which talks to HCatalog on Hadoop side to get information related to table

You can run queries like

, CAST(Model AS VARCHAR(20))
USERNAME ('hive')
) as DT;

Where server is details about hadoop cluster
And we are saying in Teradata , use Hcatalog and talk to Hadoop execute this query bring back the results.

There is very good presentation which explains more

More reading at

Thanks for reading

Get direct link of google result

At times you want direct link of Google search results.

Google now try to add redirect information for lots of tracking it does behind the scene. I cliicked this , i went here and etc.

If you want direct link for copy paste purpose then you might want to try this addon

Install it

Then you can just copy the link via , Right click > Copy Link location

sbt proxy settings

Follow the following to configure sbt use behind the proxy

On Windows

Add the new environment variable with following settings

Variable name

-Dhttp.proxyHost=yourserver -Dhttp.proxyPort=8080 -Dhttp.proxyUser=username -Dhttp.proxyPassword=password
On Linux
export JAVA_OPTS="$JAVA_OPTS -Dhttp.proxyHost=yourserver -Dhttp.proxyPort=8080 -Dhttp.proxyUser=username -Dhttp.proxyPassword=password" 
Start new command propt and use sbt 

Gold coin donation meaning

This post is non tech.

Please skip if you understand only 0 and 1 s.

Holiday season is here in Australia now with most of people already on 2 weeks or more for holidays.

I was looking for some volunteering event where i can participate this Christmas.

With Christmas lots of charity events are being organized , and at Town Hall station i noticed one thing.

Christmas gift packing for "Gold coin donation"

I noticed the same term being used again and again in various events.

At this lunch for charity event , gold coin donation.

At this Sikh to Give event Gold coin donation for stationary.

This struck me , what ? Gold coin , okay in my life personally i have never used gold in anyway nor i have seen gold coins.

This all made me wonder do these people really think everyone roam around with Gold coins in pocket and..... my hand went down to my pocket bringing few coins left after purchasing my ticket.

With my eyes staring at those coins i saw one glittering gem ....The Gold coin :) sitting in my hand and it was my aha moment.

They say coins of dollar 1 and 2 because of color :)  i walked away to that charity slipping all coins into the box... the lady asked if i wanted to get something packed....i just smiled and walked away to catch my train.

This made me think while on return journey back towards Glenwood pind......

Lots of things in life we already have we just need to think from different angle :)

Happy Holidays , Happy New Year

Solr basic terminology example


I was confused a bit when i read first time about solr terminology.

Thought to write this analogy

Database Terms Solr Terms
Table Core or Collection
Row Document
Partition key Unique Key
Column Field
Node Node
Partition Shard
Keyspace N/A