Writing by shivdev 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” java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:1006)
at java.io.File.createTempFile(File.java:1989)
at org.apache.hadoop.util.RunJar.main(RunJar.java:119)
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
Category: Hadoop,Pig
Writing by shivdev on Friday, 19 of September , 2014 at 3:54 pm
While using VirtualBox running a Ubuntu Image, I found some helpful topics to:
Category: Linux
Writing by shivdev 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.
Category: Tips and Tricks