Permission denied error for logged in user for Apache Pig

Writing by on Thursday, 25 of September , 2014 at 2:37 pm

When I was starting pig using pig -x local, I was getting the following error.

Exception in thread “main” Permission denied
at Method)
at org.apache.hadoop.util.RunJar.main(

Luckily after some searching stackoverflow had the the solution which was that ${hadoop.tmp.dir} didn’t have permissions.

I was trying to run pig as a different user, than the hadoop user.

sudo chown -R user:group /app/hadoop/tmp

Leave a comment

Category: Hadoop,Pig

Virtual Box Running Ubuntu

Writing by on Friday, 19 of September , 2014 at 3:54 pm

While using VirtualBox running a Ubuntu Image, I found some helpful topics to:

Leave a comment

Category: Linux

Emulate Middle Mouse Button on Windows 7 with Synaptics Touchpad Drivers

Writing by on Saturday, 13 of September , 2014 at 6:30 pm

Even after installing multiple version of the Synaptics Touchpad Drivers I wasn’t able to emulate the Middle Mouse Button by pressing Left/Right Buttons on my HP Laptop’s Touchpad and finally after some searching on the web I found a solution from sinairv. Note: You will have to mess with “regedit”.

# Open up regedit for changes to Windows Registry
Step 1: Start –> Run –> regedit

# Look for where you need to make the changes
Step 2: Edit –> Find –> 2FingerTapAction

# For me the path was
# HKEY_CURRENT_USER\Software\Synaptics\SynTP\TouchpadPS2_2
Step 3: Notice that there are several Mouse actions

# Create a new entry to add
Step 4: Right Click –> New –> DWORD

# New value HasBothButtonFeature = 1
Step 5: Enter HasBothButtonFeature with value 1

# Let changes take effect
Step 6: Log off and Log in

# Test emulation of middle click
Step 7: Open a browser and a new tab and press both buttons to close the tab

That should make your browsing experience a bit faster now.

Leave a comment

Category: Tips and Tricks

Shivdev Kalambi's Blog

Shivdev Kalambi is a Software Development Manager, previously a Principal Software Engineer at ArcSight/HP. With over 16 years' experience in software development, he's worked on several technologies and played different roles and contributed to all phases of projects. Non-tech activies include Ping-pong, Rock Climbing and Yoga at PG, Golf, Skiing, Swimming & a beer enthusiast.