Posts

Showing posts from March, 2013

Configure SSH using CYGWIN on Windows 7

Image
Steps: Make sure Open SSH and Open SSL packages installed in Cygwin.   Run, chmod  +r etc/passwd chmod u+x etc/passwd chmod +r etc/group chmod u+x etc/group chmod 755 /var touch /var/log/sshd.log chmod 664 /var/log/ssh.log then, Run $ ssh-host-config *** Query: Overwrite existing /etc/ssh_config file? (yes/no) yes *** Info: Creating default /etc/ssh_config file *** Query: Overwrite existing /etc/sshd_config file? (yes/no) yes *** Info: Creating default /etc/sshd_config file *** Info: Privilege separation is set to yes by default since OpenSSH 3.3. *** Info: However, this requires a non-privileged account called 'sshd'. *** Info: For more info on privilege separation read /usr/share/doc/openssh/READ ME.privsep. *** Query: Should privilege separation be used? (yes/no) no *** Info: Updating /etc/sshd_config file *** Query: Do you want to install sshd as a service? *** Query: (Say "no" if it is already installed as a service)

Steps to configure Hadoop in Eclipse

Pre-Conditions: Make sure Java installed and Java path is set correctly. Make sure hadoop is configured correctly. (Run jps it should show below result /usr/local/hadoop/bin$ jps 12106 11764 JobTracker 11988 TaskTracker 11217 NameNode 11674 SecondaryNameNode 12234 Jps 11438 DataNode ) Steps: 1. Install Eclipse Juno (Hadoop Support available from Eclipse 3.3 Versions onwards) 2. Go to Hadoop Home directory ( cd $HADOOP_HOME) 3. Run below command ant clean package ( It will compile src files in hadoop directory) 4.Navigate to $HADOOP_HOME/src/contrib/